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.

enet_s2e Example building Error

Other Parts Discussed in Thread: EK-TM4C1294XL

I've tried to rebuilding of enet_s2e example project but I got errors as below

- I'm using TivaWare_C_Series-2.1.2.111 & exmaple of URL: www.ti.com/.../spma072.

Best Regards,

JY

 vPortYield

  • Hello JY,

    I have forwarded your question to the author of the app note and the project. They should get back to you soon.
  • Hello JY,

    Looks like the issue is due to FreeRTOS version.

    Can you use the TI-Design (www.ti.com/.../TIDM-TM4C129XS2E) instead? This is a more updated version of the application. Let us know if you have the similar issues building this project.

    Thanks,
    Sai
  • Hello,

    I have the same problem as Jae Yong Koh with the build of enet_s2e example for my EK-TM4C1294XL launchpad. I have the same version of Tiva-Ware (TivaWare_C_Series-2.1.2.111).

    The link you provided in your last answer leads nowhere. Can you give us a link to the updated version of the application please?

    Thanks,
    Alex
  • Hello Alex

    Please use the following link

    www.ti.com/.../TIDM-TM4C129XS2E

    Regards
    Amit
  • Hello Amit,

    I have downloaded the .zip file from the link you gave me. I copied the enet_s2e folder to C:\ti\TivaWare_C_Series-2.1.2.111\examples\boards\ek-tm4c1294xl. I imported the enet_s2e to my CCS workspace (CCS  Version: 6.1.3.00033), but I still have the same build error.

    Thanks,

    Alex

  • Hello Alex

    In the file FreeRTOSConfig.h

    replace the line

    #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 16 )

    with

    #define configMAX_PRIORITIES ( 16 )

    Regards,
    Amit
  • Hello Amit,

    I replaced the line in the file FreeRTOSConfig.h like you told me. However, I still have some building errors. I uploaded an image to show the remaining errors.

    Thanks,

    Alex

  • Hello Alex,

    Yes, I saw it too and this is because the RTOS version has been changed causing the function to be removed. I have reported this to the TI Design author as well, and waiting for an update from him.

    Regards
    Amit
  • Hello Alex,

    Sorry for the delay. As noted before the compilation error is generated because the FreeRTOS version in TivaWare 2.1.2 has been updated.

    I did the following modifications and the application builds successfully. Some of these modifications were covered by Amit, but I am including all the necessary modifications in one place here.

    • In the file "FreeRTOSConfig.h" replace the line
    #define configMAX_PRIORITIES                ( ( unsigned portBASE_TYPE ) 16 )

    with

    #define configMAX_PRIORITIES                16
    • In the file "serial_task.c" replace all instances of
    vPortYield();

    with

    portYIELD();

    In the same file, replace the following line

     if(xTaskCreate(SerialTask, (signed portCHAR *)"Serial",

    with

    if(xTaskCreate(SerialTask, (const portCHAR *)"Serial",

    Thanks,

    Sai

  • Hello,

    Thank you for the answer, the example is building correctly now!

  • I started having the same problem, I did the changes but the project still does not compile.

    The number of  errors was reduced from 18 to 5, and I still have the following errors:

    Type unresolved symbol portYield, first referenced in ./serial_task.obj 

    Type #10010 errors encountered during linking; 

    #10234-D</a> unresolved symbols remain 

    Type gmake: *** [enet_s2e.out] Error 1 

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

    #10234-D</a> unresolved symbols remain 

    ype #10010 errors encountered during linking; 

    Any help would be appreciated.

    Phil

     

    Code Composer Studio Version: 6.2.0.00050

  • Solved the problem now: in FreeRTOS V8.2.3 all occurrences of "vPortYield" must be changed to "portYELD" (case sensitive).