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
93
93
${PROJECT_DIR} /../micropython/ports/esp32/modespnow.c
94
94
)
95
95
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
+ )
97
105
LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /machine_sdcard.c)
98
106
LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /machine_hw_spi.c)
99
107
else ()
Original file line number Diff line number Diff line change @@ -90,9 +90,19 @@ set(MICROPY_SOURCE_PORT
90
90
${PROJECT_DIR} /../micropython/ports/esp32/machine_sdcard.c
91
91
)
92
92
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)
94
103
LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /machine_hw_spi.c)
95
104
else ()
105
+ LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /../micropython/ports/esp32/machine_sdcard.c)
96
106
LIST (APPEND MICROPY_SOURCE_PORT ${PROJECT_DIR} /../micropython/ports/esp32/machine_hw_spi.c)
97
107
endif ()
98
108
You can’t perform that action at this time.
0 commit comments