@@ -13,6 +13,11 @@ version=1.6.15
1313# ----------------------------------
1414# For Board Manager installs these variables are already predefined and will
1515# not be overwritten. This assignment is done only for manual installs.
16+ #
17+ # Apparently, this trick only works for compiler settings, not for the
18+ # upload process. The upload process is not handled by arduino-build, but
19+ # the IDE itself and behaves slightly differently.
20+ # FIXME: find a solution to allow for uploads with manual installations.
1621runtime.tools.sdcc.path={runtime.hardware.path}/tools/sdcc
1722runtime.tools.STM8Tools.path={runtime.hardware.path}/tools
1823
@@ -134,3 +139,24 @@ tools.stm8flash.path.macosx={runtime.tools.STM8Tools.path}/macosx
134139tools.stm8flash.upload.params.verbose=
135140tools.stm8flash.upload.params.quiet=
136141tools.stm8flash.upload.pattern="{path}/{cmd}" -c{upload.protocol} -p{upload.mcu} -s flash -w "{build.path}/{build.project_name}.hex"
142+
143+
144+ # Serial upload using the builtin bootloader
145+ # ------------------------------------------
146+
147+ tools.stm8gal.cmd=stm8gal
148+ tools.stm8gal.path={runtime.tools.STM8Tools.path}/linux
149+ #tools.stm8gal.path={runtime.hardware.path}/tools/linux
150+ tools.stm8gal.path.windows={runtime.tools.STM8Tools.path}/win
151+ tools.stm8gal.path.macosx={runtime.tools.STM8Tools.path}/macosx
152+ #tools.stm8gal.path.linux64={runtime.hardware.path}/tools/linux64
153+
154+ #tools.stm8gal.upload.params.verify=
155+ tools.stm8gal.upload.params.noverify=-v
156+ tools.stm8gal.upload.params.verbose=-V
157+ tools.stm8gal.upload.params.quiet=
158+ tools.stm8gal.upload.pattern="{path}/{cmd}" -p "{serial.port}" {upload.verbose} {upload.verify} -R 1 -u 2 -Q -w "{build.path}/{build.project_name}.hex"
159+
160+ #tools.stm8gal.erase.params.verbose=-V
161+ #tools.stm8gal.erase.params.quiet=
162+ #tools.stm8gal.erase.pattern="{path}/{cmd}" "-p{serial.port}" {erase.verbose} -R1 -u2 -Q -e
0 commit comments