From: brOS 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.
>
>
How should I configure FreeRTOS to be able to run it on MSP430f2274. The
problem is it has only 1KB of RAM. I tried to run FreeRTOS on MSP430f449
and it works, but when I try to run it on MSP430f2274 FreeRTOS it can't
allocate memory for tasks. I had to reduce size of heap because of its
small RAM but when I do that I have a problem with memory allocation. I am
using IAR workbench....
Please help ...

Regards,
brOS

---------------------------------------
Posted through http://www.EmbeddedRelated.com