Skip to content

Commit eb7868d

Browse files
committed
modify platform.txt for manual install
1 parent 9d81c4b commit eb7868d

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

sduino/stm8/platform.txt

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,11 @@ recipe.preproc.macros="{compiler.wrapper.path}/{compiler.cpp.cmd}.sh" "{compiler
133133
# -------------------------------------
134134

135135
tools.stm8flash.cmd=stm8flash
136-
tools.stm8flash.path={runtime.tools.STM8Tools.path}/linux
137-
tools.stm8flash.path.windows={runtime.tools.STM8Tools.path}/win
138-
tools.stm8flash.path.macosx={runtime.tools.STM8Tools.path}/macosx
136+
# these lines are for manual install. For board manager installs they get converted to use
137+
# {runtime.tools.STM8Tools.path} instead of {runtime.hardware.path}/tools
138+
tools.stm8flash.path={runtime.hardware.path}/tools/linux
139+
tools.stm8flash.path.windows={runtime.hardware.path}/tools/win
140+
tools.stm8flash.path.macosx={runtime.hardware.path}/tools/macosx
139141

140142
#tools.stm8flash.upload.params.verify=
141143
tools.stm8flash.upload.params.verbose=
@@ -162,9 +164,11 @@ tools.stm8flash.bootloader.pattern=echo "no bootloader available"
162164
# - *.params.verbose/*.params.quiet: referenced as {*.verbose}
163165

164166
tools.stm8gal.cmd=stm8gal
165-
tools.stm8gal.path={runtime.tools.STM8Tools.path}/linux
166-
tools.stm8gal.path.windows={runtime.tools.STM8Tools.path}/win
167-
tools.stm8gal.path.macosx={runtime.tools.STM8Tools.path}/macosx
167+
# these lines are for manual install. For board manager installs they get converted to use
168+
# {runtime.tools.STM8Tools.path} instead of {runtime.hardware.path}/tools
169+
tools.stm8gal.path={runtime.hardware.path}/tools/linux
170+
tools.stm8gal.path.windows={runtime.hardware.path}/tools/win
171+
tools.stm8gal.path.macosx={runtime.hardware.path}/tools/macosx
168172

169173
tools.stm8gal.params.port=-p "{serial.port}"
170174
tools.stm8gal.params.background=-B

0 commit comments

Comments
 (0)