stm32/boards/STM32H573I_DK: Enable the SD card.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2023-11-17 14:17:16 +11:00
parent c34941109f
commit 92741a3438
1 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,7 @@
#define MICROPY_HW_ENABLE_ADC (1)
#define MICROPY_HW_ENABLE_DAC (1)
#define MICROPY_HW_ENABLE_USB (1)
#define MICROPY_HW_ENABLE_SDCARD (1)
#define MICROPY_HW_HAS_SWITCH (1)
#define MICROPY_HW_HAS_FLASH (1)
@ -106,6 +107,11 @@
#define MICROPY_HW_USB_FS (1)
#define MICROPY_HW_USB_MAIN_DEV (USB_PHY_FS_ID)
// SD card
#define MICROPY_HW_SDCARD_DETECT_PIN (pin_H14)
#define MICROPY_HW_SDCARD_DETECT_PULL (GPIO_PULLUP)
#define MICROPY_HW_SDCARD_DETECT_PRESENT (GPIO_PIN_RESET)
// Ethernet via RMII
#define MICROPY_HW_ETH_MDC (pin_C1)
#define MICROPY_HW_ETH_MDIO (pin_A2)