controlSUITE中的例程序重新整理后编译时出现错误:"You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate."
没有找到哪里定义CPU1/2,麻烦哪位指点一下,谢谢
Seven Han:
请问使用的controlsuite版本是最新的吗?具体编译的哪个例程?
https://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/441078
controlSUITE中的例程序重新整理后编译时出现错误:"You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate."
没有找到哪里定义CPU1/2,麻烦哪位指点一下,谢谢
user5195598:
回复 Seven Han:
使用TMDSIDDK_v2.0中的例程,CCS软件没有找到设置的地方:如–define="CPU1" –define="LARGE_MODEL" 等
controlSUITE中的例程序重新整理后编译时出现错误:"You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate."
没有找到哪里定义CPU1/2,麻烦哪位指点一下,谢谢
mangui zhang:
右击工程名 下面有个工程属性 进入后在相关选项下增加CPU的宏定义
如果直接在controlSUITE里面打开的工程 应该不会编译出现这个错误
controlSUITE中的例程序重新整理后编译时出现错误:"You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate."
没有找到哪里定义CPU1/2,麻烦哪位指点一下,谢谢
mangui zhang:
右击工程名 下面有个工程属性 进入后在相关选项下增加CPU的宏定义
如果直接在controlSUITE里面打开的工程 应该不会编译出现这个错误
controlSUITE中的例程序重新整理后编译时出现错误:"You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate."
没有找到哪里定义CPU1/2,麻烦哪位指点一下,谢谢
mangui zhang:
右击工程名 下面有个工程属性 进入后在相关选项下增加CPU的宏定义
如果直接在controlSUITE里面打开的工程 应该不会编译出现这个错误
controlSUITE中的例程序重新整理后编译时出现错误:"You must define CPU1 or CPU2 in your project properties. Otherwise, the offsets in your header files will be inaccurate."
没有找到哪里定义CPU1/2,麻烦哪位指点一下,谢谢
user5195598:
回复 mangui zhang:
找到了,谢谢