diff --git a/Sming/Arch/Esp32/app.mk b/Sming/Arch/Esp32/app.mk index 8fc7a3c151..32f75955d9 100644 --- a/Sming/Arch/Esp32/app.mk +++ b/Sming/Arch/Esp32/app.mk @@ -38,3 +38,11 @@ endif $(TARGET_BIN): $(TARGET_OUT) $(Q) $(ESPTOOL_CMDLINE) elf2image --min-rev $(CHIP_REV_MIN) --elf-sha256-offset 0xb0 $(ESPTOOL_EXTRA_ARGS) $(flashimageoptions) -o $@ $< + + +##@Flashing + +.PHONY: bootinfo +bootinfo: $(FLASH_BOOT_LOADER) ##Show bootloader information + $(info $(FLASH_BOOT_LOADER):) + $(Q) $(ESPTOOL_CMDLINE) image_info -v2 $(FLASH_BOOT_LOADER) diff --git a/Sming/Components/rboot/component.mk b/Sming/Components/rboot/component.mk index 6542f92edc..06506e9922 100644 --- a/Sming/Components/rboot/component.mk +++ b/Sming/Components/rboot/component.mk @@ -221,4 +221,13 @@ $(RBOOT_ROM_1_BIN): $(TARGET_OUT_1) endif + +##@Flashing + +.PHONY: bootinfo +bootinfo: ##Show bootloader information + $(info $(RBOOT_BIN):) + $(Q) $(ESPTOOL_CMDLINE) image_info -v2 $(RBOOT_BIN) + + endif # RBOOT_EMULATION