mbedflsh1
Flash mbed enabled devices from the command line
Usage
mbedflsh --file
FILE
--disk
TARGET_PATH
[--copy
METHOD]
mbedflsh –-plugins
mbedflsh –-version
mbedflsh –-help
Overview
mbedflsh allows a file to be flashed directly to a mounted Mbed Enabled device from the command line.
Whilst test automation tools such as mbed-test-wrapper can provide automated flashing of Mbed devices after successful embedded software build, mbedflsh provides a simple and convenient CLI to flash devices directly.
Options
-
-f, --file FILE -
file to flash onto Mbed Enabled device
-
-d, --disk TARGET_PATH -
target path (mount point) to flash file to
-
-c, --copy METHOD -
method to use for flashing; use
mbedflsh --pluginsto see available plugins
-
--plugins -
print registered plugins and exit
-
--version -
print version and exit
-
--help -
print usage details and exit
Examples
To flash the file /tmp/firmware.bin to the mounted path /mnt/MBED, run:
-
$ mbedflsh --file /tmp/firmware.bin --disk /mnt/MBED
Releases
4 releases since Debian 10 (Buster); the text changed 3 times.