Other Parts Discussed in Thread: C2000WARE
这些函数未找到,对比例程没有发现缺少.lib文件,加入后又报错
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.
您是否包含了 Flash2806x_API_Library.h?
/*---- Flash API include file -------------------------------------------------*/
#include "Flash2806x_API_Library.h"
在该文件内有相关的定义
#if FLASH_F2806x #define Flash_Erase(a,b) Flash2806x_Erase(a,b) #define Flash_Program(a,b,c,d) Flash2806x_Program(a,b,c,d) #define Flash_Verify(a,b,c,d) Flash2806x_Verify(a,b,c,d) #define Flash_ToggleTest(a,b) Flash2806x_ToggleTest(a,b) #define Flash_DepRecover() Flash2806x_DepRecover() #define Flash_APIVersionHex() Flash2806x_APIVersionHex() #endif
您需要添加合适的lib,如 2806x_BootROM_API_TABLE_Symbols.lib

具体可以查看
C2000Ware\libraries\flash_api\f2806x\docs
Flash2806x_API_Quickstart.pdf