[En-Nut-Discussion] RAM limit of 4kB
Harald Kipp
harald.kipp at egnite.de
Wed Jun 2 17:37:33 CEST 2004
Hi Martin,
no, there's no limit to 4k anymore. But there may be some
unresolved stack pointer problems. Most applications won't
be hurt though.
I observed strange stack pointer settings while debugging
with GCC Coff.
(Please do not ask about details, I'm completely confused
myself and there may be no problem at all).
If you are using GCC, try printf_P(PSTR("blah")) to put
the string literals in FLASH.
With ICC however I never observed the stack problem
mentioned above. Set the compiler options to 32k RAM
and you are ready for more variable space.
Harald
At 11:26 02.06.2004 +0200, you wrote:
>hi all
>
>the RAM limit for .data and .bss is set to 4kB. can i set this limit up
>(change value somewhere in a makefile)? in my program i am using lot's of
>printf statements and it would be nice not to define first a string
>variable (moving the text to ROM) and second call the printf statement
>with this variable.
>
>Martin
More information about the En-Nut-Discussion
mailing list