Quality RTOS & Embedded Software

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




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




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

Latest News

FreeRTOS kernel V10 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