diff options
| author | Ha Thach <[email protected]> | 2021-02-01 15:17:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-01 15:17:00 +0700 |
| commit | f4e2f88e89fcebdb5b73041027fa274da2743286 (patch) | |
| tree | 40b1dbdcb811ec898171818b2214b5d434e14128 /examples/rules.mk | |
| parent | 26caddae239a9b2657121a8da81337cf14d85bc0 (diff) | |
| parent | 3d95835f2238f581669a1ff129a20ce8237649e1 (diff) | |
Merge pull request #622 from hathach/add-consume-control-to-hid-composite-example
add consumer control to hid_composite examples
Diffstat (limited to 'examples/rules.mk')
| -rw-r--r-- | examples/rules.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index 5dded759c..66194dfcc 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -36,10 +36,12 @@ erase: monitor: idf.py -B$(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) $(CMAKE_DEFSYM) monitor +uf2: $(BUILD)/$(PROJECT).uf2 + UF2_FAMILY_ID = 0xbfdd4eee -$(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).hex +$(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).bin @echo CREATE $@ - $(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -c -o $@ $^ + $(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -b 0x0 -c -o $@ $^ else ifeq ($(FAMILY),rp2040) |
