Forum: System Workbench for STM32

Code works on MCU but not on Board.

Hello all. Sorry if my question is obvious but Iam a newbie and still Learning.

I have choosen my Board from Board selector in Cube, then built the program.
I have tried to blink LEDs on my F411E-DISCO using instruction HAL_TogglePin and HAL_Delay in main loop. It wasn’t work.

When I have choosen only MCU (STM32F411VE) in Cube the same code works perfect.

Why is that?