diff --git a/os/hal/boards/SN_SN32F240/board.c b/os/hal/boards/SN_SN32F240/board.c index dfc276c2f2..b1715ea6b2 100644 --- a/os/hal/boards/SN_SN32F240/board.c +++ b/os/hal/boards/SN_SN32F240/board.c @@ -60,8 +60,6 @@ void __early_init(void) { */ void boardInit(void) { - SN_SYS0->EXRSTCTRL_b.RESETDIS = 1; // Disable RESET - SN_SYS0->SWDCTRL_b.SWDDIS = 1; // Disable SWD } void restart_usb_driver(USBDriver *usbp) { diff --git a/os/hal/boards/SN_SN32F240B/board.c b/os/hal/boards/SN_SN32F240B/board.c index 596ee347ce..802d141829 100644 --- a/os/hal/boards/SN_SN32F240B/board.c +++ b/os/hal/boards/SN_SN32F240B/board.c @@ -60,6 +60,4 @@ void __early_init(void) { */ void boardInit(void) { - SN_SYS0->EXRSTCTRL_b.RESETDIS = 1; // Disable RESET - SN_SYS0->SWDCTRL_b.SWDDIS = 1; // Disable SWD } diff --git a/os/hal/boards/SN_SN32F260/board.c b/os/hal/boards/SN_SN32F260/board.c index 72ad880c15..d089216ab6 100644 --- a/os/hal/boards/SN_SN32F260/board.c +++ b/os/hal/boards/SN_SN32F260/board.c @@ -56,5 +56,5 @@ void __early_init(void) { * @brief Board-specific initialization code. */ void boardInit(void) { - SN_SYS0->SWDCTRL_b.SWDDIS = 1; // Disable SWD + } diff --git a/os/hal/boards/SN_SN32F280/board.c b/os/hal/boards/SN_SN32F280/board.c index 596ee347ce..802d141829 100644 --- a/os/hal/boards/SN_SN32F280/board.c +++ b/os/hal/boards/SN_SN32F280/board.c @@ -60,6 +60,4 @@ void __early_init(void) { */ void boardInit(void) { - SN_SYS0->EXRSTCTRL_b.RESETDIS = 1; // Disable RESET - SN_SYS0->SWDCTRL_b.SWDDIS = 1; // Disable SWD } diff --git a/os/hal/boards/SN_SN32F290/board.c b/os/hal/boards/SN_SN32F290/board.c index 596ee347ce..802d141829 100644 --- a/os/hal/boards/SN_SN32F290/board.c +++ b/os/hal/boards/SN_SN32F290/board.c @@ -60,6 +60,4 @@ void __early_init(void) { */ void boardInit(void) { - SN_SYS0->EXRSTCTRL_b.RESETDIS = 1; // Disable RESET - SN_SYS0->SWDCTRL_b.SWDDIS = 1; // Disable SWD }