CW 3.1 HCS12
I need to run code from stack to erase and program flash.
I have implemented TN235, thinking it will allow me to write programs in C,
put the code on the stack and execute from there. Although not absolutely
necessary, I would prefer to be able to call functions also located in banked memory.
TN235 seems to resolve all this... BUT, the compiler complains about:
#pragma CODE_SEG NEAR PIC ToCopyToStack /* near and position independent */
issuing warning C3802: Segment pragma incorrect
All help much appreciated