starting freeRTOS on LPC1769

Posted by alpha86 on May 31, 2012
I am trying to start off from an updated freeRTOS implementation for my RDB1768v2 board. I found integration between the freeRTOS and the nxp libraries and cmsis a confusion with the official example : http://www.freertos.org/FreeRTOS_Support_Forum_Archive/March_2011/freertos_FreeRTOS_RDB1768_examples_with_LPCXpresso_4394988.html

then I found the contributed source from Richard http://www.freertos.org/Interactive_Frames/Open_Frames.html?http://interactive.freertos.org/forums . It seems to be the best place to start ( this port uses the CMSIS 2.0 and the peripheral library of nxp).

However I wanted to start from scratch and not with full load of extra files, and I'm not sure if the project is suitable for my board, so I decided to delete off the FreeRTOS IO files, and face some mem files error (apparently it uses the heap2 configuration, I'm not familiar with this, so I copy the heap3 file from the official port). I can compile and run for now, but I really cant be sure if this is a good configuration. I will like to know:

1) Is there any particular configuration/files I should take note of? The code seems to be written for the LPCXpresso Base Board BSP, and I am using the RDB1768v2 (same LPC1769 chip though). Also, can I actually just delete those files from the project? The files I have deleted are:
FreeRTOS-Plus-CLI folder
FreeRTOS-Plus-IO folder
FreeRTOSIOConfig.h
FreeRTOS_IO_BSP.h
printf-stdarg.c
Examples,FatFS,IwIP folder, change heap_2.c to heap_3.c

2) I hope it's not too demanding, I will really appreciate if there's a strip down version of that project. (i.e. with the freeRTOS i/o and cli removed).

Any input will be much appreciated :)

RE: starting freeRTOS on LPC1769

Posted by alpha86 on May 31, 2012
The correct url for richard's contributed source is http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_IO/Demo_Applications/LPCXpresso_LPC1769/NXP_LPC1769_Demo_Description.shtml

RE: starting freeRTOS on LPC1769

Posted by Richard on May 31, 2012
I am guessing that you are using Code Red tools, so either LPCXpresso IDE or Red Suite. In either case, there is a wizard in the IDE that will create a simple FreeRTOS hello world project for you. There is also a project for the RDB1768 V1 board in the main FreeRTOS zip file download.

Regards.