Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
417 B
Bash
Raw Normal View History

2025-03-15 13:46:23 +01:00
#!/bin/bash
# Clear build directories
ORIGINAL_DIR=$PWD
source env-variables-micropython.sh
# Clean mpy-cross
cd $MICROPYTHON/mpy-cross
rm -rf build-*
# Clean Unix port
cd $MICROPYTHON/ports/unix
rm -rf build-*
# Clean ESP32 port boards
cd $ORIGINAL_DIR
source env-variables-esp32.sh
cd $MICROPYTHON/ports/esp32
rm -rf build-*
# Clean Raspberry boards
cd $MICROPYTHON/ports/rp2
rm -rf build-*
cd $ORIGINAL_DIR