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/CC2640R2F: FATFS - Unresolved Symbols

Part Number: CC2640R2F


Tool/software: Code Composer Studio

Hello,

I import the fatfs library in order for me to have the ability to use file system functions. I had to firstly face errors concerning unresolved symbols for these functions. I solved all the unresolved symbol messages by includeing in the "Include Paths" tab, the library fatfs.aem3. After this, I have only one unresolved symbol which is connected with the fatfs_getFatTime() function. This function is defined in the "diskio.c" but the compiler cannot see it!
Do you have any idea how I could fix this issue?
 Please ignore the error in red, I already solved it.
Thank you in advance.
  • I partially solved the problem by inserting the following to the .cfg file :

    var FatFS = xdc.useModule('ti.mw.fatfs.FatFS');

    var SysStd = xdc.useModule('xdc.runtime.SysStd');
    var System = xdc.useModule("xdc.runtime.System");
    System.SupportProxy = SysStd;


    BUT now I get the following error:

    "can't locate the package 'ti.drivers.ports' along the path: 'C:/ti/simplelink_cc2640r2_sdk_1_00_00_22/source;C:/ti/simplelink_cc2640r2_sdk_1_00_00_22/kernel/tirtos/packages;C:/ti/ccsv7/ccs_base;C:/ti/xdctools_3_32_01_22_core/packages;..;'. Ensure that the package path is set correctly. .xdchelp /app line 532 C/C++ Problem"

    Any idea?
  • Looks like you figured it out given your recent (new) post?

    Best wishes
  • Hi Emocs,

        fatfs.aem3 should be set at the CCS ARM Linker->File Search Path. Try drag and drop diskio.c to your CCS Project.

    - kel