summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h4
-rw-r--r--ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv2
-rw-r--r--ports/stm32/boards/ARDUINO_PORTENTA_H7/stm32h7xx_hal_conf.h2
3 files changed, 3 insertions, 5 deletions
diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h b/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h
index 3a012446b..860a0f688 100644
--- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h
+++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.h
@@ -49,8 +49,8 @@ void PORTENTA_board_low_power(int mode);
#define MICROPY_BOARD_ENTER_STANDBY PORTENTA_board_low_power(2);
void PORTENTA_board_osc_enable(int enable);
-#define MICROPY_BOARD_OSC_ENABLE PORTENTA_board_osc_enable(1);
-#define MICROPY_BOARD_OSC_DISABLE PORTENTA_board_osc_enable(0);
+#define MICROPY_BOARD_PRE_STOP PORTENTA_board_osc_enable(0);
+#define MICROPY_BOARD_POST_STOP PORTENTA_board_osc_enable(1);
// PLL1 400MHz/50MHz for SDMMC and FDCAN
// USB and RNG are clocked from the HSI48
diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv b/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv
index 64082d87b..da2bed78c 100644
--- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv
+++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/pins.csv
@@ -265,4 +265,4 @@ I2C3_SCL,PH7
-QSPI2_D1,PD12
-QSPI2_D2,-PF7
-QSPI2_D3,PD13
--SE05X_EN,-PI12
+SE05X_EN,-PI12
diff --git a/ports/stm32/boards/ARDUINO_PORTENTA_H7/stm32h7xx_hal_conf.h b/ports/stm32/boards/ARDUINO_PORTENTA_H7/stm32h7xx_hal_conf.h
index dd71ad71b..0175f66b7 100644
--- a/ports/stm32/boards/ARDUINO_PORTENTA_H7/stm32h7xx_hal_conf.h
+++ b/ports/stm32/boards/ARDUINO_PORTENTA_H7/stm32h7xx_hal_conf.h
@@ -16,8 +16,6 @@
#define DATA_CACHE_ENABLE 1
#define INSTRUCTION_CACHE_ENABLE 1
-#define DATA_CACHE_ENABLE 1
-#define INSTRUCTION_CACHE_ENABLE 1
#define PREFETCH_ENABLE 1
#define USE_RTOS 0