[En-Nut-Discussion] area 'bss' not large enough

Harald Kipp harald.kipp at egnite.de
Wed Jan 22 18:00:37 CET 2003


You need to modify os/init.c.

Replace
-------------------------------------------------
if((short)RAMEND - (short)(&__bss_end) > 384)
     NutHeapAdd(&__bss_end, (u_short)RAMEND - 256 - (u_short)(&__bss_end));

*(xramend - 1) = 0x55;
*xramend = 0xAA;
if(*(xramend - 1) == 0x55 && *xramend == 0xAA)
     NutHeapAdd((void *)(RAMEND + 1), (u_short)xramend - RAMEND);
-------------------------------------------------
by
-------------------------------------------------
NutHeapAdd(&__bss_end, 0x7F00 - (u_short)(&__bss_end));
-------------------------------------------------

Harald


At 16:31 20.01.2003 +0100, you wrote:
>When compiling my project with ICC, the internal RAM is too small.
>If I'm switching the 32KB RAM on in the compiler, I can compile but the
>application don't run.
>
>Is it possible to use the external 32KB RAM in general with the OS ?
>How can I set the boundaries, which are used for the OS-HEAP ?
>
>Regards
>Achim
>
>
>
>
>
>_______________________________________________
>En-Nut-Discussion mailing list
>En-Nut-Discussion at egnite.de
>http://www.egnite.de/mailman/listinfo/en-nut-discussion




More information about the En-Nut-Discussion mailing list