Skip to content

Commit ef43508

Browse files
committed
feat: add offset option to stm32CubeProg upload method
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 4b745b2 commit ef43508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ tools.stm32CubeProg.busybox.windows={path}/win/busybox.exe
178178
tools.stm32CubeProg.cmd=stm32CubeProg.sh
179179
tools.stm32CubeProg.upload.params.verbose=
180180
tools.stm32CubeProg.upload.params.quiet=
181-
tools.stm32CubeProg.upload.pattern="{busybox}" sh "{path}/{cmd}" {upload.protocol} "{build.path}/{build.project_name}.bin" {upload.options}
181+
tools.stm32CubeProg.upload.pattern="{busybox}" sh "{path}/{cmd}" {upload.protocol} "{build.path}/{build.project_name}.bin" {build.flash_offset} {upload.options}
182182

183183
# blackmagic upload for generic STM32
184184
tools.bmp_upload.cmd=arm-none-eabi-gdb

0 commit comments

Comments
 (0)