Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added Olimexino-STM32F3 variant#1115

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

Stanimir-Petev
Copy link
Contributor

@Stanimir-PetevStanimir-Petev commentedJul 8, 2020
edited
Loading

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:

  1. I2C example is using MOD-BME280 (https://www.olimex.com/Products/Modules/Sensors/MOD-BME280)
  2. SPI example is using MOD-LCD3310 (https://www.olimex.com/Products/Modules/LCD/MOD-LCD3310/)
  3. MOD-LCD3310 + SD card example doesn't work with the default SPI library due to the single SPI object.

Added Olimexino-STM32F3 variant and boards.txt dscirption.
@fpistmfpistm added the new variantAdd support of new bard labelJul 8, 2020
@fpistm
Copy link
Member

Hi@Stanimir-Petev
thanks for this PR.
I know the OLIMEXINO STM32F103:
https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/open-source-hardware

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.
Removed a typo-like paste command.
@Stanimir-Petev
Copy link
ContributorAuthor

Stanimir-Petev commentedJul 8, 2020
edited
Loading

Hi@Stanimir-Petev
thanks for this PR.
I know the OLIMEXINO STM32F103:
https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/open-source-hardware

but I could not find any link on an OLIMEXINO F303, could you share some inputs?

Hi@fpistm !
Thanks for the fast reply and the tag you made!
I am an Olimex employee. At this stage Olimexino-STM32F3 is just a prototype yet to be released. Hope we get it out soon.

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.

@Stanimir-PetevStanimir-Petev marked this pull request as ready for reviewJuly 9, 2020 08:37
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
@fpistm
Copy link
Member

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
ABOSTM added a commit to ABOSTM/Arduino_Core_STM32 that referenced this pull requestMar 26, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
ABOSTM added a commit to ABOSTM/Arduino_Core_STM32 that referenced this pull requestMar 26, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
ABOSTM added a commit to ABOSTM/Arduino_Core_STM32 that referenced this pull requestMar 26, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
ABOSTM added a commit to ABOSTM/Arduino_Core_STM32 that referenced this pull requestMar 26, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestMar 28, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestMar 29, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
@fpistmfpistm added the abandonedNo more work on this labelMar 29, 2021
@fpistm
Copy link
Member

Hi@Stanimir-Petev
I've included your PR in#1091, it has been reformatted to the new variant definition way.
So I close this one as it is superseded by#1091.
Thanks again for your contribution.

3\. MOD-LCD3310 + SD card example doesn't work with the default SPI library due to the single SPI object.

About this, a first issue is thatSDCARD_SS_PIN should be defined toPD2 as it is the real CS for the SD card slot (Software chip select).PB12 is the hardware CS which is not the same. And yesSPI_2 is not instantiate by default. This would be achieve thanks#705 and the support ofSPI_INTERFACES_COUNT.
I've successfully tested the embedded SD card slot using the default SD Arduino library using card info example, to test it you can modify the sketch like this:

- const int chipSelect = 4;+ const int chipSelect = SDCARD_SS_PIN;
-+  SPI.setMISO(PB14);+  SPI.setMOSI(PB15);+  SPI.setSCLK(PB13);  Serial.print("\nInitializing SD card...");

@fpistmfpistm closed thisMar 29, 2021
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestMar 30, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestMar 30, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestMar 30, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 2, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 8, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 9, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 9, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 9, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 12, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 14, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 14, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 15, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 15, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
fpistm pushed a commit to fpistm/Arduino_Core_STM32 that referenced this pull requestApr 16, 2021
Supersedestm32duino#1115Signed-off-by: Stanimir Petev <stanimir.petev@gmail.com>Co-authored-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
abandonedNo more work on thisnew variantAdd support of new bard
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Stanimir-Petev@fpistm

[8]ページ先頭

©2009-2025 Movatter.jp