I am working on porting code from IAR EWARM to Atollic TrueStudio. This big project is divided in 3 parts, Bootloader, Firmware A and Firmware B, all three are different projects and are separate images that need to be flashed into the microcontroller (STM32- cortex m3). I have two questions
1. How should the startup.s be modified so that I can copy the vector table from FLASH into RAM. I have relocated the vector table address using VTOR.2. Similarly how should i port __ramfunc (IAR directive that helps run code out of RAM). I have used __attribute(section("RAMFN")) and added RAMFN to the linker script. Is that all?
I am new to linker script and low level programming. Any advise when it comes to porting code and references for the same would be helpful.
Thank you for your reply. I'll try and watch the videos right away.