# port pic18f458

**URL:** <https://forums.freertos.org/t/port-pic18f458/2774>\
**Category:** Kernel\
**Created:** [April 18, 2005, 9:47pm UTC](https://forums.freertos.org/t/port-pic18f458/2774 "2005-04-18T21:47:10Z")\
**Posts on this page:** 3\
**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:** [April 18, 2005, 9:47pm UTC](https://forums.freertos.org/t/port-pic18f458/2774/1 "2005-04-18T21:47:10Z")

</div>

**nobody** wrote on [Monday, April 18, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/7bd40c2b/#ad11):

Hello everybody,

I have one problem… sorry for my english bat I’m italian.  
MPLINK 3.40, Linker  
Error - section ‘.udata\_heap\_1.o’ can not fit the section. Section ‘.udata\_heap\_1.o’ length=0x00000404

static struct xRTOS\_HEAP  
{  
&nbsp;&nbsp;&nbsp; unsigned portLONG ulDummy;  
&nbsp;&nbsp;&nbsp; unsigned portCHAR ucHeap[portTOTAL\_HEAP\_SIZE]; \<------- error ??  
} xHeap;

why?  
#define portTOTAL\_HEAP\_SIZE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ( 1024 ) //\<----------erore linker??

thanks of all  
Luca

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 18, 2005, 10:20pm UTC](https://forums.freertos.org/t/port-pic18f458/2774/2 "2005-04-18T22:20:55Z")

</div>

**nobody** wrote on [Monday, April 18, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/7bd40c2b/#ad11/6147):

ok I modify the 18f458.lkr

ACCESSBANK NAME=accessram&nbsp; START=0x0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END=0x5F  
DATABANK&nbsp;&nbsp; NAME=BIG\_BLOCK&nbsp; START=0x60&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END=0x5FF  
DATABANK&nbsp;&nbsp; NAME=bankedsfr&nbsp; START=0xF00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END=0xF5F&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PROTECTED

bat&nbsp; I have order problem…  
undefined DATABANK/SHAREBANK ‘gpr5’ for STACK.

thanks of all  
Luca

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 18, 2005, 10:28pm UTC](https://forums.freertos.org/t/port-pic18f458/2774/3 "2005-04-18T22:28:05Z")

</div>

**nobody** wrote on [Monday, April 18, 2005](https://sourceforge.net/p/freertos/discussion/382005/thread/7bd40c2b/#ad11/041b):

sorry my error  
STACK SIZE=0x60 RAM=BIG\_BLOCK  
by by
