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/EK-TM4C1294XL: enet_s2e program build errors with Code Composer Studio version 7.3

Part Number: EK-TM4C1294XL


Tool/software: Code Composer Studio

I'm trying to build the enet_s2e application (spma072) with the Code Composer Studio version 7.3.0.00019 and the Tivaware_C_Series version 2.1.4.178 and I have plenty of errors. Is there anything I need to chance to make the build successful without errors? I'm using the EK-TM4C1294XL Launchpad.  Thanks for any advice. 

Description Resource Path Location Type
gmake: *** [config.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [enet_fs.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [enet_s2e.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [idle_task.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [lwip_task.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [serial_task.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [telnet.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [third_party/FreeRTOS/Source/croutine.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [third_party/FreeRTOS/Source/list.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/port.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [third_party/FreeRTOS/Source/portable/MemMang/heap_2.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [third_party/FreeRTOS/Source/queue.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [third_party/FreeRTOS/Source/tasks.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [third_party/FreeRTOS/Source/timers.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [utils/locator.obj] Error 1 enet_s2e    C/C++ Problem
gmake: *** [utils/lwiplib.obj] Error 1 enet_s2e    C/C++ Problem
gmake: Target 'all' not remade because of errors. enet_s2e    C/C++ Problem

  • Hi,

    I tried to build the same project as you mentioned, and the original problem that triggers the list of errors is:

    Build output said:

    >> Compilation failure
    subdir_rules.mk:9: recipe for target 'config.obj' failed
    "C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h", line 144: error #18: expected a ")"
    "C:/ti/TivaWare_C_Series-2.1.4.178/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portmacro.h", line 144: error #18: expected a ")"
    2 errors detected in the compilation of "../config.c".
    gmake: *** [config.obj] Error 1

    Line 144 of the file <portmacro.h> has the following construct:

    portmacro.h said:

    #if( configMAX_PRIORITIES > 32 )

    The configMAX_PRIORITIES expands to a typecast operator, which is invalid. Tthis macro is defined at line 85 of the file <FreeRTOSConfig.h>

    FreeRTOSConfig.h said:

    #define configMAX_PRIORITIES                ( ( unsigned portBASE_TYPE ) 16 )

    Looking at other example projects, I can see this same macro is simply defined as 16 (with no typecast).

    Therefore the solution to this first issue is to modify this file in the enet_s2e project.

    After doing that, the project fails to build with an invalid reference to the function vPortYield() at the file <serial_task.c>. This function is defined for some toolchains (GCC, IAR, etc.) but not for the TI Compiler, which seems to be an error on the original project. In this case, I contacted the TM4C team to take a look at the issue and provide some possible workarounds to this (they created this project). 

    Hope this helps,

    Rafael

  • Thanks, this resolved my issue.