Anyone Working on a Port to Keil/ARM Compiler 6.6 (ARMCLANG?)

Posted by vigneshtg93 on May 3, 2017

Hello all, I'm working on ARM cortex M-4 with compilier 6.6 for FreeRTOS, but still getting error on port files(like on portmacro.h file). Could anyone suggest me possible solutions to get reolved? Waiting for your kind response. Thanks & Regards, Vignesh


Anyone Working on a Port to Keil/ARM Compiler 6.6 (ARMCLANG?)

Posted by rtel on May 3, 2017

I have already converted the M0 code, but not the M3/4/7 code. The M0 GCC port now works with ARMCLANG too. There were very few changes, mainly related to switching to the unified assembler syntax, and sorting out the situations where GCC generates a warning if you do something and ARMCLANG generates a warning if you don't.

Could anyone suggest me possible solutions to get reolved?

No, because you have not said what the problems (error messages) are. If you had said what they were then, of course, the answer would be yes.


Anyone Working on a Port to Keil/ARM Compiler 6.6 (ARMCLANG?)

Posted by vigneshtg93 on May 4, 2017

Thank you for your reply. Yes, I'm getting errors on how to use " extern uxCriticalNesting, extern pxCurrentTCB, extern vTaskSwitchContext" statements on ARMCLANG (error is like expected ' ( ' or identifier). Could you please send me M0 code so that I can refer and resolve it? Email - tgvignesh@gmail.com

Waiting for your kind response. Thanks & Regards, Vignesh


Anyone Working on a Port to Keil/ARM Compiler 6.6 (ARMCLANG?)

Posted by rtel on May 4, 2017

It is publicly available in SVN: https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c