Skip to content

Commit 02af90d

Browse files
committed
Portenta: allow uploading via programmer on M4
1 parent 6688e5c commit 02af90d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

boards.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ envie_m4.upload.maximum_size=1048576
9696
envie_m4.upload.maximum_data_size=294248
9797

9898
envie_m4.debug.tool=gdb
99+
envie_m4.bootloader.tool=openocd
100+
envie_m4.bootloader.config=-f target/stm32h7x_dual_bank.cfg
101+
envie_m4.bootloader.programmer=-f interface/stlink.cfg
102+
envie_m4.bootloader.extra_action.preflash=stm32h7x option_write 0 0x01c 0xb86aaf0
103+
envie_m4.bootloader.file=PORTENTA_H7/portentah7_bootloader_mbed_hs_v2.elf
99104

100105
##############################################################
101106

0 commit comments

Comments
 (0)