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.

CC1310: 关于编译的问题

Part Number: CC1310

使用rfEasyLinkTx_CC1310_LAUNCHXL_tirtos_ccs例程,编译没有问题,可以运行。学习例程中有个问题请教下:调用Power_init();

在ti的库里PowerCC26xx.c和PowerCC26x2.c文件中都有这个函数。问题是系统怎么知道使用PowerCC26xx.c中而不是另一个文件?是在哪里有设定吗?

在CC1310_LAUNCHXL.c中有:#include <ti/drivers/power/PowerCC26XX.h>,是这个影响的吗?没想明白。

编译器如何找到并编译PowerCC26xx.c文件的?