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.

Compiler/CC2650: CC2650 LAUNCHPAD

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:

  1.  #10010 errors encountered during linking; "project_zero_app_cc2650launchxl.out" not built project_zero_app_cc2650launchxl C/C++ Problem
  2. #10234-D unresolved symbols remain project_zero_app_cc2650launchxl C/C++ Problem

  3. gmake: *** [all] Error 2

  4. gmake[1]: *** [project_zero_app_cc2650launchxl.out] Error 1

  5. unresolved symbol ExtFlash_info, first referenced in <whole-program>

  6. unresolved symbol ExtFlash_open, first referenced in <whole-program>

How am I suppose to fix those errors?

Thanks in advance.