flash: support flashing boards using Mass Storage Device (MSD) operation for uf2 and daplink bootloaders

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2019-10-11 17:54:30 +02:00
committed by Ayke
parent 02facb8568
commit ba49148644
9 changed files with 122 additions and 37 deletions
+4 -1
View File
@@ -3,5 +3,8 @@
"build-tags": ["hifive1b"],
"ldflags": [
"-T", "targets/hifive1b.ld"
]
],
"flash": "{hex}",
"flash-method": "msd",
"flash-msd-volume-name": "HiFive"
}