STM32 Stop compling

Hi All

My program fails to complie. It was compling before the use of the debugger. I have the following error message:

ST/STM32WLxx/Source/Templates/gcc/startup_stm32wle5xx.s: Assembler messages:
/Users/x/.platformio/packages/framework-arduinoststm32/system/Drivers/CMSIS/Device/ST/STM32WLxx/Source/Templates/gcc/startup_stm32wle5xx.s:59: Error: bad instruction `ot ldr r0,=_estack’
*** [.pio/build/we_oceanus1/FrameworkArduino/stm32/startup_stm32yyxx.S.o] Error 1

Help.

Thanks

That line should definitely not read “ot”:

My guess is that during debug, you accidently typed something on your keyboard which ended up being saved in the startup code.

Just delete the folder /Users/x/.platformio/packages/framework-arduinoststm32 and build the project again to get back to a clean state.