Question
How to set VTOR contents from a linker command file
I have the same code that I want to run in several different configurations. I have banked memory. The code will be run from both banks. In order to run the code from bank 2, the VTOR register needs to be set to the IVT address in the second bank. Since the code itself is the same, I'd like to be able to set the VTOR contents in the linker command file. Any ideas? Thanks.
Lee
