在一台刚刚安装CCS3.3的笔记本上编译连接了一下DM6437EVM板的例程(仿真,没有连板子),结果提示两个警告,光标没有指向main函数。直接点击运行图标,弹出如图窗口。
(例程没有问题,在别的电脑上可以跑,且尝试了多套例程。在板子子上也试了,情况一样,光标没有指向main)
请问什么原因?
------------------------------ emac.pjt - Debug ------------------------------
[emac_init.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug/" -i"../../include/" -d"_DEBUG" -mv6400+ -@"Debug.lkf" "emac_init.c"
[emac_isr.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug/" -i"../../include/" -d"_DEBUG" -mv6400+ -@"Debug.lkf" "emac_isr.c"
[emac_test.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug/" -i"../../include/" -d"_DEBUG" -mv6400+ -@"Debug.lkf" "emac_test.c"
[main.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -fr"./Debug/" -i"../../include/" -d"_DEBUG" -mv6400+ -@"Debug.lkf" "main.c"
"main.c", line 36: warning: this assembly directive potentially unsafe inside a function
"main.c", line 60: warning: this assembly directive potentially unsafe inside a function
"C:\Users\YEHUAS~1\AppData\Local\Temp\0256810", WARNING! at line 164:
[W9999]
Placing data in a code section (.text) is discouraged. The data may
be interpreted as code. This section will not be compressed.
BNOP .S1 $C$L2,5 ; |37|
No Assembly Errors, 1 Assembly Warning
[Linking...] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
Build Complete,
0 Errors, 2 Warnings, 0 Remarks.