This declaration const char code* const gBuildDate = __DATE__; gives lots of link errors when I use RTX51 Tiny but is fine without RTX. (My program uses conditional compilation to build either a RTX or non-RTX version) Any ideas?
Ok Ive realised whats wrong - I was running out of DATA space. If I change the declaration to this const char code* code gBuildDate = __DATE__; its OK. I expected since the pointer was 'const' it would automatically go into code space but apparently not, you have to use 'code'.