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.

[参考译文] CCS/AM4379:多个 make 错误

Guru**** 2576195 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/629620/ccs-am4379-multiple-make-errors

器件型号:AM4379

工具/软件:Code Composer Studio

我创建了一个摄像头测试项目。我想在 starterware/device/camera_device.c 和 starterware/device/camera_device.h.中使用 API。如何实现它? 我将/starterware/device/camera_device.c 文件、/starterware/device/camera_device.h 文件和相关文件添加到工程文件夹中并编译它们。但是、当我使用 API 时、编译器会提示存在错误。

#include 
#include 

extern void CAMERAWrite (uint32_t cameraInst、
uint32_t i2cInstNum、
uint16_t addr、
uint8_t data);
extern cameraDeviceData_t * CAMERAGetDeviceData (uint32_t DevID);
extern uint32_t * CAMERAGetDeviceIdList (void);
int main (void){

CAMERAGetDeviceIdList(void);
cameraDeviceData_t *t;

return 0;
} 

编译器会提示我多个生成器导致错误。

哪个原因可能导致此问题?如何解决?

谢谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    在第12行中、不应存在"无效" "CAMERAGetDeviceIdList (void)"
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    RTOS 团队已收到通知。 他们将在这里作出回应。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    我自己的代码错误。TI 提供的程序是正确的。
    谢谢你