summaryrefslogtreecommitdiff
path: root/examples/rules.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2020-06-30 01:55:57 +0700
committerhathach <[email protected]>2020-06-30 01:55:57 +0700
commitab75998316fe714675e1193f0a7c06a32387ebd6 (patch)
tree59158f32240bd9464214dfa38a1bc3237faadf6e /examples/rules.mk
parent2b1c7730b719c6d4abd7d1bfbfdb80b0d64ee892 (diff)
parent2b9466dbc03221774d0f8943b7f07940c81d885d (diff)
Merge branch 'master' into add-stm-hs
Diffstat (limited to 'examples/rules.mk')
-rw-r--r--examples/rules.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/rules.mk b/examples/rules.mk
index 2f4c8b860..eeb548d08 100644
--- a/examples/rules.mk
+++ b/examples/rules.mk
@@ -12,11 +12,10 @@ all:
idf.py -B$(BUILD) -DBOARD=$(BOARD) build
clean:
- idf.py -B$(BUILD) clean
+ idf.py -B$(BUILD) -DBOARD=$(BOARD) clean
flash:
- @:$(call check_defined, SERIAL, example: SERIAL=/dev/ttyUSB0)
- idf.py -B$(BUILD) -p $(SERIAL) flash
+ idf.py -B$(BUILD) -DBOARD=$(BOARD) flash
else
# GNU Make build system