-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Olimexino-STM32F3 variant #1115
Conversation
Added Olimexino-STM32F3 variant and boards.txt dscirption.
Hi @Stanimir-Petev but I could not find any link on an OLIMEXINO F303, could you share some inputs? |
Fixed files to meet the AStyle checks of the stm32duino repository.
Hi @fpistm ! For now I am making only a draft of the PR to see if it will meet the checks requirements and soon I will edit the description. If needed I can post some pictures and/or pdf of the schematic. Also I can provide few examples for the different peripherals, although the one for SD card require a patch in the SPI library (which is probably a subject for another PR). All others work on the prototype I have. |
Name of the board is now in all capital letters to avoid problems on Linux due to case-sensitive
Removed the old variant folder. It will be added now with all capital letters.
All capital letters
Will be added later when #1091 will be done |
Renamed the macros GPIOx to EXT_GPIOx in order to prevent duplication of names (since GPIOx is too generic name) like in the library RDA5807 (https://github.com/pu2clr/RDA5807) where GPIO1, GPIO2, GPIO3 are defined in part of structure "refined", RDA6807.h lines 214-216
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Hi @Stanimir-Petev
About this, a first issue is that - const int chipSelect = 4;
+ const int chipSelect = SDCARD_SS_PIN; -
+ SPI.setMISO(PB14);
+ SPI.setMOSI(PB15);
+ SPI.setSCLK(PB13);
Serial.print("\nInitializing SD card..."); |
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Supersede stm32duino#1115 Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com> Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Summary
This PR adds support for the Olimex board Olimexino-STM32F3 including: GPIO, Analog input, Serial UART, I2C, SPI, CAN.
In order to make variant for this board (Olimexino-STM32F3) the variant for Generic STM32F3 (PILL_F303XX) series was taken as a base and then modified to match the hardware configuration.
Link to the board on our website
https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32F3/
PDF of the board schematic
OLIMEXINO-STM32F3_RevB.pdf
Peripheral examples
Olimexino-STM32F3_examples.zip
Notes: