Code examples in Assembly
#2
Hello,

It is the linker (ld) in a compilation process that does what you want automatically. Unfortunately you will have to read a bit about linking and relocation to understand what is needed. Then you will be able to adapt the linker file (link.ld) so that the generated code/data from your C file resides in the physical address space of your design. Most PULP based systems actually have the necessary configuration as part of their include files where you can adjust different types of memory, their size and the physical address.

Hope that helps
KGF
Visit pulp-platform.org and follow us on twitter @pulp_platform
Reply


Messages In This Thread
Code examples in Assembly - by ivanhira - 04-11-2023, 07:14 PM
RE: Code examples in Assembly - by kgf - 04-12-2023, 06:41 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)