Skip to content

Commit b91eed1

Browse files
committed
Switch to v5.2.2
1 parent 9773dc4 commit b91eed1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

scripts/build_and_check.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
BOARD=${1:-MICROLITE}
6-
IDF_VERSION=${IDF_VERSION:-v5.4}
6+
IDF_VERSION=${IDF_VERSION:-v5.2.2}
77

88
# Update submodules required for build
99
if [ ! -d third_party/micropython ]; then
@@ -44,10 +44,9 @@ rm -rf build
4444
# Inject flags so that:
4545
# • C builds drop -Werror=stringop-overflow
4646
# • C++ builds retain -fno-rtti
47-
idf.py fullclean \
48-
-DCMAKE_C_FLAGS="-Wno-error=stringop-overflow -Wno-stringop-overflow" \
49-
-DCMAKE_CXX_FLAGS="-fno-rtti" \
50-
build
47+
idf.py clean
48+
idf.py build -DCMAKE_C_FLAGS="-Wno-error=stringop-overflow -Wno-stringop-overflow" \
49+
-DCMAKE_CXX_FLAGS="-fno-rtti"
5150
chmod +x ../../scripts/assemble-unified-image-esp.sh
5251
../../scripts/assemble-unified-image-esp.sh ../../third_party/micropython/ports/esp32
5352
popd >/dev/null

0 commit comments

Comments
 (0)