ARM Realview Compiler Port for Philips LPC
Keil has been purchased by ARM and will be transitioning to the ARM Realview compiler so I was told by a Keil engineer. I am just beginning to work with FreeRTOS and with the Keil development package. Has anyone tried to convert the Keil CARM port for the ARM7 LPC2129 to RealView? I have just begun and am having trouble with the __asm statements in the portmacro.h file. There are notes about not being able to access the LR register directly in the Realview docs but I think my problem is more fundamental than that. I am getting a whole bunc of errors, but I see "#52: expected a macro parameter name" a lot.
ARM Realview Compiler Port for Philips LPC
I know of at least one person using FreeRTOS with RealView but they are doing so under a commercial license (because they could not use the GPL) so I do not have their source code :-( but it shows it must be possible.
I believe that the asm macro’s need converting into __asm functions that can be declared within C files.
Sorry I cannot be more helpful.
Regards.
ARM Realview Compiler Port for Philips LPC
Thanks Richard. When I get it ported, I will certainly share. Unfortunately, I am under the gun to get the project done, so I will probably develop the entire project in Keil C and use the port that exists for that. Eventually, I hope to be able to port to Realview. If anyone else has an interest, I will be glad to work with them. I do not expect it to be difficult, I just don’t have the time to spare for a couple of weeks.
Regards.