打印
[其他ST产品]

STM32CubeIDE中添加注释出错

[复制链接]
34|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
lilaiju|  楼主 | 2025-3-6 22:09 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
想将这些启动命令从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

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

1

帖子

0

粉丝