lambda-shuttle / mbed-os-example-ble-fota

MbedOS Example for BLE FOTA Service
Apache License 2.0
0 stars 0 forks source link

Update FOTA build scripts #11

Closed lambda-shuttle closed 3 years ago

lambda-shuttle commented 3 years ago

Currently, if a mount point is provided, the script uses cp to copy over the target binary to the board. Instead, pyocd can be used - this would require modifying the build script to take in the board's target ID instead of passing in the mount point. The target ID of the board is obtained by running mbedls. Another change is to adapt mcuboot.sh to use mbed-tools and to support DISCO_L475VG_IOT01A as a viable target board. The issue, as a whole, involves a bulk of minor changes to the build script's functionality; refer to the requirements below.

Note: Earlier, it had been suggested to use mbedflsh, but this didn't work!

Requirements:

Associated branch: script-updates