File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ compiler.define=-DARDUINO=
3232# this can be overriden in boards.txt
3333build.cpu_flags=
3434build.hs_flag=
35- build.common_flags=
35+ build.common_flags=-mthumb -D__STM32F4__
3636build.extra_flags= {build.cpu_flags} {build.hs_flag} {build.common_flags}
3737
3838# These can be overridden in platform.local.txt
@@ -125,10 +125,11 @@ tools.serial_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.alt
125125
126126# STLINK/V2
127127
128- tools.stlink.cmd=stlink
128+ tools.stlink.cmd=stlink_upload
129129tools.stlink.cmd.windows=stlink_upload.bat
130- #tools.stlink.cmd.linux=
130+ #tools.stlink.cmd.linux=stlink_upload
131131tools.stlink.path={runtime.hardware.path}/tools/win
132+ tools.stlink.path.linux={runtime.hardware.path}/tools/linux/
132133tools.stlink.upload.params.verbose=-d
133134tools.stlink.upload.params.quiet=
134135tools.stlink.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"
You can’t perform that action at this time.
0 commit comments