I am looking at the heap in the c firmware section for the nxt.
I am a little confused as the values that i am seeing don't make sense to me.
__free_ram_start__ = 0
__free_ram_end__ = 385246415
These are the values as seen after the hardware has inited, but before the nxt_main is called. They are also the same after have been rounded up and truncated down, as in memory.c
Assuming that the values are in bytes, this give a heap of size 385246415/1024/1024 = 367.39MB
when i look in lejos_nxt_rom.ld it says that the ram_start should be set to the end of the bss section. See as i have running code i don't see how it can be 0. Also, this heap size can't be right.
I am clearly misunderstanding something, any and all help appreciated.