Quality RTOS & Embedded Software

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


how to add an ISR in Rowley for LPC2368.

Posted by raedbenz on November 26, 2009
sorry but i am a newbie to freertos.
i am using rowley with lpc268. i managed to run my hello world task (led flash).
now i would like to add an interrupt on UART0 receveir. how do u define interreupts in freertos ? (i know how to setup registers for UART0, but how to define isr routine and context switching, etc..)
any documentation for that?

RE: how to add an ISR in Rowley for LPC2368.

Posted by MEdwards on November 26, 2009
Rowley for ARM just uses the standard GCC ARM7 port. Look at the Interrupt Service Routines section of this page http://www.freertos.org/portlpc2106.html

I think it is a bit out of date though. The very latest versions of GCC can try and inline the C function call. To avoid this simply call the C function from asm instead. So in the example on the linked page, replace the C function call to vASwitchCompatibleISR_Handler(); with __asm volatile ( "bl vASwitchCompatibleISR_Handler" );

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

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

Latest News

Version 10.1.0 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