Skip to content

Commit d32a1d9

Browse files
committed
CMakeListsDefault.cmake: Fix Basic's SDCard initialization failure.
Signed-off-by: lbuque <[email protected]>
1 parent 5e7262b commit d32a1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

m5stack/CMakeListsDefault.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ 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")
96+
if (BOARD_TYPE STREQUAL "cores3" OR BOARD_TYPE STREQUAL "core2" OR BOARD_TYPE STREQUAL "paper" OR BOARD_TYPE STREQUAL "basic")
9797
LIST(APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR}/machine_sdcard.c)
9898
LIST(APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR}/machine_hw_spi.c)
9999
else()

0 commit comments

Comments
 (0)