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.

#10234-D unresolved symbol remain (uxTaskGetStackHighWaterMark ./main.o)

Hi TI,

I imported the sample project(C:\ti\mcu_plus_sdk_am243x_08_02_00_13\examples\kernel\freertos\posix_demo\am243x-evm\r5fss0-0_freertos) and called this uxTaskGetStackHighWaterMark  freertos task function.

I have set FreeRTOSConfig.h file before.(C:\ti\mcu_plus_sdk_am243x_08_02_00_13\source\kernel\freertos\config\am243x\r5f) But I keep getting this error. How can I activate my changes?

How can I recompile the lib file?(freertos.am243x.r5f.ti-arm-clang.debug.lib) or is there any other solution?

If I make a change to a .h/.c file in mcu_sdk_... how can I recompile it.?

Thank you..

  • Hi Mehmet,

    After you changed the  FreeRTOSConfig.h, you will need to rebuild the FreeRTOS library by doing the following:

    cd C:\ti\mcu_plus_sdk_am243x_08_02_00_13

    gmake -s -f makefile.am243x freertos_r5f.ti-arm-clang_clean PROFLE=debug

    gmake -s -f makefile.am243x freertos_r5f.ti-arm-clang PROFLE=debug

    Best regards,

    Ming

  • Hi Mehmet,

    You will need to add the following line to  FreeRTOSConfig.h

    #define INCLUDE_uxTaskGetStackHighWaterMark    1

    Best regards,

    Ming

  • Hi Ming, thank you for your quick reply.I already added it(#define INCLUDE_uxTaskGetStackHighWaterMark    1). I shared it in the picture above.

    but gmake -s ... it does not work. I received this error. (I also tried GnuWin32/make.exe)

    C:\ti\mcu_plus_sdk_am243x_08_02_00_13>"C:\ti\ccs1110\ccs\utils\bin\gmake.exe" -s -f makefile.am243x freertos_r5f.ti-arm-clang_clean PROFILE=debug
    Cleaning: freertos.am243x.r5f.ti-arm-clang.debug.lib ...
    process_begin: CreateProcess(NULL, C:/ti/ccs1100/ccs/utils/cygwin/rm -rf obj/am243x/ti-arm-clang/debug/r5f/freertos/, ...) failed.
    make (e=2): The system cannot find the file specified.
    makefile.am243x.r5f.ti-arm-clang:151: recipe for target 'clean' failed
    gmake[1]: *** [clean] Error 2
    makefile.am243x:517: recipe for target 'freertos_r5f.ti-arm-clang_clean' failed
    gmake: *** [freertos_r5f.ti-arm-clang_clean] Error 2

    I tried many ways. I created the obj/am243x/ti-arm-clang/debug/r5f/freertos/ folder in this path C:\ti\mcu_plus_sdk_am243x_08_02_00_13\source\kernel\freertos. but it didn't work.

    Where is the obj/ directory?(I am sharinf folder path. C:\ti\mcu_plus_sdk_am243x_08_02_00_13\source\kernel\freertos)

    I also added the path.

  • Hi Mehmet,

    The failure is caused by the the CCS version you installed (11.1.0) and what MCU+ SDK expected (11.0.0):

    C:\ti\mcu_plus_sdk_am243x_08_02_00_13>"C:\ti\ccs1110\ccs\utils\bin\gmake.exe" -s -f makefile.am243x freertos_r5f.ti-arm-clang_clean PROFILE=debug
    Cleaning: freertos.am243x.r5f.ti-arm-clang.debug.lib ...
    process_begin: CreateProcess(NULL, C:/ti/ccs1100/ccs/utils/cygwin/rm -rf obj/am243x/ti-arm-clang/debug/r5f/freertos/, ...) failed.
      

    There three ways to fix it:

    1. Change "CCS_PATH?=$(TOOLS_PATH)/ccs1100/ccs" to "CCS_PATH?=$(TOOLS_PATH)/ccs1110/ccs" in imports.mak

    2. Download the install the MCU+ SDK 08.02.00.31

    3. Install the CCS 11.0.0

    Best regards,

    Ming