NUCLEO-F103RB - STM32Cube HAL example code not working


#1

Hi,
my example code of led blinking not working with platformio on VSCode and Atom, code is successful uploaded but my nucleo board do not anything. On System Workbench for STM32 all works fine. IDE is on default settings. I tried reinstall VSCode and platformio, but still not working. I have latest updated IDE and stm32 boards module.

Here is example code: https://pastebin.com/zemYPUZA
platformIO terminal logs: https://pastebin.com/MvtYiHzE


#2

Your HAL_Delay(100); will delay forever since you didn’t write the SysTick handler function which increases the tick count. See here


#3

Thanks you!
I forgot that platformIO don’t create automatically stm32f1xx_it.h and stm32f1xx_it.c just like System Workbench :smiley: