Simple Blinky project using HAL but without CubeMX is only works in debug
Hi there!
Im currently learning STM32 MCUs using Nucleo-F446RE
I wrote two 'Blinky' firmwares:
*One using HAL and CubeMX (.ioc file)
*A second one using just HAL (NO CubeMX)
What does the FW does?: It just uses the user button on the nucleo, reads the state and "mirrors" that state on the user LED on the nucleo
In the project using CubeMX the firmware works in debug mode and in run mode (directly running on the board)
But in the project that doesnt use CubeMX the firmware works fine in debug mode but it doesnt in run mode
Both projects compile with 0 errors and 0 warnings for both, debug and release
I have read the RM and the HAL documentation but i dont have a clue where is the problem
I tried all the solutions from chatGPT and still it doesnt work
Can you help me please?
What am i doing wrong?
I let you the link to my projects if you need to check something
Maybe the STM32CubeF4 version? (weird because both projects use the same version)
Thanks in advance!
Projects link: https://drive.google.com/drive/folders/1xs8ck-L0GyELmdG6uNVZT-bSjg4GwUFW?hl=es-419
