HI I have this fatal error in linking: L6050U: the code size of this image (34620) exceeds the maximum allowed for this version of linker. I use uvision V5.10.0.2 . How can I solve this problem?
IS that really a question that you can't answer yourself?
The message is pretty clear:
the code size of this image (34620) exceeds the maximum allowed for this version of linker
So the answer is pretty obvious:
either make your code smaller, so that it does not exceed the maximum allowed for that version of linker;
or get a different version of the linker (or a diffent linker) which allows programs of that size.
Simples!
The evaluation release is limited to 32KB, buy the full product to generate larger applications.
As Andrew suggests make your application smaller to fit under the evaluation limit.
You could try enabling some optimizations. Like optimize for reduced code size.
Best to not be a cheapskate. if your a serious developer, buy a full licence.
Or consider using GCC for ARM. it really works quite well.
thank you for your benefit answer.
Yes,it seems that I should buy a full licence. my code is not completed yet and more optimization is not possible. thanks guys.