This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

网口程序helloworld 程序修改

Other Parts Discussed in Thread: SYSBIOS

我用的C6670的板子,现在PC和DSP之间能相互发送数据了。但是目前涉及到的任务,对时间有很高要求,因此需要对程序进行简化,可是修改程序的时候, 发现程序还是按照以前的程序在运行。在linker.cmd 发现有如下的代码:

-l"D:\work\hange_jian\helloworld_amc2c6670_srio_transmitter\Debug\configPkg\package\cfg\helloWorld_pe66e.oe66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\miniPrintf\lib\miniPrintf.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\hal\ser_stub\lib\hal_ser_stub.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\hal\timer_bios\lib\hal_timer_bios.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\os\lib\os.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\hal\userled_stub\lib\hal_userled_stub.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\hal\eth_stub\lib\hal_eth_stub.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\tools\cgi\lib\cgi.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\tools\hdlc\lib\hdlc.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\tools\console\lib\console_min.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\netctrl\lib\netctrl.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\nettools\lib\nettool.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\tools\servers\lib\servers_min.ae66e"
-l"D:\ti\ndk_2_21_01_38\packages\ti\ndk\stack\lib\stk6_ppp_pppoe.ae66e"
-l"D:\ti\pdk_C6670_1_1_2_5\packages\ti\transport\ndk\nimu\lib\debug\ti.transport.ndk.nimu.ae66e"
-l"D:\ti\pdk_C6670_1_1_2_5\packages\ti\platform\evmc6670l\platform_lib\lib\debug\ti.platform.evm6670l.ae66e"
-l"D:\ti\pdk_C6670_1_1_2_5\packages\ti\drv\pa\lib\ti.drv.pa.ae66e"
-l"D:\ti\pdk_C6670_1_1_2_5\packages\ti\drv\cppi\lib\ti.drv.cppi.ae66e"
-l"D:\ti\pdk_C6670_1_1_2_5\packages\ti\drv\qmss\lib\ti.drv.qmss.ae66e"
-l"D:\ti\pdk_C6670_1_1_2_5\packages\ti\csl\lib\ti.csl.ae66e"
-l"D:\ti\bios_6_34_02_18\packages\ti\sysbios\lib\sysbios\instrumented\sysbios.ae66e"
-l"D:\ti\xdctools_3_24_05_48\packages\ti\targets\rts6000\lib\ti.targets.rts6000.ae66e"
-l"D:\ti\xdctools_3_24_05_48\packages\ti\targets\rts6000\lib\boot.ae66e"

是不是我改后的代码要生成类似“xxx.ae66e”的文件才可以啊!

我现在想要修改的程序在nimu.c  ipin.c等文件里,请问一下,我该怎么做呢?多谢!

  • nimu是驱动层的东西,应该不需要简化,它的源代码在C:\ti\pdk_C6678_1_1_2_6\packages\ti\transport\ndk\nimu\src 目录下;

    你需要简化的是上层的服务,参考C:\ti\ndk_2_24_03_35\docs 目录下的文档进行删减。