2023-05-02 12:40 AM
Hi!
I'd like to set a custom section in the linker script file to store firmware specific constant data. This section should be at the head of the firmware binary with a fix offset address. I was able to create a section at the end of flash area but that way the entire flash area must be in the binary file which becomes too big (my binary is ~240K and it'd be a bandwidth overkill to use 512K binary).
I also had some experiments to place the section before the interrupt handler table but it looked like I have to modify the system startup assembly file - which is okay but first I'd like to check if any other options exists. Thank you!
2023-05-02 03:34 AM
Make a hole in the front, between the vectors and the body of the application code