I have a special program to sign the application firmware build using platformio in order to work with my custom bootloader .
When the original application build it will create a firmware.bin
once signed using the wolfboot program it will rename to signed_firmware.bin and I’m trying to find a way to flash the signed_firmware.bin using pio command directly to the device using serial flash .
Is there any way to do it ?
My .ini is:
[env:nucleo_f767zi]
platform = ststm32
board = nucleo_f767zi
framework = arduino
upload_protocol = serial
you might try to add an extra script that changes the UPLOADCMD to not use $SOURCE (which would eavluate to the firmware.bin file) but to your generated file.