Am trying to use a stripped down version of the Rowley port of the STM32F107 demo to make a UDP bootlader. I therefore need to access the VTOR register. A search shows that misc.c has functions for changing the value of that register, but once it’s included in the project it tells me it can’t find core_cm3.h. If I give the project access to that header, it then tells me that things like #define SCS_BASE is redefined and gives errors such as:
static declaration of ‘__WFI’ follows non-static declaration
__WFI was previously defined in cortexm3_macros.h
Does anyone know how I can get access to the VTOR register without all these errors please?
I should stress that I’ve been using this demo for a while now with no problems, it’s just this issue of reloacting the vector table that’s the problem!