cancel
Showing results for 
Search instead for 
Did you mean: 

Commenting in Debug configuration > Startup > Initialization Commands

Legacy member
Not applicable

Hi,

I am trying to port over the following startup commands from Atollic, but I realized when I place them in the initialization commands, the comment lines throw an error of Undefined Command. My script runs fine without the comments, but I thought it will be nice to be able to still include the comments.

Any idea how to add these comments in the new STM32CubeIDE?

# Reconfigure vector table offset register to match the application location

set *0xe000ed08 = 0xC000

# Get the application stack pointer (First entry in the application vector table)

set $sp = *(unsigned int*)0xC000

# Get the application entry point (Second entry in the application vector table)

set $pc = *(unsigned int*)0xC004

Thanks!

0 REPLIES 0