File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,15 @@ set(MICROPY_SOURCE_PORT
9393 ${PROJECT_DIR} /../micropython/ports/esp32/modespnow.c
9494)
9595
96- if (BOARD_TYPE STREQUAL "cores3" OR BOARD_TYPE STREQUAL "core2" OR BOARD_TYPE STREQUAL "paper" OR BOARD_TYPE STREQUAL "basic" )
96+ if (
97+ BOARD_TYPE STREQUAL "cores3"
98+ OR BOARD_TYPE STREQUAL "core2"
99+ OR BOARD_TYPE STREQUAL "paper"
100+ OR BOARD_TYPE STREQUAL "basic"
101+ OR BOARD_TYPE STREQUAL "fire"
102+ OR BOARD_TYPE STREQUAL "capsule"
103+ OR BOARD_TYPE STREQUAL "tough"
104+ )
97105 LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /machine_sdcard.c)
98106 LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /machine_hw_spi.c)
99107else ()
Original file line number Diff line number Diff line change @@ -90,9 +90,19 @@ set(MICROPY_SOURCE_PORT
9090 ${PROJECT_DIR} /../micropython/ports/esp32/machine_sdcard.c
9191)
9292
93- if (BOARD_TYPE STREQUAL "cores3" OR BOARD_TYPE STREQUAL "core2" )
93+ if (
94+ BOARD_TYPE STREQUAL "cores3"
95+ OR BOARD_TYPE STREQUAL "core2"
96+ OR BOARD_TYPE STREQUAL "paper"
97+ OR BOARD_TYPE STREQUAL "basic"
98+ OR BOARD_TYPE STREQUAL "fire"
99+ OR BOARD_TYPE STREQUAL "capsule"
100+ OR BOARD_TYPE STREQUAL "tough"
101+ )
102+ LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /machine_sdcard.c)
94103 LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /machine_hw_spi.c)
95104else ()
105+ LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /../micropython/ports/esp32/machine_sdcard.c)
96106 LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /../micropython/ports/esp32/machine_hw_spi.c)
97107endif ()
98108
You can’t perform that action at this time.
0 commit comments