esp_alox/Makefile

49 lines
777 B
Makefile

all:
echo "no default rule"
export:
source ~/esp/esp-idf/export.fish && fish
get_code_gen:
wget git.aloxdrim.de/skruecken/protgen/actions/runs/latest/artifacts/alox.protogen -O alox.protogen.zip
unzip -o alox.protogen.zip
rm alox.protogen.zip
chmod +x alox.protogen
gen_prot:
./alox.protogen -i prot.json -o main/uart
buildIdf:
idf.py build
flashMini:
idf.py flash -p /dev/ttyACM0
flashMini2:
idf.py flash -p /dev/ttyACM1
flashMini3:
idf.py flash -p /dev/ttyACM2
monitorMini:
idf.py monitor -p /dev/ttyACM0
flash0:
idf.py flash -p /dev/ttyUSB0
flash1:
idf.py flash -p /dev/ttyUSB1
flash2:
idf.py flash -p /dev/ttyUSB2
monitor0:
idf.py monitor -p /dev/ttyUSB0
monitor1:
idf.py monitor -p /dev/ttyUSB1
monitor2:
idf.py monitor -p /dev/ttyUSB2