[an error occurred while processing this directive]
|
Вот как определяться в KEIL -
1. void func(void) reentrant, остальные функции NON-REENTRANT FUNCTION (причем тут глобальные переменные?)
2. Далее надо в конфигурционном фаиле STARTUP.A51 задать размер reentrant стека
Reentrant functions
http://www.keil.com/support/man/docs/c51/c51_le_reentrantfuncs.htm
Reentrant functions use the default memory model to determine which memory space to use for the reentrant stack.