mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
fix(ci): remove esp32c5 from the build template app for release/v5.3
This commit is contained in:
@@ -64,7 +64,7 @@ build_stage2() {
|
||||
--size-file size.json \
|
||||
--keep-going \
|
||||
--collect-size-info size_info.txt \
|
||||
--default-build-targets esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c5 esp32c6 esp32h2 esp32p4 esp32c61
|
||||
--default-build-targets esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c6 esp32h2 esp32p4 esp32c61
|
||||
}
|
||||
|
||||
build_stage1() {
|
||||
@@ -78,36 +78,7 @@ build_stage1() {
|
||||
--build-log ${BUILD_LOG_CMAKE} \
|
||||
--size-file size.json \
|
||||
--collect-size-info size_info.txt \
|
||||
--default-build-targets esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c5 esp32c6 esp32h2 esp32p4 esp32c61
|
||||
}
|
||||
|
||||
# TODO: IDF-9197 remove the additional test for esp32c5 beta3
|
||||
build_c5beta3() {
|
||||
# Update the config to select C5 beta3
|
||||
C5BETA3_CFG="CONFIG_IDF_TARGET_ESP32C5_BETA3_VERSION=y\nCONFIG_IDF_TARGET_ESP32C5_MP_VERSION=n"
|
||||
if [ $1 = 1 ]
|
||||
then
|
||||
echo "${C5BETA3_CFG}" >> ${TEMPLATE_APP_PATH}/sdkconfig.ci2.Og
|
||||
CONFIG_STR=$(get_config_str sdkconfig.ci2.*=)
|
||||
KEEP_GOING=""
|
||||
else
|
||||
echo "${C5BETA3_CFG}" >> ${TEMPLATE_APP_PATH}/sdkconfig.ci.O0
|
||||
echo "${C5BETA3_CFG}" >> ${TEMPLATE_APP_PATH}/sdkconfig.ci.Os
|
||||
echo "${C5BETA3_CFG}" >> ${TEMPLATE_APP_PATH}/sdkconfig.ci.O2
|
||||
CONFIG_STR=$(get_config_str sdkconfig.ci.*=)
|
||||
KEEP_GOING=" --keep-going"
|
||||
fi
|
||||
python -m idf_build_apps build -vv \
|
||||
-p ${TEMPLATE_APP_PATH} \
|
||||
-t esp32c5 \
|
||||
${CONFIG_STR} \
|
||||
--work-dir ${BUILD_PATH}/cmake \
|
||||
--build-dir ${BUILD_DIR} \
|
||||
--build-log ${BUILD_LOG_CMAKE} \
|
||||
--size-file size.json \
|
||||
${KEEP_GOING} \
|
||||
--collect-size-info size_info.txt \
|
||||
--default-build-targets esp32c5
|
||||
--default-build-targets esp32 esp32s2 esp32s3 esp32c2 esp32c3 esp32c6 esp32h2 esp32p4 esp32c61
|
||||
}
|
||||
|
||||
# Default arguments
|
||||
@@ -135,7 +106,3 @@ then
|
||||
else
|
||||
build_stage2
|
||||
fi
|
||||
|
||||
# TODO: IDF-9197 remove the additional test for esp32c5 beta3
|
||||
echo "Build ESP32-C5 beta3 additionally"
|
||||
build_c5beta3 ${STAGE}
|
||||
|
Reference in New Issue
Block a user