esp32*: Update nuttx.manifest for nuttx.bin

This commit is contained in:
YAMAMOTO Takashi 2022-05-27 16:57:40 +09:00 committed by Petro Karashchenko
parent 045f8753e2
commit 9bccfbc2d9
4 changed files with 7 additions and 0 deletions

View File

@ -235,6 +235,7 @@ define MKIMAGE
exit 1; \
fi
esptool.py -c esp32 elf2image $(ESPTOOL_FLASH_OPTS) -o nuttx.bin nuttx
$(Q) echo nuttx.bin >> nuttx.manifest
$(Q) echo "Generated: nuttx.bin (ESP32 compatible)"
endef
else ifeq ($(CONFIG_ESP32_APP_FORMAT_MCUBOOT),y)
@ -248,6 +249,7 @@ define MKIMAGE
exit 1; \
fi
imgtool sign $(IMGTOOL_SIGN_ARGS) nuttx.hex nuttx.bin
$(Q) echo nuttx.bin >> nuttx.manifest
$(Q) echo "Generated: nuttx.bin (MCUboot compatible)"
endef
endif

View File

@ -228,6 +228,7 @@ define MKIMAGE
exit 1; \
fi
esptool.py -c esp32c3 elf2image $(ESPTOOL_FLASH_OPTS) -o nuttx.bin nuttx
$(Q) echo nuttx.bin >> nuttx.manifest
$(Q) echo "Generated: nuttx.bin (ESP32-C3 compatible)"
endef
else ifeq ($(CONFIG_ESP32C3_APP_FORMAT_MCUBOOT),y)
@ -241,6 +242,7 @@ define MKIMAGE
exit 1; \
fi
imgtool sign $(IMGTOOL_SIGN_ARGS) nuttx.hex nuttx.bin
$(Q) echo nuttx.bin >> nuttx.manifest
$(Q) echo "Generated: nuttx.bin (MCUboot compatible)"
endef
endif

View File

@ -224,6 +224,7 @@ define MKIMAGE
exit 1; \
fi
esptool.py -c esp32s2 elf2image $(ESPTOOL_FLASH_OPTS) -o nuttx.bin nuttx
$(Q) echo nuttx.bin >> nuttx.manifest
$(Q) echo "Generated: nuttx.bin (ESP32-S2 compatible)"
endef
else ifeq ($(CONFIG_ESP32S2_APP_FORMAT_MCUBOOT),y)
@ -237,6 +238,7 @@ define MKIMAGE
exit 1; \
fi
imgtool sign $(IMGTOOL_SIGN_ARGS) nuttx.hex nuttx.bin
$(Q) echo nuttx.bin >> nuttx.manifest
$(Q) echo "Generated: nuttx.bin (MCUboot compatible)"
endef
endif

View File

@ -113,6 +113,7 @@ define MKIMAGE
exit 1; \
fi
esptool.py -c esp32s3 elf2image $(ESPTOOL_FLASH_OPTS) -o nuttx.bin nuttx
$(Q) echo nuttx.bin >> nuttx.manifest
$(Q) echo "Generated: nuttx.bin (ESP32-S3 compatible)"
endef