# starting freeRTOS on LPC1769 

**URL:** <https://forums.freertos.org/t/starting-freertos-on-lpc1769/214>\
**Category:** Kernel\
**Created:** [May 31, 2012, 4:59am UTC](https://forums.freertos.org/t/starting-freertos-on-lpc1769/214 "2012-05-31T04:59:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [May 31, 2012, 4:59am UTC](https://forums.freertos.org/t/starting-freertos-on-lpc1769/214/1 "2012-05-31T04:59:26Z")

</div>

**[alpha86](https://sourceforge.net/u/alpha86/)** wrote on [Thursday, May 31, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/0ad979a1/#cdf0):

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](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](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&nbsp; 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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [May 31, 2012, 5:03am UTC](https://forums.freertos.org/t/starting-freertos-on-lpc1769/214/2 "2012-05-31T05:03:35Z")

</div>

**[alpha86](https://sourceforge.net/u/alpha86/)** wrote on [Thursday, May 31, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/0ad979a1/#13b8):

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](http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_IO/Demo_Applications/LPCXpresso_LPC1769/NXP_LPC1769_Demo_Description.shtml)

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [May 31, 2012, 8:09am UTC](https://forums.freertos.org/t/starting-freertos-on-lpc1769/214/3 "2012-05-31T08:09:22Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Thursday, May 31, 2012](https://sourceforge.net/p/freertos/discussion/382005/thread/0ad979a1/#2e38):

I am **guessing** that you are using Code Red tools, so either LPCXpresso IDE or Red Suite.&nbsp; In either case, there is a wizard in the IDE that will create a simple FreeRTOS hello world project for you.&nbsp; There is also a project for the RDB1768 V1 board in the main FreeRTOS zip file download.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 16, 2019, 11:46am UTC](https://forums.freertos.org/t/starting-freertos-on-lpc1769/214/4 "2019-04-16T11:46:44Z")

</div>

**[kamleshpatel](https://sourceforge.net/u/kamleshpatel/)** wrote on [Tuesday, April 16, 2019](https://sourceforge.net/p/freertos/discussion/382005/thread/0ad979a1/#d291):

Dear Sir  
i am new with FreeRTOS and iam work on LPC1769 mbed board.  
i am write driver for UART.it is work normally but if i use semaphore or mutex for interrupt handling then it stuck on UART3\_IRQHandler function.i have attached my code with it please find it.  
when i run this code it stuck on UART3\_IRQHandler function and not running any thread.  
please guide to resolve it.  
remarks:- without semaphore or mutex it receive and send data on UART is ok.but in fast data on UART it is miss data so i think to used semaphore and mutex.

please guide me to resolve this problem.  
thanks in advance.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [April 16, 2019, 3:07pm UTC](https://forums.freertos.org/t/starting-freertos-on-lpc1769/214/5 "2019-04-16T15:07:03Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, April 16, 2019](https://sourceforge.net/p/freertos/discussion/382005/thread/0ad979a1/#d291/76f8):

It looks like you have replied to a very old thread and not attached  
your source code as you say - suggest creating a new thread.
