# LPC2888 port

**URL:** <https://forums.freertos.org/t/lpc2888-port/1982>\
**Category:** Kernel\
**Created:** [October 28, 2008, 9:12am UTC](https://forums.freertos.org/t/lpc2888-port/1982 "2008-10-28T09:12:23Z")\
**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:** [October 28, 2008, 9:12am UTC](https://forums.freertos.org/t/lpc2888-port/1982/1 "2008-10-28T09:12:23Z")

</div>

**[widita](https://sourceforge.net/u/widita/)** wrote on [Tuesday, October 28, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/51ce0008/#0159):

Hi,  
I tried to convert the demo project “ARM7\_LPC2129\_Keil”, and it seems there is something wrong with the portmacro.h, it can’t be compiled…

here is the compilation error messages:

Build target ‘LPC2888’  
assembling Startup.s…  
compiling main.c…  
…\…\Source\include\…\…\Source\portable\Keil\ARM7\portmacro.h(112): error:&nbsp; #52: expected a macro parameter name

portmacro.h line 112:  
&nbsp;&nbsp;&nbsp; \_\_asm{ LDR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LR, [LR, #+60]&nbsp;&nbsp;&nbsp; }; /\* Restore the return address. \*/ \

And here is the IDE-Version of my Keil UV3

&nbsp;&nbsp;&nbsp; IDE-Version:  
&nbsp;&nbsp;&nbsp; µVision3 V3.50  
&nbsp;&nbsp;&nbsp; Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2007

&nbsp;&nbsp;&nbsp; Tool Version Numbers:  
&nbsp;&nbsp;&nbsp; Toolchain Path:&nbsp;&nbsp;&nbsp; C:\Keil\ARM\BIN30  
&nbsp;&nbsp;&nbsp; C Compiler:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ARMCC.Exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V3.0.0.951  
&nbsp;&nbsp;&nbsp; Assembler:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ARMASM.Exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V3.0.0.951  
&nbsp;&nbsp;&nbsp; Linker/Locator:&nbsp;&nbsp;&nbsp;&nbsp; ARMLINK.Exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V3.0.0.951  
&nbsp;&nbsp;&nbsp; Librarian:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ARMAR.Exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V3.0.0.951  
&nbsp;&nbsp;&nbsp; Hex Converter:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FROMELF.Exe&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V3.0.0.951  
&nbsp;&nbsp;&nbsp; CPU DLL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SARM.DLL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V3.04  
&nbsp;&nbsp;&nbsp; Dialog DLL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DARMP.DLL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V1.13  
&nbsp;&nbsp;&nbsp; Target DLL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BIN\UL2ARM.DLL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V1.26  
&nbsp;&nbsp;&nbsp; Dialog DLL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TARMP.DLL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; V1.11f

My question is, are we using different compiler? because it seems that those errors is shown because of the compiler is treating the code differently?  
and indeed, when I tried to compile using the original project file (rtosdemo\_ARM.Uv2), it said about cannot find the compiler.

What should I do to compile these project files?

Thanks in advance,

Regards,  
Widita

---

<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:** [October 29, 2008, 9:15am UTC](https://forums.freertos.org/t/lpc2888-port/1982/2 "2008-10-29T09:15:25Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, October 29, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/51ce0008/#0159/1bd2):

If you are using [FreeRTOS.org](http://FreeRTOS.org) V5.1.0 then the project is setup to use the Keil/RVDS compiler.&nbsp; If you are using a previous version then the project is setup to use the old and now obsolete Keil/Keil compiler.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 30, 2008, 3:01pm UTC](https://forums.freertos.org/t/lpc2888-port/1982/3 "2008-10-30T15:01:57Z")

</div>

**[widita](https://sourceforge.net/u/widita/)** wrote on [Thursday, October 30, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/51ce0008/#0159/8af6):

Oh,  
I am not aware that v5.10 has been released,

I will port my project right away and keep you updated.

Thanks
