what's the value for RTX_CPU_TYPE in rtxsetup.inc for at89c51ed2, my programm was running on DS80C320,and now compact reentrant funcions don't work for Atmel uC. I think wrong cpu type selection is the cause.