AGlass0fMilk / mbed-mcuboot-demo

Demo of mcuboot with Mbed
11 stars 15 forks source link

Use MCUboot with changes from Mbed OS team #5

Closed LDong-Arm closed 3 years ago

LDong-Arm commented 3 years ago

(Copied from https://github.com/LDong-Arm/mbed-mcuboot-demo/pull/1)

See mcuboot/boot/mbed/mbed_lib.json for supported and unsupported/untested features, mcuboot/boot/mbed/README.md for usage.

Note: Serial OTA is removed in order to keep MCUboot clean (without a code hook). In a real-life scenario, the initial firmware/application can be pre-programmed, which contains the logic to fetch subsequent OTA updates. To pre-program an initial app in our case, .hex files can be drag & dropped as long as they contain the correct offset, and a bin file can be programmed with an offset using pyocd flash -a <address> <app>.bin.