Browse Source

tools/ci.sh: Build GENERIC_C3 board as part of esp32 CI.

Signed-off-by: Damien George <damien@micropython.org>
pull/7438/head
Damien George 3 years ago
parent
commit
9f71a11d3f
  1. 14
      tools/ci.sh

14
tools/ci.sh

@ -86,12 +86,19 @@ function ci_esp32_setup_helper {
git clone https://github.com/espressif/esp-idf.git
git -C esp-idf checkout $1
git -C esp-idf submodule update --init \
components/bt/controller/lib \
components/bt/host/nimble/nimble \
components/esp_wifi \
components/esptool_py/esptool \
components/lwip/lwip \
components/mbedtls/mbedtls
if [ -d esp-idf/components/bt/controller/esp32 ]; then
git -C esp-idf submodule update --init \
components/bt/controller/lib_esp32 \
components/bt/controller/lib_esp32c3_family
else
git -C esp-idf submodule update --init \
components/bt/controller/lib
fi
./esp-idf/install.sh
}
@ -100,7 +107,7 @@ function ci_esp32_idf402_setup {
}
function ci_esp32_idf43_setup {
ci_esp32_setup_helper v4.3-beta2
ci_esp32_setup_helper v4.3
}
function ci_esp32_build {
@ -110,6 +117,9 @@ function ci_esp32_build {
make ${MAKEOPTS} -C ports/esp32
make ${MAKEOPTS} -C ports/esp32 clean
make ${MAKEOPTS} -C ports/esp32 USER_C_MODULES=../../../examples/usercmodule/micropython.cmake FROZEN_MANIFEST=$(pwd)/ports/esp32/boards/manifest.py
if [ -d $IDF_PATH/components/esp32c3 ]; then
make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_C3
fi
if [ -d $IDF_PATH/components/esp32s2 ]; then
make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_S2
fi

Loading…
Cancel
Save