Skip to content

Commit 6b9f495

Browse files
committed
build: update Espressif IDF installation process
Added a command to initialize and update the submodule for the Espressif IDF, ensuring the necessary components are available for the build process. Signed-off-by: Chiho Sin <[email protected]>
1 parent b0027da commit 6b9f495

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ pip3 install --upgrade -r requirements-doc.txt
2626
# Espressif IDF
2727
if [[ ${CPY_PORT} == "espressif" ]]; then
2828
export IDF_PATH=/workspace/ports/espressif/esp-idf
29+
git submodule update --init --depth=1 --recursive ${IDF_PATH}
2930
export IDF_TOOLS_PATH=/workspace/.idf_tools
3031
export ESP_ROM_ELF_DIR=/workspace/.idf_tools
32+
/workspace/ports/espressif/esp-idf/install.sh
3133
# trunk-ignore(shellcheck/SC1091)
3234
source "${IDF_PATH}/export.sh"
3335
fi

0 commit comments

Comments
 (0)