diff options
| author | iabdalkader <i.abdalkader@gmail.com> | 2023-09-05 14:14:00 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-09-29 23:08:57 +1000 |
| commit | 9d1a1ed42d96965f3b410a0bb542118f99e69c1b (patch) | |
| tree | 1e14fabc39e76b298f11e5510e6b8ffe4b6c3da3 | |
| parent | 805c750164aed86db3875402bf26e7b12cbe85b1 (diff) | |
mimxrt/Makefile: Enable the FSL USDHC for supported MCU series.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
| -rw-r--r-- | ports/mimxrt/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/mimxrt/Makefile b/ports/mimxrt/Makefile index d5bb7081b..d1ba9663c 100644 --- a/ports/mimxrt/Makefile +++ b/ports/mimxrt/Makefile @@ -152,7 +152,7 @@ ifeq ($(MICROPY_HW_SDRAM_AVAIL),1) SRC_HAL_IMX_C += $(MCU_DIR)/drivers/fsl_semc.c endif -ifeq ($(MICROPY_PY_MACHINE_SDCARD),1) +ifeq ($(MCU_SERIES),$(filter $(MCU_SERIES), MIMXRT1021 MIMXRT1052 MIMXRT1062 MIMXRT1064 MIMXRT1176)) SRC_HAL_IMX_C += $(MCU_DIR)/drivers/fsl_usdhc.c endif |
