We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb30f2d commit 560025aCopy full SHA for 560025a
commands/upload/upload.go
@@ -228,6 +228,10 @@ func runProgramAction(pm *packagemanager.PackageManager,
228
}
229
230
231
+ if !uploadProperties.ContainsKey("upload.protocol") && programmer == nil {
232
+ return fmt.Errorf("a programmer is required to upload for this board")
233
+ }
234
+
235
// Set properties for verbose upload
236
if verbose {
237
if v, ok := uploadProperties.GetOk("upload.params.verbose"); ok {
0 commit comments