89c51 porting problem
Posted by Nobody/Anonymous on October 24, 2006
I've tried to make a porting for 89c51, modifing the cygnal porting, eliminating the reference to sfr paging in the porting file. Now i've some problems: how i can modify the freertosConfig to adeguate the configTOTAL_HEAP_SIZE and the configMINIMAL_STACK_SIZE to the internal Ram (512 byte)?
when i run sdcc whith this option
--model-small -I. -I../Source/include -I../../Source/portable/SDCC/MyBoard -DSDCC_MyBoard --debug --less-pedantic --stack-auto --int-long-reent --float-reent main.c ../../Source/tasks.rel ../../Source/queue.rel (...etc..)
the output is:
?Aslink-warning-Definition of publicc symbol '_EA' found more than once:
library: (the library path)\libsdcc.lib, module:_setjmp
?ASlink-error-could not get 6150 consecutive bytes in internal RAM for aerea DSEG.
RE: 89c51 porting problem
Posted by Nobody/Anonymous on October 25, 2006
I don't think you will achieve much in 512 bytes.
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.