# FreeRTOS 7.0.1 on LPC1768 with EWARM v6.21

**URL:** <https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164>\
**Category:** Kernel\
**Created:** [August 4, 2011, 10:28pm UTC](https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164 "2011-08-04T22:28:52Z")\
**Posts on this page:** 7\
**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:** [August 4, 2011, 10:28pm UTC](https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164/1 "2011-08-04T22:28:52Z")

</div>

**[thanseen](https://sourceforge.net/u/thanseen/)** wrote on [Thursday, August 04, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/3379c16a/#b94e):

The RTOSDemo project for CORTEX\_LPC1768\_IAR does not build in EWARM version 6.21.&nbsp; The error is Pe147, declaration is incompatible with …&nbsp; The 2 files in contention seem to be C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0 Evaluation\arm\inc\c\intrinsics.h and C:\Free RTOS\FreeRTOS\Demo\CORTEX\_LPC1768\_IAR\core\_cm3.h.&nbsp; I have looked over the forum and do not see anyone else reporting this.&nbsp; EWARM v6.21 works great with other projects.&nbsp; This is a WIN7 64 PC, which may be a factor.&nbsp; Any recommendations as to how exactly tochange the core\_cm3.h file are much appreciated.&nbsp; Also - does the RTOSDemo project for LPC1768 with EWARM need to be fixed?&nbsp; Thanks in advance!

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 4, 2011, 10:57pm UTC](https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164/2 "2011-08-04T22:57:43Z")

</div>

**[thanseen](https://sourceforge.net/u/thanseen/)** wrote on [Thursday, August 04, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/3379c16a/#8fa3):

Additional information:

core\_cm3.h does this:&nbsp;&nbsp; extern uint32\_t \_\_get\_PSP(void);  
intrinsics.h does this: \_\_intrinsic unsigned long \_\_get\_PSP( void );

Looks like something should typedef unsigned long into uint32\_t

Am I missing something?

---

<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:** [August 5, 2011, 8:20am UTC](https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164/3 "2011-08-05T08:20:04Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Friday, August 05, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/3379c16a/#fc75):

Your IAR version, and your core\_cm3.h version are no longer compatible as some of the functions defined in the header file are now intrinsics in IAR.

To get around the problem, In IAR, go to the project options-\>General Options category-\>Library configuration tab, and select “use CMSIS”.&nbsp; Then either delete or rename core\_cm3.h.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 5, 2011, 2:32pm UTC](https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164/4 "2011-08-05T14:32:17Z")

</div>

**[thanseen](https://sourceforge.net/u/thanseen/)** wrote on [Friday, August 05, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/3379c16a/#b54c):

Richard -

Worked like a charm!&nbsp; Thanks very much.

Terry

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 5, 2011, 6:05pm UTC](https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164/5 "2011-08-05T18:05:02Z")

</div>

**[thanseen](https://sourceforge.net/u/thanseen/)** wrote on [Friday, August 05, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/3379c16a/#90eb):

The project builds and loads onto the IAR Kickstart board but the web server does not work.&nbsp; The 1-second LED is blinking, so there is some kind of basic functionality.&nbsp; A demo project from IAR that uses uIP (but does not have an RTOS) works fine.&nbsp; My network admin has assigned me IP addresses 10.1.3.16, 17 and 18 for this test.&nbsp; The IAR demo runs with IP address 10.1.3.16 and serves web pages as advertized.&nbsp; I have changed configIP\_ADDR0 through configIP\_ADDR3 in FreeRTOSConfig.h to 10.1.3.17 but my browser cannot connect to 10.1.3.17.&nbsp; Hardware is identical to uIP test with IAR demo.&nbsp; My guess is that there is something like the fix above that needs to be done to make this FreeRTOS demo work with EWARM v6.21.&nbsp; Any wisdom is greatly appreciated!&nbsp; Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 5, 2011, 6:27pm UTC](https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164/6 "2011-08-05T18:27:23Z")

</div>

**[thanseen](https://sourceforge.net/u/thanseen/)** wrote on [Friday, August 05, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/3379c16a/#b408):

My bad.&nbsp; The net mask needs to be changed along with the IP address.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [August 5, 2011, 7:51pm UTC](https://forums.freertos.org/t/freertos-7-0-1-on-lpc1768-with-ewarm-v6-21/1164/7 "2011-08-05T19:51:40Z")

</div>

**[thanseen](https://sourceforge.net/u/thanseen/)** wrote on [Friday, August 05, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/3379c16a/#ee1c):

Working on the USB part of the demo now.

The driver is easy enough to find and with admin rights on the PC, I can use the Device Manager to point Windows at the driver tell it to do the install.&nbsp; However, the driver (usbser.inf) is not set to work with Win7 64-bit.&nbsp; Does anyone have a USB serial port driver that works with Win7 64?

Thanks again!
