> Does anyone have an Eclipse lpc2292 FreeRTOS port?
>
> The FreeRTOS link on Keil's site
> (http://www.keil.com/dd/chip/3652.htm
> <http://www.keil.com/dd/chip/3652.htm> ) links to a 2106 port. Would
> this be compatible? I would assume some memory mappings would probably
> be changed. Any other changes I should know about?
I presume you are wanting to use GCC as you mention Eclipse. If so, I would
suggest:
1) Downloading the LPC2368 Eclipse FreeRTOS.org demo
http://www.freertos.org/portlpc2368_Eclipse.html
2) Reading the installation instructions (I mention that quite a lot :o)
http://www.freertos.org/Eclipse.html
3) In the makefile, change the inclusion of the file:
___a) Change the definition compiler option "-I
$(RTOS_SOURCE_DIR)/portable/GCC/ARM7_LPC23xx" to "-I
$(RTOS_SOURCE_DIR)/portable/GCC/ARM7_LPC2000" [just the last three
characters are different].
___b) Remove all web server, Ethernet and TCP/IP stack code.
4) Edit the file
FreeRTOS\Demo\ARM7_LPC2368_Eclipse\RTOSDemo\ParTest\ParTest.c so it toggles
the LED that are connected to your hardware. Check the LED flashing code
works using a simple hello world style program before trying them within a
FreeRTOS.org application.
5) Edit main() so that is just contains the following:
int main( void )
{
prvSetupHardware();
vStartLEDFlashTasks( mainFLASH_PRIORITY );
vTaskStartScheduler();
return 0;
}
This just creates three tasks that flash three different LEDs at different
frequencies. Its a simple starting point.
6) Edit the file FreeRTOS\Demo\ARM7_LPC2368_Eclipse\RTOSDemo\lpc2368.ld so
the flash and ram sizes (at the top of the file) are correct, and remove the
references to USB and Ethernet RAM.
Try compiling it. I'm sure there will be a few things I forgot to mention,
but you get the idea.
Regards,
Richard.
+ http://www.FreeRTOS.org
13 official architecture ports, 1000 downloads per week.
+ http://www.SafeRTOS.com
Certified by TÜV as meeting the requirements for safety related systems.