mostly I use STM32F1xx MCUs for my projects. In that MCU a Vector Table Offset is given:
#define VECT_TAB_OFFSET 0x00000000U //copied from system_stm32f1xx.c
I need to change these Offset in case of using a bootloader which is located at Offset 0x00000000
My Main program is located at Offset 0x0000D800.
Now I want to use my bootloader which in made for STM32F1xx on an STM32F0xx. Everything is pretty similar but as I see the STM32F072 has no Vector Table Offset.
I read about it that its necessary that the bootloader copys the VTOR to RAM and move it.
I can't write ASM Code so is there an example or an instruction how to do that? Or is there an easy way to add a Offset Address?