Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


LPC2888 port

Posted by Widita Budhysutanto on October 28, 2008
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: #52: expected a macro parameter name

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

And here is the IDE-Version of my Keil UV3

┬ÁVision3 V3.50
Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2007

Tool Version Numbers:
Toolchain Path: C:\Keil\ARM\BIN30\
C Compiler: ARMCC.Exe V3.0.0.951
Assembler: ARMASM.Exe V3.0.0.951
Linker/Locator: ARMLINK.Exe V3.0.0.951
Librarian: ARMAR.Exe V3.0.0.951
Hex Converter: FROMELF.Exe V3.0.0.951
Dialog DLL: DARMP.DLL V1.13
Target DLL: BIN\UL2ARM.DLL V1.26
Dialog DLL: TARMP.DLL 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,


RE: LPC2888 port

Posted by Richard on October 29, 2008
If you are using FreeRTOS.org V5.1.0 then the project is setup to use the Keil/RVDS compiler. If you are using a previous version then the project is setup to use the old and now obsolete Keil/Keil compiler.


RE: LPC2888 port

Posted by Widita Budhysutanto on October 30, 2008
I am not aware that v5.10 has been released,

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


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS