Forum: System Workbench for STM32

Programming fails?

if you useCubeMX set your gpio as output puhs pull or open drain (in the device view for instance) that all what required
Generate code will have all clk and i/o setup and should work straigh away .
of course your blink code must be after all init in the main (in the infinite while loop) our on the default thread if you have enabled rtos on MX