Skip to content

Commit e871689

Browse files
committed
Fix upload process for Portenta board // Issue #511
1 parent 3d2553b commit e871689

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed

boards/portenta_h7_m4.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@
1414
[
1515
"0x2341",
1616
"0x035b"
17-
],
18-
[
19-
"0x2341",
20-
"0x025b"
21-
],
22-
[
23-
"0x2341",
24-
"0x045b"
2517
]
2618
]
2719
},

boards/portenta_h7_m7.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@
1414
[
1515
"0x2341",
1616
"0x035b"
17-
],
18-
[
19-
"0x2341",
20-
"0x025b"
21-
],
22-
[
23-
"0x2341",
24-
"0x045b"
2517
]
2618
]
2719
},

builder/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,7 @@ def _jlink_cmd_script(env, source):
223223
if env.subst("$BOARD").startswith("portenta"):
224224
upload_actions.insert(
225225
0,
226-
env.VerboseAction(
227-
env.AutodetectUploadPort, "Looking for upload port..."
228-
)
226+
env.VerboseAction(BeforeUpload, "Looking for upload port...")
229227
)
230228
elif board.get("build.mcu").startswith("stm32f103"):
231229
# F103 series doesn't have embedded DFU over USB

0 commit comments

Comments
 (0)