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 <i.abdalkader@gmail.com>
This commit is contained in:
iabdalkader
2024-09-19 14:01:30 +02:00
committed by Damien George
parent a4e3830d39
commit e5984fb6da
3 changed files with 3 additions and 5 deletions

View File

@@ -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

View File

@@ -237,4 +237,4 @@ I2C3_SDA,PC9
-QSPI2_D1,-PF9
-QSPI2_D2,PE2
-QSPI2_D3,PD13
-SE05X_EN,-PG0
SE05X_EN,-PG0
Can't render this file because it has a wrong number of fields in line 170.

View File

@@ -14,8 +14,6 @@
#define HSE_STARTUP_TIMEOUT (5000)
#define LSE_STARTUP_TIMEOUT (5000)
#define DATA_CACHE_ENABLE 1
#define INSTRUCTION_CACHE_ENABLE 1
#define DATA_CACHE_ENABLE 1
#define INSTRUCTION_CACHE_ENABLE 1
#define PREFETCH_ENABLE 1