Part Number: CC2650
Tool/software: TI C/C++ Compiler
Hello,
I'm trying to extend "Project Zero" code with some functionality of the ExtFlash driver in ti rtos.
Here is the modified code by me:
#include <ti/mw/extflash/ExtFlash.h>
static bool ExtFlash_init(void)
{
if (!ExtFlash_open()) {
return false;
}
ExtFlashInfo_t* extFalshInfo = ExtFlash_info();
Log_info3("Opened extflash device (size: %d, dev id: %d, manf id: %d)", extFalshInfo->deviceSize, extFalshInfo->devId, extFalshInfo->manfId);
return true;
}
static void ProjectZero_init(void)
{
if (!ExtFlash_init()) {
Log_error0("Error initializing ExtFlash");
Task_exit();
}
Log_info0("Extflash initialized");
/*
* MORE PROJECTZERO_INIT CODE
*/
}
I'm facing linkage errors:
- #10010 errors encountered during linking; "project_zero_app_cc2650launchxl.out" not built project_zero_app_cc2650launchxl C/C++ Problem
-
#10234-D unresolved symbols remain project_zero_app_cc2650launchxl C/C++ Problem
-
gmake: *** [all] Error 2
-
gmake[1]: *** [project_zero_app_cc2650launchxl.out] Error 1
-
unresolved symbol ExtFlash_info, first referenced in <whole-program>
-
unresolved symbol ExtFlash_open, first referenced in <whole-program>
How am I suppose to fix those errors?
Thanks in advance.