We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4dc80f commit 4b924b1Copy full SHA for 4b924b1
scripts/build_and_check.sh
@@ -42,7 +42,8 @@ source ./esp-idf/export.sh
42
43
pip3 install pyelftools
44
pip3 install ar
45
-pip3 install uf2conv
+# Ensure uf2conv.py is importable by setting PYTHONPATH
46
+export PYTHONPATH="$(pwd)/third_party/micropython/tools${PYTHONPATH:+:$PYTHONPATH}"
47
48
# Build micropython cross compiler
49
pushd third_party/micropython >/dev/null
@@ -63,4 +64,3 @@ idf.py build -DCMAKE_C_FLAGS="-Wno-error=stringop-overflow -Wno-stringop-overflo
63
64
chmod +x ../../scripts/assemble-unified-image-esp.sh
65
../../scripts/assemble-unified-image-esp.sh ../../third_party/micropython/ports/esp32
66
popd >/dev/null
-
0 commit comments