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.

CC3220SF OTA 例程编译错误



#ifndef OTA_VENDOR_TOKEN
#error "Please define your personal cloud account token in OTA_VENDOR_TOKEN above"
#endif

例程中126、127、128行的这三行代码,官方教学中的OTA_SERVER_TYPE的选择是OTA_SERVER_GITHUB,按照这个选择,这三行代码根据宏定义的逻辑是不参与编译的,但是#error这一行 一直参与编译,报错#35 #error directive,甚至在我注释、删除这三行代码后,仍然在rebuild过程中参与编译,请问这是什么问题?