Utility Makefile for Flashing and Monitoring

This commit is contained in:
2024-10-04 12:51:46 +02:00
parent bf78ed3d6e
commit 72851b69c5
+11 -3
View File
@@ -7,8 +7,16 @@ export:
buildIdf:
idf.py build
flash:
flash0:
sudo chmod o+rw /dev/ttyUSB0
idf.py flash -p /dev/ttyUSB0
monitor:
idf.py monitor
flash1:
sudo chmod o+rw /dev/ttyUSB1
idf.py flash -p /dev/ttyUSB1
monitor0:
idf.py monitor -p /dev/ttyUSB0
monitor1:
idf.py monitor -p /dev/ttyUSB1