You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few STM32 targets I still would like to add to this project. One of them is the STM32F410Cx series.
I do have a working variants file for them. However, I'm not able to compile for either of them (STM32F410C8 or STM32F410CB). Here's the error I'm getting:
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.8.0\libraries\SrcWrapper\src\stm32\low_power.c: In function 'LowPower_EnableWakeUpPin':
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.8.0\libraries\SrcWrapper\src\stm32\low_power.c:124:7: error: duplicate case value
124 | case SYS_WKUP3 :
| ^~~~
C:\Users\user\AppData\Local\Arduino15\packages\STM32\hardware\stm32\1.8.0\libraries\SrcWrapper\src\stm32\low_power.c:114:7: note: previously used here
114 | case SYS_WKUP2 :
| ^~~~
@MCUdude
This is due to missing SYS_WKUPx definition in the PinNamesVar.h.
This file is generated thanks CubeMx XML description file anyway sometimes some WKUP pins are missing which leads to this issue as the one not found exists and defined to NC.
In that case, you have to check in the MCU datasheet which one is missing and define it manually.
There are a few STM32 targets I still would like to add to this project. One of them is the STM32F410Cx series.
I do have a working variants file for them. However, I'm not able to compile for either of them (STM32F410C8 or STM32F410CB). Here's the error I'm getting:
This is the added boards.txt entry:
And attached you can find the variants file. once this is sorted out I can submit PR for this variant.
Generic_F410Cx.zip
The text was updated successfully, but these errors were encountered: