Browse Source

boards/opencm904: remove custom vector base address

pr/rotary
Vincent Dupont 6 years ago
parent
commit
27057d4c61
  1. 3
      boards/opencm904/board.c
  2. 7
      boards/opencm904/include/board.h

3
boards/opencm904/board.c

@ -37,9 +37,6 @@ void board_init(void)
/* disable bootloader's TIMER update interrupt */
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 */
AFIO->MAPR |= AFIO_MAPR_USART1_REMAP;
}

7
boards/opencm904/include/board.h

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

Loading…
Cancel
Save