diff --git a/platform.txt b/platform.txt index 0f74672761..d64b3741bf 100644 --- a/platform.txt +++ b/platform.txt @@ -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}