While trying to get started with FreeRTOS, I’ve came across a problem. I tried building the demo project for the TI Hercules Cortex R4 boards, but came across a few unidentifiable (by me) errors. I’ve followed the exact steps given in the tutorial. The only difference is I’m running CCS v6 instead of v5?
The link to the tut: http://www.freertos.org/Free_RTOS_for_TI_RM48_and_TMS570.html#SourceCodeOrg
A bunch of these errors are in the output:
**“C:/Users/jesse/Desktop/Stage Waternet/Software/Zips/FreeRTOSv9.0.0/FreeRTOS/Demo/CORTEX_R4_RM48_TMS570_CCS5/FreeRTOSConfig.h”, line 75: fatal error #35: #error directive: Ensure CreateProjectDirectoryStructure.bat has been executed before building. See comment immediately above.
And these are a few of the errors in the ‘Problems’ tab:
**gmake: * [Common-Demo-Source/BlockQ.obj] Error 1 CORTEX-R4_TI_CCS5 C/C++ Problem
gmake: * [Common-Demo-Source/blocktim.obj] Error 1 CORTEX-R4_TI_CCS5 C/C++ Problem
gmake: * [Common-Demo-Source/comtest.obj] Error 1 CORTEX-R4_TI_CCS5 C/C++ Problem
gmake: * [Common-Demo-Source/countsem.obj] Error 1 CORTEX-R4_TI_CCS5 C/C++ Problem
gmake: * [Common-Demo-Source/death.obj] Error 1 CORTEX-R4_TI_CCS5 C/C++ Problem
I’ve read other users had similar problems and most of the time it was due to a compiler issue. My compiler is the default (?) TI v15.12.3.LTS included in CCSv6
Anybody an idea? Perhaps installing a different compiler like MinWG or Cygwin?