Skip to content

Commit

Permalink
chore: unified maple upload method
Browse files Browse the repository at this point in the history
Requires stm32duino/Arduino_Tools#89

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Feb 20, 2023
1 parent 2e03c80 commit 621d759
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,14 +199,13 @@ tools.hid_upload.upload.params.quiet=n
tools.hid_upload.upload.pattern="{path}/{cmd}" "{build.path}/{build.project_name}.bin" {serial.port.file}

# Upload using Maple bootloader over DFU
tools.maple_upload.cmd=maple_upload.sh
tools.maple_upload.cmd.windows=maple_upload.bat
tools.maple_upload.path={runtime.tools.STM32Tools.path}/win
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/macosx
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/linux
tools.maple_upload.script=maple_upload.sh
tools.maple_upload.busybox=
tools.maple_upload.busybox.windows={path}/win/busybox.exe
tools.maple_upload.path={runtime.tools.STM32Tools.path}
tools.maple_upload.upload.params.verbose=-d
tools.maple_upload.upload.params.quiet=n
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"
tools.maple_upload.upload.pattern="{busybox}" sh "{path}/{script}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"

# STM32MP1 self-contained shell script
tools.remoteproc_gen.path={runtime.tools.STM32Tools.path}
Expand Down

0 comments on commit 621d759

Please sign in to comment.