This commit is contained in:
2024-11-12 05:04:32 -07:00
parent cc3b4417d9
commit 89a6a8a2eb
9 changed files with 58 additions and 15 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
set -e # die on error in theory
echo -e "Clean, build, flash, monitor in steps, dying on error"
echo -e "\ncleaning up first\n"
idf.py clean
echo -e "\nBuilding\n"
idf.py build
echo -e "\nFlashing to ${ESPPORT}\n"
idf.py flash
echo -e "\nMonitor time on ${ESPPORT} for target ${ESPTARGET} at ${ESPBAUD}\n"
idf.py monitor
echo -e "\nAll done :3\n"