From 700c81bc82dd3a72d903c216115e96012fc574bb Mon Sep 17 00:00:00 2001 From: mikee47 Date: Fri, 15 Mar 2024 11:55:31 +0000 Subject: [PATCH] Add `esptool` build target --- Sming/Components/esptool/component.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Sming/Components/esptool/component.mk b/Sming/Components/esptool/component.mk index 3f82c8e219..330f82a5b1 100644 --- a/Sming/Components/esptool/component.mk +++ b/Sming/Components/esptool/component.mk @@ -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)) +