The program is stuck in the highlighted code. What can I do to fix this issue. Im just trying to use a previous code to make the led blink/ stop blinking once the button is pressed.
The code is waiting for the high speed external clock (HSE) to get ready. Do you have an external oscillator/quartz connected and is is working? For testing, you might switch to the HSI internal oscillator.