# ARM Realview Compiler Port for Philips LPC

**URL:** <https://forums.freertos.org/t/arm-realview-compiler-port-for-philips-lpc/5666>\
**Category:** Kernel\
**Created:** [March 1, 2006, 7:07am UTC](https://forums.freertos.org/t/arm-realview-compiler-port-for-philips-lpc/5666 "2006-03-01T07:07:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 1, 2006, 7:07am UTC](https://forums.freertos.org/t/arm-realview-compiler-port-for-philips-lpc/5666/1 "2006-03-01T07:07:19Z")

</div>

**[ktrussell](https://sourceforge.net/u/ktrussell/)** wrote on [Wednesday, March 01, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/fa79238f/#a3fc):

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.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [March 1, 2006, 7:44am UTC](https://forums.freertos.org/t/arm-realview-compiler-port-for-philips-lpc/5666/2 "2006-03-01T07:44:53Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, March 01, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/fa79238f/#a3fc/0fd7):

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 :-(&nbsp; 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.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 1, 2006, 7:25pm UTC](https://forums.freertos.org/t/arm-realview-compiler-port-for-philips-lpc/5666/3 "2006-03-01T19:25:25Z")

</div>

**[ktrussell](https://sourceforge.net/u/ktrussell/)** wrote on [Wednesday, March 01, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/fa79238f/#a3fc/e6ad):

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.
