|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
I am a long-time user of the C51 compiler suite for applications in a multitasking environment. The OVERLAY linker directive seems to be interpreted differently in V7.50. My application uses several tasks that run in parallel. On previous C51 versions, to keep tasks from being overlaid, I use this linker directive as follows:
OVERLAY (* ! (task1, task2, task3))
But version 7.50 overlays the data of the different tasks which results in run-time errors in my application. How can I solve this problem?
The change in the behavior of the OVERLAY directive is documented in the RELEASE NOTES file under C51 Version 7.50 Release. To get the old behavior, just change the OVERLAY directive to:
OVERLAY (* ! task1, * ! task2, * ! task3)
Article last edited on: 2005-09-28 12:12:41
Did you find this article helpful? Yes No
How can we improve this article?