LPC214x's BSP for RTEMS [Success!]
dave madden
dhm at mersenne.com
Tue Jun 19 21:34:49 UTC 2007
>>>>> "JS" == Joel Sherrill <joel.sherrill at oarcorp.com> writes:
JS> You can also break at Init and see how much memory is left in
JS> the heap and Workspace. The RTEMS GDB macros should have this
JS> capability. confdefs.h leans to minimum but it still may be a
JS> bit conservative.
My notes are at home, but IIRC there was about 7K available after the
data segment, executive stacks and workspace (for Hello). Ticker went
over 32k just for the data seg, stacks and workspace.
JS> Are you compiling with -Os?
No, but will try next time.
JS> Ray has mentioned that adding the missing thumb support in
JS> score/cpu/arm and compiling with Thumb will probably shrink
JS> some also.
Actually, the 2148 has 512K of Flash, so the problem is not code
size. There's just not enough RAM...
d.
More information about the users
mailing list