diff --git a/tutorials/stm32/nucleo-h723zg/minimal/Makefile b/tutorials/stm32/nucleo-h723zg/minimal/Makefile index 876fc6aa..0b65a6bc 100644 --- a/tutorials/stm32/nucleo-h723zg/minimal/Makefile +++ b/tutorials/stm32/nucleo-h723zg/minimal/Makefile @@ -24,6 +24,10 @@ firmware.bin: firmware.elf @echo @echo "To flash, run 'make flash', or use STM32CubeProgrammer" +firmware.signed.bin: firmware.bin + test -f private.pem || node $(MGDIR)/resources/sign.js keygen + node $(MGDIR)/resources/sign.js sign firmware.bin + flash: firmware.bin STM32_Programmer_CLI -c port=swd -w firmware.elf -hardRst diff --git a/tutorials/stm32/nucleo-h723zg/minimal/mongoose_config.h b/tutorials/stm32/nucleo-h723zg/minimal/mongoose_config.h index 7cd6beba..23b639c5 100644 --- a/tutorials/stm32/nucleo-h723zg/minimal/mongoose_config.h +++ b/tutorials/stm32/nucleo-h723zg/minimal/mongoose_config.h @@ -34,3 +34,4 @@ // mdash.net device management service support #define MG_ENABLE_MDASH 0 #define MG_MDASH_KEY "..." // Set this - mDash device token +#define MG_FIRMWARE_VERSION "1.0.0"