boards/opencm904: remove custom vector base address

This commit is contained in:
Vincent Dupont 2017-03-17 18:09:24 +01:00
parent 833440f65c
commit 27057d4c61
2 changed files with 0 additions and 10 deletions

View File

@ -37,9 +37,6 @@ void board_init(void)
/* disable bootloader's TIMER update interrupt */ /* disable bootloader's TIMER update interrupt */
TIM2->DIER &= ~(TIM_DIER_UIE); TIM2->DIER &= ~(TIM_DIER_UIE);
/* configure the RIOT vector table location to internal flash + bootloader offset */
SCB->VTOR = LOCATION_VTABLE;
/* remap USART1 to PB7 and PB6 */ /* remap USART1 to PB7 and PB6 */
AFIO->MAPR |= AFIO_MAPR_USART1_REMAP; AFIO->MAPR |= AFIO_MAPR_USART1_REMAP;
} }

View File

@ -25,13 +25,6 @@
extern "C" { extern "C" {
#endif #endif
/**
* @name Define the location of the RIOT image in flash
* @{
*/
#define LOCATION_VTABLE (0x08003000)
/** @} */
/** /**
* @name xtimer configuration * @name xtimer configuration
* @{ * @{