Skip to content

Commit efe237c

Browse files
Merge pull request #204 from kuwatay/macosx-update-for-stmf4
update STM32F4 environment for macosx
2 parents 8c850fe + 478ef73 commit efe237c

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

STM32F4/platform.txt

100644100755
Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,10 @@ recipe.size.regex.data=^(?:\.data|\.bss|\.noinit)\s+([0-9]+).*
102102
# Upload using Maple bootloader over DFU
103103
tools.maple_upload.cmd=maple_upload
104104
tools.maple_upload.cmd.windows=maple_upload.bat
105-
#tools.maple_upload.cmd.linux=
106105
tools.maple_upload.path={runtime.hardware.path}/tools/win
107106
tools.maple_upload.path.macosx={runtime.hardware.path}/tools/macosx
108107
tools.maple_upload.path.linux={runtime.hardware.path}/tools/linux
109-
108+
tools.maple_upload.path.linux64={runtime.hardware.path}/tools/linux64
110109
tools.maple_upload.upload.params.verbose=-d
111110
tools.maple_upload.upload.params.quiet=
112111
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin" {upload.dfuse_addr}
@@ -116,9 +115,11 @@ tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altI
116115

117116
tools.serial_upload.cmd=serial_upload
118117
tools.serial_upload.cmd.windows=serial_upload.bat
119-
#tools.serial_upload.cmd.linux=
118+
tools.serial_upload.cmd.macosx=serial_upload
120119
tools.serial_upload.path={runtime.hardware.path}/tools/win
121-
120+
tools.serial_upload.path.macosx={runtime.hardware.path}/tools/macosx
121+
tools.serial_upload.path.linux={runtime.hardware.path}/tools/linux
122+
tools.serial_upload.path.linux64={runtime.hardware.path}/tools/linux64
122123
tools.serial_upload.upload.params.verbose=-d
123124
tools.serial_upload.upload.params.quiet=
124125
tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"
@@ -127,9 +128,12 @@ tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.alt
127128

128129
tools.stlink.cmd=stlink_upload
129130
tools.stlink.cmd.windows=stlink_upload.bat
130-
#tools.stlink.cmd.linux=stlink_upload
131-
tools.stlink.path={runtime.hardware.path}/tools/win
131+
tools.stlink_upload.path.windows={runtime.hardware.path}/tools/win
132+
tools.stlink_upload.path.macosx={runtime.hardware.path}/tools/macosx
133+
tools.stlink_upload.path.linux={runtime.hardware.path}/tools/linux
134+
tools.stlink_upload.path.linux64={runtime.hardware.path}/tools/linux64
132135
tools.stlink.path.linux={runtime.hardware.path}/tools/linux/
136+
tools.stlink.path.macosx={runtime.hardware.path}/tools/macosx/
133137
tools.stlink.upload.params.verbose=-d
134138
tools.stlink.upload.params.quiet=
135139
tools.stlink.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"

tools/macosx/stlink/st-flash

106 KB
Binary file not shown.

tools/macosx/stlink/st-info

107 KB
Binary file not shown.

tools/macosx/stlink/st-term

106 KB
Binary file not shown.

tools/macosx/stlink/st-util

133 KB
Binary file not shown.

0 commit comments

Comments
 (0)