Building Dynamic C 10.70 on a BL4S200.
This board has 512K of program space (I understand this is 64K of root and 448k of XMEM)
The code compiles to 348160 bytes, says the size of the BIN file and the Dynamic C download window. If I add a line or two of code anywhere, I get "out of xmem code space, refer to DC user manual..."
I referred to the DC 10 user manual AND TN238 "Rabbit memory usage tips" and neither has shed light on why I'm running out of XMEM when I should have almost 100k of it left.
Also, many of the suggestions in TN238 are out of date or deprecated (things I only learned on other forum posts!) Is there a more up to date version of this file?
For reference, I'm compiling with separate I&D, and I have ROOT_SIZE_4K defined to 0x04.