summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/stm32/main.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ports/stm32/main.c b/ports/stm32/main.c
index d55f1a2c3..ccc8fd1ae 100644
--- a/ports/stm32/main.c
+++ b/ports/stm32/main.c
@@ -369,14 +369,6 @@ void stm32_main(uint32_t reset_mode) {
// set the system clock to be HSE
SystemClock_Config();
- // enable GPIO clocks
- __HAL_RCC_GPIOA_CLK_ENABLE();
- __HAL_RCC_GPIOB_CLK_ENABLE();
- __HAL_RCC_GPIOC_CLK_ENABLE();
- #if defined(GPIOD)
- __HAL_RCC_GPIOD_CLK_ENABLE();
- #endif
-
#if defined(STM32F4) || defined(STM32F7)
#if defined(__HAL_RCC_DTCMRAMEN_CLK_ENABLE)
// The STM32F746 doesn't really have CCM memory, but it does have DTCM,