rc2+factory

This commit is contained in:
Peter D. Gray 2026-03-05 14:37:20 -05:00
parent 2edf3c72e4
commit 538b1a6df8
No known key found for this signature in database
GPG Key ID: A2DCD558C2BE5D7C

View File

@ -117,12 +117,15 @@ rc1:
.PHONY: rc2
rc2: RC2_TIMESTAMP = $(shell date "+%F_%H%M")
rc2: RC2_FNAME = ./RC2-$(RC2_TIMESTAMP)-$(HW_MODEL)-coldcard.dfu
rc2: RC2_FNAME_FACT = ./RC2-$(RC2_TIMESTAMP)-$(HW_MODEL)-factory.dfu
rc2: submods-match code-committed
$(SUBMAKE) clean
$(SUBMAKE) repro
test -f built/production.bin
$(SIGNIT) sign -m $(HW_MODEL) $(VERSION_STRING) -r built/production.bin $(PROD_KEYNUM) -o built/rc2.bin
$(PYTHON_MAKE_DFU) -b $(FIRMWARE_BASE):built/rc2.bin $(RC2_FNAME)
$(PYTHON_MAKE_DFU) -b $(FIRMWARE_BASE):built/rc2.bin \
-b $(BOOTLOADER_BASE):$(BOOTLOADER_DIR)/releases/$(BOOTLOADER_VERSION)/bootloader.bin $(RC2_FNAME_FACT)
ls -1 ./RC2-*.dfu
# This target just combines latest version of production firmware with bootrom into a DFU