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.

c6670 编译



您好!我修改一些.c文件的代码后,重新编译(rebuild project),debug后发现还是运行以前的代码。如在nimu_eth.c中修改platform_write ("PASS successfully initialized \n");为platform_write ("PASS OK\n");运行后发现还是运行platform_write ("PASS successfully initialized \n");。

还有就是我把有些语句注释掉后(//)重新编译后,单步执行发现,还是执行注释掉的语句。

这种情况主要出现在TI官方提供的程序中,这是怎么回事啊?有什么解决方法呢?

  • 你是否还是load了原有的out文件,可以检查一下out文件生成的时间;

    另外,你要确定你修改的文件是被工程包含的文件,你可能修改了另一个同名文件。

  • 您好!我检查了一下:是load了最新的out文件;修改的文件是被工程包含的文件,因为没有同名文件。问题还是没有得到解决。还有什么地方是我忽略掉了呢?

    我还有个问题想请教您一下。为什么我调用 CSL_PSC_startStateTransition()这个函数后,一直表示transition在进行中,没有done,您能帮我分析一下原因吗?