File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ if(NOT EXISTS ${CUSTOM_BOARD_DIR}/mpconfigboard.cmake)
2222 message (FATAL_ERROR "Invalid MICROPY_BOARD specified: ${MICROPY_BOARD} " )
2323endif ()
2424
25+ # Make the board dir available to sub-builds (used by esp32_common.cmake for include paths)
26+ set (MICROPY_BOARD_DIR ${CUSTOM_BOARD_DIR} CACHE PATH "Path to MicroPython board directory" )
27+
2528# If a board variant is specified, check that it exists.
2629if (MICROPY_BOARD_VARIANT)
2730 if (NOT EXISTS ${CUSTOM_BOARD_DIR} /mpconfigvariant_${MICROPY_BOARD_VARIANT} .cmake)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function finish {
1616}
1717trap finish EXIT
1818
19- BOARD=${1:- MICROLITE }
19+ BOARD=${1:- ESP32_GENERIC_S3 }
2020IDF_VERSION=${IDF_VERSION:- v5.4.2}
2121
2222# Define the absolute path to the micropython folder
7979
8080idf.py -B " ${BUILD_DIR} " build \
8181 -DMICROPY_BOARD=${BOARD} \
82+ -DMICROPY_BOARD_DIR=" ${BOARD_DIR} " \
8283 -DMICROPY_BOARD_VARIANT=SPIRAM_OCT \
8384 -DCMAKE_C_FLAGS=" -Wno-error=stringop-overflow -Wno-stringop-overflow" \
8485 -DCMAKE_CXX_FLAGS=" -fno-rtti" \
You can’t perform that action at this time.
0 commit comments