LPC2214 Porting Problem
Hi,
I’m trying to port FreeRTOS to a LPC2214 platform and are having some problems…
I have modifed the linker script to fit the LPC2214 (FLASH=256K and RAM=16K). My problem is when compiling I get an error regrading the .bss region is full.
"region ram is full (rtosdemo.elf section .bss)"
I have striped the kernels applications down to just one – a LED flasher. On the FreeRTOS homepage is mentioned that the kernel only uses about 85 bytes of RAM.
Regards
Jens Alsig
LPC2214 Porting Problem
Take a look in FreeRTOSConfig.h which should be in the same directory as the makefile. What is configTOTAL_HEAP_SIZE set to? This is effectively defining the size of an array so must fit within your 16K, with room left over for the various other things required with a normal application.
Take a look at http://www.freertos.org/a00111.html for more info.
LPC2214 Porting Problem
hmmm It WAS set to 23*1024… I have just changed it to 16* 1024 and it works…
Thanks
LPC2214 Porting Problem
14K might be a better bet – there is RAM used for other things also.
LPC2214 Porting Problem
Ok Thanks. I do that