summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h4
-rw-r--r--ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv2
-rw-r--r--ports/stm32/boards/ARDUINO_NICLA_VISION/stm32h7xx_hal_conf.h2
3 files changed, 3 insertions, 5 deletions
diff --git a/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h b/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
index 3a2def4d4..796a9fae9 100644
--- a/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
+++ b/ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h
@@ -49,8 +49,8 @@ void NICLAV_board_low_power(int mode);
#define MICROPY_BOARD_ENTER_STANDBY NICLAV_board_low_power(2);
void NICLAV_board_osc_enable(int enable);
-#define MICROPY_BOARD_OSC_ENABLE NICLAV_board_osc_enable(1);
-#define MICROPY_BOARD_OSC_DISABLE NICLAV_board_osc_enable(0);
+#define MICROPY_BOARD_PRE_STOP NICLAV_board_osc_enable(0);
+#define MICROPY_BOARD_POST_STOP NICLAV_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_NICLA_VISION/pins.csv b/ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv
index 7996e7549..02859ef31 100644
--- a/ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv
+++ b/ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv
@@ -237,4 +237,4 @@ I2C3_SDA,PC9
-QSPI2_D1,-PF9
-QSPI2_D2,PE2
-QSPI2_D3,PD13
--SE05X_EN,-PG0
+SE05X_EN,-PG0
diff --git a/ports/stm32/boards/ARDUINO_NICLA_VISION/stm32h7xx_hal_conf.h b/ports/stm32/boards/ARDUINO_NICLA_VISION/stm32h7xx_hal_conf.h
index dd71ad71b..0175f66b7 100644
--- a/ports/stm32/boards/ARDUINO_NICLA_VISION/stm32h7xx_hal_conf.h
+++ b/ports/stm32/boards/ARDUINO_NICLA_VISION/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