boards/opencm904: remove custom vector base address
This commit is contained in:
parent
833440f65c
commit
27057d4c61
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
* @{
|
* @{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user