Hello all
 
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 libraries perhaps?
 
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
geo
 
Internal RAM layout:
      0 1 2 3 4 5 6 7 8 9 A B C D E F
0x00:|0|0|0|0|0|0|0|0|a|a|a|a|a|a|a|a|
0x10:|a|a|a|a|b|b|b|b|b|b|b|b|b|c| | |
0x20:|T|S|S|S|S|S|S|S|S|S|S|S|S|S|S|S|
0x30:|S|S|S|S|S|S|S|S|S|S|S|S|S|S|S|S|