Skip to content

Commit

Permalink
Merge branch 'ci/fix_github_ci_error' into 'master'
Browse files Browse the repository at this point in the history
ci: Fixed a github ci error due to large firmware size

See merge request application/esp-at!1529
  • Loading branch information
xcguang committed Mar 4, 2024
2 parents 3cbcc04 + 114447c commit 7606a54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build_template_esp32c3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ jobs:
echo -e "CONFIG_AT_EAP_COMMAND_SUPPORT=y" >> module_config/module_esp32c3_default/sdkconfig.defaults
echo -e "CONFIG_AT_WEB_SERVER_SUPPORT=y" >> module_config/module_esp32c3_default/sdkconfig.defaults
echo -e "CONFIG_AT_WEB_CAPTIVE_PORTAL_ENABLE=y" >> module_config/module_esp32c3_default/sdkconfig.defaults
# enlarge partition table
app0_size=`cat module_config/module_esp32c3_default/partitions_at.csv | grep ota_0 | awk -F, '{print $5}'`
app1_size=`cat module_config/module_esp32c3_default/partitions_at.csv | grep ota_1 | awk -F, '{print $5}'`
to_set_size=$((app0_size + app1_size))
sed -i '/ota_1/d' module_config/module_esp32c3_default/partitions_at.csv
to_set_hex_size=`printf "0x%x" ${to_set_size}`
sed -i '/ota_0/s,'"$app0_size"','"$to_set_hex_size"',g' module_config/module_esp32c3_default/partitions_at.csv
fi
# update esp32c3 ota token
Expand Down

0 comments on commit 7606a54

Please sign in to comment.