Closed Frank-Buss closed 1 year ago
Confirmed on my Mac, omitting -d
and -s
$ mcumgr-client -t 60 upload ext-flash-slot3.bin
mcumgr-client 0.0.2, Copyright © 2023 Vouch.io LLC
19:28:09 [INFO] One bootloader device found, setting device to: /dev/cu.usbmodem14301
19:28:09 [INFO] upload file: ext-flash-slot3.bin
19:28:09 [INFO] flashing to slot 3
19:28:09 [INFO] 22003712 bytes to transfer⠖ [00:01:00] [====> ] 2.44 MiB/20.98 MiB (2m)
This PR detects automatically all serial ports, and uses the port when one is detected. It also sets the slot depending on the filename, it it contains "slot1" or "slot3".