mirror of
https://github.com/hathach/tinyusb.git
synced 2025-04-18 11:42:25 +00:00
add -B for clean and flash
This commit is contained in:
parent
1e7c3cf95e
commit
5963ace5ab
@ -12,11 +12,11 @@ all:
|
|||||||
idf.py -B$(BUILD) -DBOARD=$(BOARD) build
|
idf.py -B$(BUILD) -DBOARD=$(BOARD) build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
idf.py clean
|
idf.py -B$(BUILD) clean
|
||||||
|
|
||||||
flash:
|
flash:
|
||||||
@:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyUSB0)
|
@:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyUSB0)
|
||||||
idf.py -p $(SERIAL) flash
|
idf.py -B$(BUILD) -p $(SERIAL) flash
|
||||||
|
|
||||||
else
|
else
|
||||||
# GNU Make build system
|
# GNU Make build system
|
||||||
|
Loading…
x
Reference in New Issue
Block a user