hello!! could you tell me from where the function load_overlay call its parameter "int n" PS:the function is implemented by keil team
i couldn't force the linker to use the mecanism overlay_manager implemented by keil because the linker do it automaically
Hello Hamzi,
It sounds like you want to do something like this:
www.keil.com/.../armclang_dev_pge1466073357552.htm
If so, please tell the Keil IDE not to use the values from the options for target -> Target tab, to automatically generate a linker scatter file.
You can then customize the scatterfile to fit your needs
These links might help:
http://www.keil.com/support/man/docs/uv4/uv4_dg_adsld.htm
http://www.keil.com/support/docs/3701.htm
http://www.keil.com/support/docs/3629.htm
Also, I assume that you cross-posted this request at:
community.arm.com/.../overlay_manager
If so, you might want to link from there to over here.
thanks for your help Ron , in fact am working with the toolchain 5.02 so there is some linker command such as --overlay_veneers wich are not supported on my toolchain so am searching how to force the linker to not overlay section automatically i want that the overlay_manager will do the job
The overlay mechanism works differently in ARM compiler 5. This article may be useful to you:
infocenter.arm.com/.../index.jsp
See also:
www.keil.com/.../armlink_pge1362066004071.htm
thanks for replying kevin , in fact i read all document in the keil support but there is no unfortunately a clear explanation ! haven't you any extra information to add ! because the mecanism deescribed such as overlay_manager and load overlay .. doesn't work i want to force the linker to overlay modules with that mecanism not automatically
Hello Ham,
Are you still having issues with this?
On the 2nd link, did you see that there was example code in a zip file?
the "Download example source code" link.
It provided the bare bones of an overlay manager. You will need this overlay manager because the Arm libraries will not do the overlays automatically for you.
If you are having issues adapting this sample code to work in a Keil IDE project, let us know.
Good luck with your project.