Skip to content

Commit 552b0bb

Browse files
iabdalkaderdpgeorge
authored andcommitted
mimxrt: Remove SDCARD Makefile config option.
This is option is no longer needed as a Makefile option as the USDHC driver is enabled for all supported series. Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
1 parent 9d1a1ed commit 552b0bb

File tree

20 files changed

+12
-16
lines changed

20 files changed

+12
-16
lines changed

ports/mimxrt/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@ endif
331331
# Set default values for optional variables
332332
MICROPY_HW_SDRAM_AVAIL ?= 0
333333
MICROPY_HW_SDRAM_SIZE ?= 0
334-
MICROPY_PY_MACHINE_SDCARD ?= 0
335334

336335
# Configure default compiler flags
337336
CFLAGS += \
@@ -351,7 +350,6 @@ CFLAGS += \
351350
-DMICROPY_HW_FLASH_SIZE=$(MICROPY_HW_FLASH_SIZE) \
352351
-DMICROPY_HW_SDRAM_AVAIL=$(MICROPY_HW_SDRAM_AVAIL) \
353352
-DMICROPY_HW_SDRAM_SIZE=$(MICROPY_HW_SDRAM_SIZE) \
354-
-DMICROPY_PY_MACHINE_SDCARD=$(MICROPY_PY_MACHINE_SDCARD) \
355353
-DSPI_RETRY_TIMES=1000000 \
356354
-DUART_RETRY_TIMES=1000000 \
357355
-DXIP_BOOT_HEADER_ENABLE=1 \

ports/mimxrt/boards/ADAFRUIT_METRO_M7/mpconfigboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_low(pin))
88

99
#define MICROPY_HW_NUM_PIN_IRQS (2 * 32)
10+
#define MICROPY_HW_ENABLE_SDCARD (0)
1011

1112
// Define mapping logical UART # to hardware UART #
1213
// LPUART1 on USB_DBG -> 0

ports/mimxrt/boards/ADAFRUIT_METRO_M7/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ MCU_SERIES = MIMXRT1011
22
MCU_VARIANT = MIMXRT1011DAE5A
33

44
MICROPY_FLOAT_IMPL = single
5-
MICROPY_PY_MACHINE_SDCARD = 0
65
MICROPY_HW_FLASH_TYPE ?= qspi_nor_flash
76
MICROPY_HW_FLASH_SIZE ?= 0x800000 # 8MB
87

ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_low(pin))
88

99
#define MICROPY_HW_NUM_PIN_IRQS (2 * 32)
10+
#define MICROPY_HW_ENABLE_SDCARD (0)
1011

1112
// Define mapping logical UART # to hardware UART #
1213
// LPUART1 on USB_DBG -> 0

ports/mimxrt/boards/MIMXRT1010_EVK/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ MCU_SERIES = MIMXRT1011
22
MCU_VARIANT = MIMXRT1011DAE5A
33

44
MICROPY_FLOAT_IMPL = single
5-
MICROPY_PY_MACHINE_SDCARD = 0
65
MICROPY_HW_FLASH_TYPE = qspi_nor_flash
76
MICROPY_HW_FLASH_SIZE = 0x1000000 # 16MB
87

ports/mimxrt/boards/MIMXRT1015_EVK/mpconfigboard.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define MICROPY_HW_LED_OFF(pin) (mp_hal_pin_high(pin))
1111

1212
#define MICROPY_HW_NUM_PIN_IRQS (3 * 32)
13+
#define MICROPY_PY_MACHINE_SDCARD (0)
1314

1415
// Define mapping logical UART # to hardware UART #
1516
// RX/TX HW-UART Logical UART

ports/mimxrt/boards/MIMXRT1015_EVK/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ MCU_SERIES = MIMXRT1015
22
MCU_VARIANT = MIMXRT1015DAF5A
33

44
MICROPY_FLOAT_IMPL = single
5-
MICROPY_PY_MACHINE_SDCARD = 0
65
MICROPY_HW_FLASH_TYPE = qspi_nor_flash
76
MICROPY_HW_FLASH_SIZE = 0x1000000 # 16MB
87

ports/mimxrt/boards/MIMXRT1020_EVK/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ MCU_SERIES = MIMXRT1021
22
MCU_VARIANT = MIMXRT1021DAG5A
33

44
MICROPY_FLOAT_IMPL = double
5-
MICROPY_PY_MACHINE_SDCARD = 1
65
MICROPY_HW_FLASH_TYPE = qspi_nor_flash
76
MICROPY_HW_FLASH_SIZE = 0x800000 # 8MB
87

ports/mimxrt/boards/MIMXRT1050_EVK/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ MCU_SERIES = MIMXRT1052
22
MCU_VARIANT = MIMXRT1052DVL6B
33

44
MICROPY_FLOAT_IMPL = double
5-
MICROPY_PY_MACHINE_SDCARD = 1
65
MICROPY_HW_FLASH_TYPE = qspi_hyper_flash
76
MICROPY_HW_FLASH_SIZE = 0x4000000 # 64MB
87

ports/mimxrt/boards/MIMXRT1060_EVK/mpconfigboard.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ MCU_SERIES = MIMXRT1062
22
MCU_VARIANT = MIMXRT1062DVJ6A
33

44
MICROPY_FLOAT_IMPL = double
5-
MICROPY_PY_MACHINE_SDCARD = 1
65
MICROPY_HW_FLASH_TYPE = qspi_nor_flash
76
MICROPY_HW_FLASH_SIZE = 0x800000 # 8MB
87

0 commit comments

Comments
 (0)