Quality RTOS & Embedded Software

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


Loading

How to use external interrupt with FreeRTOS

Posted by Sarun Chattunyakit on October 7, 2010
I use LPC2148 with FreeRTOS and I want to test xSemaphoreGiveFromISR function. I try to use only external interrupt it work but when I use FreeRTOS it doesn't work. I guess this problem is happen because startup file. I use one startup file with one project it can run freeRTOS but I use another startup file is cannot run freeRTOS but can run external interrupt. I check the different between 2 files I found this

ISR_Stack_Size EQU (UND_Stack_Size + SVC_Stack_Size + ABT_Stack_Size + \
FIQ_Stack_Size + IRQ_Stack_Size)

in the project that can run external interrupt but FreeRTOS doesn't work.
How can I do with startup file?

I use Keil IDE

Thank you


RE: How to use external interrupt with FreeRTOS

Posted by MEdwards on October 7, 2010
I think the LPC2138 demo uses an external interrupt connected to a button on the Crossfire board. Can you copy that?


[ 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.


Careers

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

Renesas

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