diff options
| author | Ha Thach <[email protected]> | 2023-02-13 14:58:42 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-13 14:58:42 +0700 |
| commit | ac60a03ea96ecafa326499278048e2c0e0008d02 (patch) | |
| tree | dcfd098226af058ca827d76845ab34053ff2088e /examples/rules.mk | |
| parent | 002ca345b874cc0ebb3a49309ebbf405df7f573e (diff) | |
| parent | fbf99b8e53d05cdc7c79dd2397320f71a393e4b9 (diff) | |
Merge pull request #1901 from hathach/add-metro-rt1011
Add metro rt1011
Diffstat (limited to 'examples/rules.mk')
| -rw-r--r-- | examples/rules.mk | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/rules.mk b/examples/rules.mk index 6a62288ce..dcef934ab 100644 --- a/examples/rules.mk +++ b/examples/rules.mk @@ -170,12 +170,7 @@ $(BUILD)/$(PROJECT).elf: $(OBJ) endif # UF2 generation, iMXRT need to strip to text only before conversion -ifeq ($(FAMILY),imxrt) -$(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).elf - @echo CREATE $@ - @$(OBJCOPY) -O ihex -R .flash_config -R .ivt $^ $(BUILD)/$(PROJECT)-textonly.hex - $(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -c -o $@ $(BUILD)/$(PROJECT)-textonly.hex -else +ifneq ($(FAMILY),imxrt) $(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).hex @echo CREATE $@ $(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -c -o $@ $^ |
