Skip to content
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

STM32 Arduino framework: board_build.core options are unclear #192

Open
lnlp opened this issue Apr 16, 2021 · 0 comments
Open

STM32 Arduino framework: board_build.core options are unclear #192

lnlp opened this issue Apr 16, 2021 · 0 comments

Comments

@lnlp
Copy link

lnlp commented Apr 16, 2021

See: https://docs.platformio.org/en/latest/platforms/ststm32.html#switching-between-arduino-cores

Switching between Arduino cores

There are three different Arduino cores for STM32 microcontrollers: STM32Duino, Arduino STM32 (maple) and STM32L0. All of them have been developed independently, therefore, have different functionality and set of internal libraries. By default, official STM32Duino core is used (except cases when a board supports only one specific core). Some of the boards support all three cores. To change the core you can use a board_build.core option that needs be added to build_flags:

An example of “platformio.ini” (Project Configuration File) with maple core

[env:hy_tinystm103tb]
platform = ststm32
framework = arduino
board = hy_tinystm103tb
board_build.core = maple

Only 'maple' is given as example.
What are the exact values (and correct casing) for the other two options?

The documentation should be more clear about this and show a table listing the different possible values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant