From 44666a2603fc25b050b1ffebc4c8bd955ec8e674 Mon Sep 17 00:00:00 2001 From: RobotMan2412 Date: Sat, 2 Jul 2022 20:10:33 +0200 Subject: [PATCH] Make install part of the makefile and remove the dangerous flash option. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7fda0eb..d562c46 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,8 @@ clean: build: source "$(IDF_PATH)/export.sh" && idf.py build -flash: build - source "$(IDF_PATH)/export.sh" && idf.py flash -p $(PORT) +install: build + python3 tools/webusb_push.py "Template App" build/main.bin --run erase: source "$(IDF_PATH)/export.sh" && idf.py erase-flash -p $(PORT)