Browse Source

boards/spark-core: remove custom vector base address

pr/rotary
Vincent Dupont 6 years ago
parent
commit
833440f65c
  1. 2
      boards/spark-core/board.c
  2. 5
      boards/spark-core/include/board.h

2
boards/spark-core/board.c

@ -40,6 +40,4 @@ void board_init(void)
SysTick->CTRL = 0;
/* signal to spark bootloader: do not enable IWDG! set Stop Mode Flag! */
BKP->DR9 = 0xAFFF;
/* configure the RIOT vector table location to internal flash + spark bootloader offset */
SCB->VTOR = LOCATION_VTABLE;
}

5
boards/spark-core/include/board.h

@ -30,11 +30,6 @@
extern "C" {
#endif
/**
* @name Define the location of the RIOT image in flash
*/
#define LOCATION_VTABLE (0x08005000)
/**
* @name Tell the xtimer that we use a 16-bit peripheral timer
*/

Loading…
Cancel
Save