From: FreeRTOS info on

>>
> But I have one more question? How to write ISR for MSP430 using IAR and
> FreeRTOS. I tried to use #pragma directive but it not works. The problem is
> that there is no examples of ISR interacting with FreeRTOS. I looked for
> TickISR in FreeRTOS and it is written in assembly, and I would like to
> write my ISR in C...
> Please help....
>


Look in the FreeRTOS\Demo\msp430_IAR\serial directory of the FreeRTOS
download - there is a very basic UART driver that has an interrupt that
interacts with the kernel. Generally GCC is the only compiler that
allows the whole thing to be done in C *if* you want the ISR to be able
to cause a context switch.

--

Regards,
Richard.

+ http://www.FreeRTOS.org
Designed for Microcontrollers. More than 7000 downloads per month.

+ http://www.SafeRTOS.com
Certified by T�V as meeting the requirements for safety related systems.

From: brOS on
>>> As
>>> far I can remember I didn't include any of those heap.c files,
>>
>>That is the problem then.
>>
>>
>>--
>>
>>Regards,
>>Richard.
>>
>>+ http://www.FreeRTOS.org
>>Designed for Microcontrollers. More than 7000 downloads per month.
>>
>>+ http://www.SafeRTOS.com
>>Certified by T�V as meeting the requirements for safety related
>systems.
>>
>>
>Yes , it's OK now:)
>
>Thanks a lot !!!
>
>---------------------------------------
>This message was sent using the comp.arch.embedded web interface on
>http://www.EmbeddedRelated.com
>
But I have one more question? How to write ISR for MSP430 using IAR and
FreeRTOS. I tried to use #pragma directive but it not works. The problem is
that there is no examples of ISR interacting with FreeRTOS. I looked for
TickISR in FreeRTOS and it is written in assembly, and I would like to
write my ISR in C...
Please help....

---------------------------------------
This message was sent using the comp.arch.embedded web interface on
http://www.EmbeddedRelated.com