Skip to content

Commit

Permalink
Add esptool build target
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 committed Mar 17, 2024
1 parent 6a10063 commit 0bf5773
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Sming/Components/esptool/component.mk
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,11 @@ endef
define EraseFlash
$(call ESPTOOL_EXECUTE,erase_flash)
endef


##@Flashing

.PHONY: esptool
esptool: ##Pass options to esptool, e.g. `make esptool -- --help` or `make esptool image_info`
$(Q) $(ESPTOOL_CMDLINE) $(filter-out $@,$(MAKECMDGOALS))

0 comments on commit 0bf5773

Please sign in to comment.