This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C51 Code banking: library

I have following question about code banking.
There's some small tests, that uses one big library.
So, how can I put this library to different code banks?
Ofc, I can include this tests right in library project, but are there any other solutions?

Parents
  • "What you're being told is that you don't need to explicitly specify which bank the code goes into. The linker will fit the code into the banks which you say are available."
    Sure? But linker can't split library to different code banks. It's not a project or smth. It's only .LIB with some API.
    Ive solved this problem, but I dont like my solution at all. And I want another one.

Reply
  • "What you're being told is that you don't need to explicitly specify which bank the code goes into. The linker will fit the code into the banks which you say are available."
    Sure? But linker can't split library to different code banks. It's not a project or smth. It's only .LIB with some API.
    Ive solved this problem, but I dont like my solution at all. And I want another one.

Children