diff options
| author | hathach <[email protected]> | 2020-04-06 14:33:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2020-04-06 14:33:36 +0700 |
| commit | 5963ace5ab2ea208c89335636ecef77d83491b1a (patch) | |
| tree | 4c2f97ec7e47c2c122908e451633113f37c19f55 /examples | |
| parent | 1e7c3cf95eb4c1e078a9083277b2abbbda5e19bf (diff) | |
add -B for clean and flash
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index 92204cf72..9e5226aca 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -12,11 +12,11 @@ all: idf.py -B$(BUILD) -DBOARD=$(BOARD) build clean: - idf.py clean + idf.py -B$(BUILD) clean flash: @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyUSB0) - idf.py -p $(SERIAL) flash + idf.py -B$(BUILD) -p $(SERIAL) flash else # GNU Make build system |
