mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
boards/opencm9-04: disable bootloader's timer interrupt
This commit is contained in:
parent
1af1727759
commit
e7b9104e03
@ -34,6 +34,9 @@ void board_init(void)
|
||||
/* disable bootloader's USB */
|
||||
RCC->APB1ENR &= ~RCC_APB1ENR_USBEN;
|
||||
|
||||
/* 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user