开发板 LogicPD,芯片omapl138,仿真器xd100V2,omapl138 的ARM用starterware跑TCPIP,用的工程是enet_echo。这个工程在arm上跑,怎么跑不起来。
Tony Tang:
Jun,
这是编译器的问题,如果用TI的编译器,请按下面步骤升级编译器,并使能GCC扩展功能。
Installing the compiler
Install the latest CCS 5.x from http://processors.wiki.ti.com/index.php/Download_CCS
Launch CCS -> Help -> install new software ->
“Work with” – select “code generation tool updates”
Check only “ARM compiler tools” v 5.0.1 or latest revision.
Next -> finishEnabling gcc extensions
Modify the individual build properties of all libs and examples (usblib, system, platform etc) to enable “–gcc” extension. This can be found under – ARM Compiler -> Advanced Options. Failure to do so would result in compilation errors.