mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-25 07:34:05 -06:00
stm32: Move VTOR fixup from main() to chip specific code
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
8cb3d09484
commit
80e17b1e53
3 changed files with 10 additions and 3 deletions
|
@ -5,7 +5,6 @@
|
|||
// This file may be distributed under the terms of the GNU GPLv3 license.
|
||||
|
||||
#include "autoconf.h" // CONFIG_MCU
|
||||
#include "board/armcm_boot.h" // VectorTable
|
||||
#include "command.h" // DECL_CONSTANT_STR
|
||||
#include "internal.h" // clock_setup
|
||||
#include "sched.h" // sched_main
|
||||
|
@ -23,8 +22,6 @@ DECL_COMMAND_FLAGS(command_reset, HF_IN_SHUTDOWN, "reset");
|
|||
int
|
||||
main(void)
|
||||
{
|
||||
SCB->VTOR = (uint32_t)VectorTable;
|
||||
|
||||
clock_setup();
|
||||
|
||||
sched_main();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue