Cicero
Active Member
This reminds me of 8051 issues and how it deals with larger than 64K flash devices. I do not envy you.
What you're asking is almost an automatic makefile script, which moves things at the linker stage. Surely though, there's a reason for the banks, and this "linker wrapper" or whatever you wanna call it, can't just reassign anything it wants? Certain functions need to be in certain banks?
Also to do this, we need to know how your makefile/linker file looks and works? IE: Examples of them. I know you said you're using your own architecture, but that fact really doesn't help us here. To me there are too many unknowns to really help you out.
What you're asking is almost an automatic makefile script, which moves things at the linker stage. Surely though, there's a reason for the banks, and this "linker wrapper" or whatever you wanna call it, can't just reassign anything it wants? Certain functions need to be in certain banks?
Also to do this, we need to know how your makefile/linker file looks and works? IE: Examples of them. I know you said you're using your own architecture, but that fact really doesn't help us here. To me there are too many unknowns to really help you out.