Make install part of the makefile and remove the dangerous flash option.

This commit is contained in:
RobotMan2412 2022-07-02 20:10:33 +02:00
parent 8a9087b66b
commit 44666a2603

View file

@ -18,8 +18,8 @@ clean:
build: build:
source "$(IDF_PATH)/export.sh" && idf.py build source "$(IDF_PATH)/export.sh" && idf.py build
flash: build install: build
source "$(IDF_PATH)/export.sh" && idf.py flash -p $(PORT) python3 tools/webusb_push.py "Template App" build/main.bin --run
erase: erase:
source "$(IDF_PATH)/export.sh" && idf.py erase-flash -p $(PORT) source "$(IDF_PATH)/export.sh" && idf.py erase-flash -p $(PORT)