主题中讨论的其他器件:SysConfig
您好!
是否可以直接在 C 代码上对 EMU_BOOTCTRL 进行编程? 我正在尝试 编写此配置(基于 该线程):
#include "driverlib.h" #include "device.h" #include "board.h" *(uint32_t *)0x0D00 = 0x28270B5A;
但是、 编译失败、以下是编译控制台的摘录:
>> Compilation failure subdir_rules.mk:9: recipe for target 'led_ex2_sysconfig_cpu1.obj' failed "../led_ex2_sysconfig_cpu1.c", line 73: error #18: expected a ")" "../led_ex2_sysconfig_cpu1.c", line 73: warning #78-D: this declaration has no storage class or type specifier "../led_ex2_sysconfig_cpu1.c", line 73: error #102: "uint32_t" has already been declared in the current scope "../led_ex2_sysconfig_cpu1.c", line 73: error #66: expected a ";" 3 errors detected in the compilation of "../led_ex2_sysconfig_cpu1.c".
我当前正在通过存储器浏览器更改引导配置、然后复位 CPU ( 如此处建议)。 但在调试会话开始时使用此设置会更容易。
提前感谢您。