Skip to content

Commit c9ab50d

Browse files
authored
Fix Java PATH problem (improved version)
Passes the Arduino IDE installation path to the batch file.
1 parent 6ab02e5 commit c9ab50d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

STM32F1/platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ tools.maple_upload.path.linux={runtime.hardware.path}/tools/linux
118118
tools.maple_upload.path.linux64={runtime.hardware.path}/tools/linux64
119119
tools.maple_upload.upload.params.verbose=-d
120120
tools.maple_upload.upload.params.quiet=
121-
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"
121+
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin" "{runtime.ide.path}"
122122

123123
#Added tool for generic STM32 upload via serial to Serial Port 1 (pins PA9 and PA10) - note. Boot0 line needs to high on board reset to enable upload via serial
124124
# at the end up the upload the program is automatically run, without the board being reset

0 commit comments

Comments
 (0)