Skip to content

armgit / flix

Public Imported from GitHub
0

Making an ESP32-based quadcopter from scratch

Add erase command to makefile

Oleg Kalacheva5dbd2c82907
diff --git a/Makefile b/Makefile
index 68771b5..cebf864 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,9 @@ build: .dependencies
upload: build
arduino-cli upload --fqbn $(BOARD) -p "$(PORT)" flix
+erase:
+ arduino-cli burn-bootloader --fqbn $(BOARD) -p "$(PORT)" -P esptool
+
monitor:
arduino-cli monitor -p "$(PORT)" -c baudrate=115200