Skip to content

Commit e5984fb

Browse files
iabdalkaderdpgeorge
authored andcommitted
stm32/boards/ARDUINO_NICLA_VISION: Update board config files.
Changes are: - Add pre/post stop mode entry macros. - Make SE05X pin accessible. - Remove duplicate HAL macros. Signed-off-by: iabdalkader <[email protected]>
1 parent a4e3830 commit e5984fb

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

ports/stm32/boards/ARDUINO_NICLA_VISION/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ void NICLAV_board_low_power(int mode);
4949
#define MICROPY_BOARD_ENTER_STANDBY NICLAV_board_low_power(2);
5050

5151
void NICLAV_board_osc_enable(int enable);
52-
#define MICROPY_BOARD_OSC_ENABLE NICLAV_board_osc_enable(1);
53-
#define MICROPY_BOARD_OSC_DISABLE NICLAV_board_osc_enable(0);
52+
#define MICROPY_BOARD_PRE_STOP NICLAV_board_osc_enable(0);
53+
#define MICROPY_BOARD_POST_STOP NICLAV_board_osc_enable(1);
5454

5555
// PLL1 400MHz/50MHz for SDMMC and FDCAN
5656
// USB and RNG are clocked from the HSI48

ports/stm32/boards/ARDUINO_NICLA_VISION/pins.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,4 +237,4 @@ I2C3_SDA,PC9
237237
-QSPI2_D1,-PF9
238238
-QSPI2_D2,PE2
239239
-QSPI2_D3,PD13
240-
-SE05X_EN,-PG0
240+
SE05X_EN,-PG0

ports/stm32/boards/ARDUINO_NICLA_VISION/stm32h7xx_hal_conf.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
#define HSE_STARTUP_TIMEOUT (5000)
1515
#define LSE_STARTUP_TIMEOUT (5000)
1616

17-
#define DATA_CACHE_ENABLE 1
18-
#define INSTRUCTION_CACHE_ENABLE 1
1917
#define DATA_CACHE_ENABLE 1
2018
#define INSTRUCTION_CACHE_ENABLE 1
2119
#define PREFETCH_ENABLE 1

0 commit comments

Comments
 (0)