Skip to content

Commit

Permalink
Delete overwrites to SCB->VTOR registers
Browse files Browse the repository at this point in the history
  • Loading branch information
Joy committed Jun 28, 2023
1 parent 2123167 commit d88ff73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions os/hal/ports/WB32/WB32F3G71xx/hal_lld.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ void wb32_clock_init(void) {
rccEnableAPB1(RCC_APB1ENR_BMX1EN);
rccEnableAPB2(RCC_APB2ENR_BMX2EN);

SCB->VTOR = FLASH_BASE; /* Vector Table Relocation in Internal FLASH. */

#endif /* WB32_NO_INIT == FALSE */
}

Expand Down
2 changes: 0 additions & 2 deletions os/hal/ports/WB32/WB32FQ95xx/hal_lld.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,6 @@ void wb32_clock_init(void) {
rccEnableAPB1(RCC_APB1ENR_BMX1EN);
rccEnableAPB2(RCC_APB2ENR_BMX2EN);

SCB->VTOR = FLASH_BASE; /* Vector Table Relocation in Internal FLASH. */

#endif /* WB32_NO_INIT == FALSE */
}

Expand Down

0 comments on commit d88ff73

Please sign in to comment.