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 ]    [ Privacy ]    [ Sitemap ]    [ ]

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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

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

Xilinx Microblaze and Zynq partner