Skip to content

Commit 5331af6

Browse files
committed
Add bootloaders for Envie
1 parent b88a47f commit 5331af6

7 files changed

+14
-2
lines changed

boards.txt

+5
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ envie_m7.upload.native_usb=true
6666
envie_m7.upload.maximum_size=786432
6767
envie_m7.upload.maximum_data_size=523624
6868

69+
envie_m7.bootloader.tool=openocd
70+
envie_m7.bootloader.config=-f target/stm32h7x_dual_bank.cfg
71+
envie_m7.bootloader.programmer=-f interface/stlink.cfg
72+
envie_m7.bootloader.extra_action.preflash=stm32h7x option_write 0 0x01c 0xb86aaf0
73+
envie_m7.bootloader.file=ENVIE/envie_bootloader_mbed_hs.elf
6974

7075
##############################################################
7176

107 KB
Binary file not shown.
3.18 MB
Binary file not shown.
107 KB
Binary file not shown.
3.18 MB
Binary file not shown.

platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ recipe.output.save_file={build.project_name}.{build.variant}.bin
102102
# Uploader tools
103103
# ---------------------
104104

105-
tools.openocd.path={runtime.tools.openocd-0.10.0-arduino9.path}
105+
tools.openocd.path={runtime.tools.openocd-0.10.0-arduino12.path}
106106
tools.openocd.cmd=bin/openocd
107107
tools.openocd.cmd.windows=bin/openocd.exe
108108

programmers.txt

+8-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,11 @@ cmsis-dap.communication=USB
33
cmsis-dap.protocol=
44
cmsis-dap.program.protocol=
55
cmsis-dap.program.tool=openocd
6-
cmsis-dap.program.extra_params=
6+
cmsis-dap.program.extra_params=
7+
8+
stlink.name=STMicroelectronics STLINK
9+
stlink.communication=USB
10+
stlink.protocol=
11+
stlink.program.protocol=
12+
stlink.program.tool=openocd
13+
stlink.program.extra_params=

0 commit comments

Comments
 (0)