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.

freertos demo project not compiling

Other Parts Discussed in Thread: EK-TM4C123GXL, TM4C123GH6PM

Sorry for the boring post but I was hoping I could compile the freertos_demo project and get it working out of the box as they say.

Instead it's just loads of linkage error. The header search paths for the project seem ok but why aren't the c files in the project???!!!

I've just spent 30 minutes trying to get those c files and include them in the project but I'm just giving up now. 

Unless I have done something wrong? Other projects such as hello or blinky work fine.

Thanks for your help

EK-TM4C123GXL / CCS / Ubuntu

  • Hello Silvere

    Can you share the log file?

    Regards
    Amit
  • Sorry for my late reply, I was away.

    Here is a screenshot:

    Oterhwise:

    Resource Path Location Type unresolved symbol UARTprintf, first referenced in ./freertos_demo.obj freertos_demo C/C++

    Problem unresolved symbol UARTStdioConfig, first referenced in ./freertos_demo.obj freertos_demo C/C++

    Problem unresolved symbol vTaskDelayUntil, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol vPortSVCHandler, first referenced in ./startup_ccs.obj freertos_demo C/C++

    Problem unresolved symbol xPortPendSVHandler, first referenced in ./startup_ccs.obj freertos_demo C/C++

    Problem unresolved symbol vTaskStartScheduler, first referenced in ./freertos_demo.obj freertos_demo C/C++

    Problem unresolved symbol xQueueCreateMutex, first referenced in ./freertos_demo.obj freertos_demo C/C++

    Problem unresolved symbol xPortSysTickHandler, first referenced in ./startup_ccs.obj freertos_demo C/C++

    Problem unresolved symbol ButtonsInit, first referenced in ./switch_task.obj freertos_demo C/C++

    Problem unresolved symbol RGBColorSet, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol ButtonsPoll, first referenced in ./switch_task.obj freertos_demo C/C++

    Problem unresolved symbol RGBEnable, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol RGBDisable, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol RGBIntensitySet, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol RGBInit, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol xQueueGenericCreate, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol xQueueGenericReceive, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol xQueueGenericSend, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol xTaskGenericCreate, first referenced in ./led_task.obj freertos_demo C/C++

    Problem unresolved symbol xTaskGetTickCount, first referenced in ./led_task.obj freertos_demo C/C++

    Problem <a href="file:/home/parallels/ti/ccsv6/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain freertos_demo C/C++

    Problem #10010 errors encountered during linking; "freertos_demo.out" not built freertos_demo C/C++ Problem

  • Wow that's a lot of path issues. Might you try project search for missing includes?
  • I don't think there is any missing include, the c files are missing from the project.

    Which file am I suppose to bring in? You might want to fix this for people that want this demo to work too

  • Hello Silvere,

    I tried the example and it works (don't have ubuntu but PC). Also the log file is blocked by TI Server, so you may want to attach the CCS Log file to the post.

    Regards
    Amit
  • Hi Amit thanks for your message, here is the console log: (is there an actual log file generated somewhere?)

    **** Build of configuration Debug for project freertos_demo ****

    /home/parallels/ti/ccsv6/utils/bin/gmake -k all 

    Building target: freertos_demo.out

    Invoking: ARM Linker

    "/home/parallels/ti/ccsv6/tools/compiler/arm_5.1.11/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual -z --stack_size=512 -m"freertos_demo_ccs.map" --heap_size=0 -i"/home/parallels/ti/ccsv6/tools/compiler/arm_5.1.11/lib" -i"/home/parallels/ti/ccsv6/tools/compiler/arm_5.1.11/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="freertos_demo_linkInfo.xml" --rom_model -o "freertos_demo.out"  "./freertos_demo.obj" "./led_task.obj" "./startup_ccs.obj" "./switch_task.obj" "../freertos_demo_ccs.cmd" -l"libc.a" -l"/media/psf/Home/Desktop/TivaWare/examples/boards/ek-tm4c123gxl/freertos_demo/ccs/../../../../../driverlib/ccs/Debug/driverlib.lib" 

    <Linking>

     undefined            first referenced   

      symbol                  in file        

     ---------            ----------------   

     ButtonsInit          ./switch_task.obj  

     ButtonsPoll          ./switch_task.obj  

     RGBColorSet          ./led_task.obj     

     RGBDisable           ./led_task.obj     

     RGBEnable            ./led_task.obj     

     RGBInit              ./led_task.obj     

     RGBIntensitySet      ./led_task.obj     

     UARTStdioConfig      ./freertos_demo.obj

     UARTprintf           ./freertos_demo.obj

     vPortSVCHandler      ./startup_ccs.obj  

     vTaskDelayUntil      ./led_task.obj     

     vTaskStartScheduler  ./freertos_demo.obj

     xPortPendSVHandler   ./startup_ccs.obj  

     xPortSysTickHandler  ./startup_ccs.obj  

     xQueueCreateMutex    ./freertos_demo.obj

     xQueueGenericCreate  ./led_task.obj     

     xQueueGenericReceive ./led_task.obj     

     xQueueGenericSend    ./led_task.obj     

     xTaskGenericCreate   ./led_task.obj     

     xTaskGetTickCount    ./led_task.obj     

    error #10234-D: unresolved symbols remain

    >> Compilation failure

    error #10010: errors encountered during linking; "freertos_demo.out" not built

    gmake: *** [freertos_demo.out] Error 1

    gmake: Target `all' not remade because of errors.

    **** Build Finished ****

  • Amit could you eventually send me a list of the c files that need to be compiled?
    Because my makefile generated by CCS only has those C files defined:

    C_SRCS += \
    ../freertos_demo.c \
    ../led_task.c \
    ../startup_ccs.c \
    ../switch_task.c

    There is obviously some files missing there.
    Thanks, Silvere
  • Hello Silvere,

    Attached is my compile log after importing the free_rtos project from TivaWare.

    **** Build of configuration Debug for project freertos_demo ****
    
    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: ../freertos_demo.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="freertos_demo.pp"  "../freertos_demo.c"
    'Finished building: ../freertos_demo.c'
    ' '
    'Building file: ../led_task.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="led_task.pp"  "../led_task.c"
    'Finished building: ../led_task.c'
    ' '
    'Building file: ../startup_ccs.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="startup_ccs.pp"  "../startup_ccs.c"
    'Finished building: ../startup_ccs.c'
    ' '
    'Building file: ../switch_task.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="switch_task.pp"  "../switch_task.c"
    'Finished building: ../switch_task.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/utils/uartstdio.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="utils/uartstdio.pp" --obj_directory="utils"  "C:/ti/TivaWare_C_Series-2.1.0.12573/utils/uartstdio.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/utils/uartstdio.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/utils/ustdlib.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="utils/ustdlib.pp" --obj_directory="utils"  "C:/ti/TivaWare_C_Series-2.1.0.12573/utils/ustdlib.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/utils/ustdlib.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/list.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="third_party/FreeRTOS/Source/list.pp" --obj_directory="third_party/FreeRTOS/Source"  "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/list.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/list.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/queue.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="third_party/FreeRTOS/Source/queue.pp" --obj_directory="third_party/FreeRTOS/Source"  "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/queue.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/queue.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/tasks.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="third_party/FreeRTOS/Source/tasks.pp" --obj_directory="third_party/FreeRTOS/Source"  "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/tasks.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/tasks.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/MemMang/heap_2.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="third_party/FreeRTOS/Source/portable/MemMang/heap_2.pp" --obj_directory="third_party/FreeRTOS/Source/portable/MemMang"  "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/MemMang/heap_2.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/MemMang/heap_2.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.pp" --obj_directory="third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F"  "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.c"
    warning: "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.c", line 208: Assembly statement "dsb" creates a label, which may not be what was intended. Use a colon after a label or a space before a non-label to silence the warning.
    warning: "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.c", line 209: Assembly statement "isb" creates a label, which may not be what was intended. Use a colon after a label or a space before a non-label to silence the warning.
    warning: "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.c", line 208: Assembly statement "dsb" creates a label, which may not be what was intended. Use a colon after a label or a space before a non-label to silence the warning.
    warning: "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.c", line 209: Assembly statement "isb" creates a label, which may not be what was intended. Use a colon after a label or a space before a non-label to silence the warning.
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.pp" --obj_directory="third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F"  "C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl/drivers/buttons.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="drivers/buttons.pp" --obj_directory="drivers"  "C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl/drivers/buttons.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl/drivers/buttons.c'
    ' '
    'Building file: C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl/drivers/rgb.c'
    'Invoking: ARM Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --include_path="C:/Users/a0876236/workspace_v6_0/freertos_demo" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/include" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS" --include_path="C:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F" --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual --preproc_with_compile --preproc_dependency="drivers/rgb.pp" --obj_directory="drivers"  "C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl/drivers/rgb.c"
    'Finished building: C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl/drivers/rgb.c'
    ' '
    'Building target: freertos_demo.out'
    'Invoking: ARM Linker'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -O2 -g --gcc --define=ccs="ccs" --define=PART_TM4C123GH6PM --define=TARGET_IS_TM4C123_RB1 --diag_warning=225 --display_error_number --diag_wrap=off --gen_func_subsections=on --ual -z --stack_size=512 -m"freertos_demo_ccs.map" --heap_size=0 -i"c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/lib" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="freertos_demo_linkInfo.xml" --rom_model -o "freertos_demo.out"  "./freertos_demo.obj" "./led_task.obj" "./startup_ccs.obj" "./switch_task.obj" "./utils/uartstdio.obj" "./utils/ustdlib.obj" "./third_party/FreeRTOS/Source/list.obj" "./third_party/FreeRTOS/Source/queue.obj" "./third_party/FreeRTOS/Source/tasks.obj" "./third_party/FreeRTOS/Source/portable/MemMang/heap_2.obj" "./third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.obj" "./third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.obj" "./drivers/buttons.obj" "./drivers/rgb.obj" "../freertos_demo_ccs.cmd" -l"libc.a" -l"C:/ti/TivaWare_C_Series-2.1.0.12573/examples/boards/ek-tm4c123gxl/freertos_demo/ccs/../../../../../driverlib/ccs/Debug/driverlib.lib" 
    <Linking>
    'Finished building target: freertos_demo.out'
    ' '
    "c:/ti/ccsv6/utils/tiobj2bin/tiobj2bin" "freertos_demo.out" "freertos_demo.bin" "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armofd" "c:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/armhex" "c:/ti/ccsv6/utils/tiobj2bin/mkhex4bin"
    ' '
    
    **** Build Finished ****
    

    Regards

    Amit

  • Silvere Letellier said:
    EK-TM4C123GXL / CCS / Ubuntu

    CCS under Linux sometimes fails to import linked resources for projects - leading to undefined symbols due to some source files not being part of the project. 

    Manually copying the <linkedResources> section into the .project file is a work-around. See enet_io example not compiling on DK-TM4C129X kit for more information.

  • Awesome I will try this now and let you know
  • Thanks everyone it worked, I manually imported the right files that were listen in the .project config file...
    Although this should be fixed in order to avoid more problems... Do you have any Github that holds that code etc?
  • Silvere Letellier said:
    Although this should be fixed in order to avoid more problems

    Can you confirm the exact version of CCS 6 you are using?

    I found the problem about linked resources not importing correctly under Linux was reported in CCS 5.5 6.x Project Import failure. Bug ID #SDSCM00050110 was raised, which is reported as fixed in CCS 6.1.0.

    [I haven't yet tried import examples in CCS 6.1.0 to confirm the problem no longer occurs]

  • My version of CCS is Version: 6.0.1.00040
    I will update it right away