Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


LPC21xx on IAR compiler port

Posted by Nobody/Anonymous on March 20, 2005
Hi Everybody,
I'm trying to use IAR Systems compiler to build FreeRTOS on LPC2138 ARM processor. Before wasting time, I'd like to hear from experienced developers the best way to perform the task. I found the 21xx Keil port and the IAR port for AtmelSAM7S64 in the source tree and my actual idea is to do some 'merging'.

Any tips will be appreciated, I have some years of embedded development experience, but I'm completely new to IAR, LPC and FreeRTOS ...(just moved to another company :-)

My Best Regards, thanks for any help

RE: LPC21xx on IAR compiler port

Posted by Richard on March 21, 2005

I think as you say you can merge the two ports as:

1)Take the IAR project for the SAM 7. This will give you all the correct compiler settings etc. and the correct files.

2)Change the peripheral setup in the included project files (timer, etc) to that found in the LPC port (port.c and portISR.c). This should hopefully be just a cut and past job.

3)Check the startup code. You might be able to take the boot.s from the GCC LPC port.

The two cores are the same, only the peripherals are different so hopefully the main change will be in the startup code (setting the PLL, etc), setup of the interrupts (using the LPC VIC) and the timer setup (port.c).

Again sorry for belated and rushed response, but out of the office at the moment!

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

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists