想将这些启动命令从Atollic移植过来,但是我发现把它们放在初始化命令中时,注释行会出现“未定义的命令”错误。我的程序在没有这些注释的情况下运行良好,但我仍然想包含这些注释。
有什么方法可以在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
|