# FreeRTOS on winidea isystem

**URL:** <https://forums.freertos.org/t/freertos-on-winidea-isystem/153>\
**Category:** Kernel\
**Created:** [June 7, 2007, 7:26am UTC](https://forums.freertos.org/t/freertos-on-winidea-isystem/153 "2007-06-07T07:26:46Z")\
**Posts on this page:** 4\
**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:** [June 7, 2007, 7:26am UTC](https://forums.freertos.org/t/freertos-on-winidea-isystem/153/1 "2007-06-07T07:26:46Z")

</div>

**[pinnor](https://sourceforge.net/u/pinnor/)** wrote on [Thursday, June 07, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/09587bd4/#b08d):

Hi to all, i’m using an LPC arm7 (lpc2138) to design a new project and I would like to port FreeRTOS inside my software. This is the first time for me to use an arm7 platform. I’m using the winidea IDE to develop and debug the software (it seems to be similar to Rowley) and I just port and compile the FreeRTOS software, but I have a problem during the debug&nbsp; when the FreeRTOS call the #define portRESTORE\_CONTEXT.  
Is the someone that have just make the porting of FreeRTOS on the i system toolsouite?  
Can you help me?  
Thank you…

---

<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:** [June 7, 2007, 7:39am UTC](https://forums.freertos.org/t/freertos-on-winidea-isystem/153/2 "2007-06-07T07:39:41Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Thursday, June 07, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/09587bd4/#b08d/cfe1):

Do you set the processor into Supervisor mode before calling main()?

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 7, 2007, 8:41am UTC](https://forums.freertos.org/t/freertos-on-winidea-isystem/153/3 "2007-06-07T08:41:46Z")

</div>

**[pinnor](https://sourceforge.net/u/pinnor/)** wrote on [Thursday, June 07, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/09587bd4/#b08d/d9ae):

Not yet. What are the registers that i have to set to get the cpu in the supervisor mode?  
Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 7, 2007, 11:52am UTC](https://forums.freertos.org/t/freertos-on-winidea-isystem/153/4 "2007-06-07T11:52:57Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Thursday, June 07, 2007](https://sourceforge.net/p/freertos/discussion/382005/thread/09587bd4/#b08d/d9ae/c6d5):

Just look at one of the numerous startup files that are included in the download as examples.

Dave.
