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.

platform_lib目录下的文件变量的值没法更改?



 环境:6678开发,ccs5.2,pdk:pdk_C6678_1_1_2_6

    1、 变量值改后,把platform_lib的库也重新编译了,值还是改不了,如:把evmc66x_spi.h中

#define SPI_MAX_FREQ            25000000    /* SPI Max frequency in Hz */

的25000000    改为15000000后,编译platform_lib工程后,进程序调试看

spi_claim(SPI_NOR_CS, SPI_MAX_FREQ);中的MAX_FREQ值还是25000000?

2、还有一个关于platform_lib库的问题

      platform_device_open()有关函数,为何只能在ti带的工程下运行,自己建的工程就出错(把相关的头文件、库文件按ti的例程都加上了),且运行指针在platform.c文件中乱跳?

谢谢!