Commit dd009ee5 authored by Federico Vaga's avatar Federico Vaga

bootloader: do not overwrite vector table

It was used with the loader-loader version. Without relocable code we
don't need to move the vector table for the bootloader (we'll need to do
that for the application)
Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent 616283c6
......@@ -109,8 +109,8 @@ int main(void)
/* Enable GPIO clock */
CMU_ClockEnable(cmuClock_GPIO, true);
/* Set new vector table pointer */
SCB->VTOR = 0x20000000;
/* Set new vector table pointer -- needed only if you use the loader-loader */
//SCB->VTOR = 0x20008000;
/* Enable peripheral clocks. */
CMU->HFPERCLKDIV = CMU_HFPERCLKDIV_HFPERCLKEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment