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.

"Empty or invalid condition code" in portasm.asm with FreeRTOS 8.2.3

Other Parts Discussed in Thread: EK-TM4C123GXL

I've got a project that I started from the FreeRTOS 7.6 demo that came with CCS5.  I found that I'd like to use some features of FreeRTOS 8.2.x so I extracted the source directory from the 8.2.3 zip file into third_party/FreeRTOS.  After a few updates to the FreeRTOSconfig.h, it looks like I'm almost there except for a couple of errors in third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm

"D:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm", ERROR! at line 117: [E0003] Empty or Invalid condition code
2 Assembly Errors, 2 Assembly Warnings
it eq

"D:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm", WARNING! at line 118: [W0004] Incorrect condition code inside of IT block
vstmdbeq r0!, {s16-s31}

"D:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm", ERROR! at line 147: [E0003] Empty or Invalid condition code
it eq

"D:/ti/TivaWare_C_Series-2.1.0.12573/third_party/FreeRTOS/Source/portable/CCS/ARM_CM4F/portasm.asm", WARNING! at line 148: [W0004] Incorrect condition code inside of IT block
vldmiaeq r0!, {s16-s31}

I looked at the FreeRTOS code in the latest EK-TM4C123GXL download and it appears to have the same statements at line 117 and 148 so I'm guessing its identical.  

Any feedback would be greatly appreciated.

  -- Mike

  • Did you make any changes to the project, other than the source files being built?  I presume you were building for a Cortex-M4F before, and not a Cortex-M3?

    I just tried building this project: http://www.freertos.org/TI_MSP432_Free_RTOS_Demo.html with CCS V6.1.2.  Although the project is for a different chip, the same portasm.asm file is being used, and I didn't get any issues.  Could you try building that project too to see if it builds cleanly - if it does - I would guess there was an issue somewhere in your project settings.