# STR71x port

**URL:** <https://forums.freertos.org/t/str71x-port/3663>\
**Category:** Kernel\
**Created:** [March 15, 2005, 9:33am UTC](https://forums.freertos.org/t/str71x-port/3663 "2005-03-15T09:33:14Z")\
**Posts on this page:** 9\
**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:** [March 15, 2005, 9:33am UTC](https://forums.freertos.org/t/str71x-port/3663/1 "2005-03-15T09:33:14Z")

</div>

**nobody** wrote on [Tuesday, March 15, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66):

Has anybody started a port for the STR71x from ST microelectronics. We are currently working on such a port with Real View from ST/ARM and would need help on porting the assembler code!

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 15, 2005, 9:44am UTC](https://forums.freertos.org/t/str71x-port/3663/2 "2005-03-15T09:44:14Z")

</div>

**nobody** wrote on [Tuesday, March 15, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66/7ebd):

See the thread -  
[https://sourceforge.net/forum/forum.php?thread\_id=1239720&forum\_id=382005](https://sourceforge.net/forum/forum.php?thread_id=1239720&forum_id=382005)

Don’t know the conclusion.

The key to ARM ports is the startup code and interrupt handling.

The startup code should ensure stacks are setup for supervisor and IRQ modes + whichever mode main() gets called in.

Does the ST have a vectored interrupt controller?&nbsp; Presuming it does then this will vector IRQ interrupts to the correct address.&nbsp; It is important that this is done directly.&nbsp; Some compiler systems put wrappers around the interrupt service routines that modify the mode and stack.&nbsp; You don’t want this because FreeRTOS does this for you and expects to find the stack unmodified.&nbsp; In other words you need to vector directly to the application ISR code.

Which compiler are you using?

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 15, 2005, 10:29am UTC](https://forums.freertos.org/t/str71x-port/3663/3 "2005-03-15T10:29:01Z")

</div>

**nobody** wrote on [Tuesday, March 15, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66/0623):

We are using the ARM RealView Development Kit with integrated assembler/compiler from ARM.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 15, 2005, 10:51am UTC](https://forums.freertos.org/t/str71x-port/3663/4 "2005-03-15T10:51:54Z")

</div>

**nobody** wrote on [Tuesday, March 15, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66/e4eb):

I have never tried using this ($$$) but have been told there is a limitation that prevents the stack pointer being manipulated.&nbsp; Is this correct?&nbsp; It might be that some code is required to be written in asm ☹

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 15, 2005, 11:51am UTC](https://forums.freertos.org/t/str71x-port/3663/5 "2005-03-15T11:51:07Z")

</div>

**nobody** wrote on [Tuesday, March 15, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66/4c7b):

I didn’t read anything about this limitation, but we have some assembly problems on using the FREERTOS Keil or GCC Port from Philips LPCxxxx! We already posted a service issue to STM! Answer should receive us today afternoon! we’ll see…

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [March 15, 2005, 11:57am UTC](https://forums.freertos.org/t/str71x-port/3663/6 "2005-03-15T11:57:04Z")

</div>

**nobody** wrote on [Tuesday, March 15, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66/4c7b/ba57):

Don’t know why GCC would be a problem.&nbsp; But if using Keil then, as the WEB site says:

"Keil DKARM copmiler version 1.5" must be used.

Don’t know what a copmiler is though 🙂

---

<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:** [March 15, 2005, 12:02pm UTC](https://forums.freertos.org/t/str71x-port/3663/7 "2005-03-15T12:02:38Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, March 15, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66/4c7b/ba57/5bd1):

\>Don’t know what a copmiler is though 🙂

Yes, thankyou spulling is not my best subject.&nbsp; Have fixed the page.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 6, 2006, 3:29am UTC](https://forums.freertos.org/t/str71x-port/3663/8 "2006-04-06T03:29:50Z")

</div>

**[ktrussell](https://sourceforge.net/u/ktrussell/)** wrote on [Thursday, April 06, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66/77b5):

I am at the point in a project where I would like to have FreeRTOS ported to the Philips LPC ARM7 processors. I am using RealView also. Have you made any progress with the port? I would appreciate any help with the RealView port.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 7, 2006, 8:08am UTC](https://forums.freertos.org/t/str71x-port/3663/9 "2006-04-07T08:08:08Z")

</div>

**nobody** wrote on [Friday, April 07, 2006](https://sourceforge.net/p/freertos/discussion/382005/thread/9dd35888/#8d66/77b5/312f):

The Keil CORTEX M3 port in the V4.0.0 download is a RealView port with the Keil IDE I think.
