Make install part of the makefile and remove the dangerous flash option.
This commit is contained in:
parent
8a9087b66b
commit
44666a2603
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue