I'm building the Contiki OS for cc2430 (8051 with model-large
stack-auto). This is the start of my memory layout after building (rest
allocated for stack). What I am trying to achieve is make more room for the
stack, without using --xstack. Using sdcc 3.0.0 #6037
I can easily move the a, b, c Data bytes back to external RAM.
However, what's causing me hassle is the T byte at 0x20. My map file shows
BIT_BANK starting at 0020 with size 1 but nothing listed underneath so I can't
understand what's being put there. I've looked at the various asm files and
I can't find anything. It can't be the bit-addressable SFRs, surely? sdcc
Is it possible to remove T altogether or perhaps move it to,
say, 0x08? Would this result in the stack starting at a lower address? I've
tried --stack-loc, --data-loc, -Wl -bBSEG but no success.
Any advice would be appreciated. Thanks a lot
0 1 2 3 4 5 6 7 8 9 A B C D E