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

update STM32 platform #2

Open
avaldebe opened this issue Dec 22, 2020 · 0 comments
Open

update STM32 platform #2

avaldebe opened this issue Dec 22, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@avaldebe
Copy link
Owner

avaldebe commented Dec 22, 2020

I had not worked on this project for some time and now the STM32f103c8/b environments fail to compile.
This is related to the old platform option

[env:STM32f103c8]
; 64 KB flash, RTC: 32768 Hz crystal; display: UC1701 128x64 on SPI2; tact button PA0
platform = ststm32@<=4.5.0
debug_tool = stlink
board = bluepill_f103c8

This version of the platform refers to the Arduino STM32 core by Roger Clark.
Newer versions of the core refer to the STM32duino by ST.

If I remember correctly, I took that version to prevent this issue platformio/platform-ststm32#231.
From the comments, this issue might be avoided by setting board = genericSTM32F103C8.

Using the stm32duino core requires the stm32duino/STM32duino RTC library.

@avaldebe avaldebe self-assigned this Dec 22, 2020
@avaldebe avaldebe added bug Something isn't working enhancement New feature or request labels Dec 22, 2020
@avaldebe avaldebe changed the title STM32f103c8/b environments fail to compile update STM32 platform Dec 22, 2020
@avaldebe avaldebe removed the bug Something isn't working label Dec 22, 2020
avaldebe added a commit that referenced this issue Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant