Skip to content

Commit d63ca26

Browse files
author
Nathan Seidle
committed
Add uart tool.
1 parent efe7158 commit d63ca26

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

platform.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ recipe.size.regex=\.text\s+([0-9]+).*
124124
preproc.macros.flags=-w -x c++ -E -CC
125125
recipe.preproc.macros="{compiler.path}/{compiler.cmd.cpp}" {compiler.flags.cpp} {preproc.macros.flags} -mcpu={build.mcu} -DF_CPU={build.f_cpu} -DARDUINO={runtime.ide.version} -DARDUINO_{build.board} -DARDUINO_ARCH_{build.arch} {compiler.extra_flags.cpp} {build.extra_flags} {includes.all} "{source_file}" -o "{preprocessed_file_path}"
126126

127+
##### The following tool settings are for the Ambiq SBL
127128
# Host-specific definitions for upload tool
128129
# Default host
129130
tools.artemis_bin2board.pgm={runtime.platform.path}/tools/artemis/macosx/artemis_bin_to_board/artemis_bin_to_board
@@ -145,3 +146,16 @@ tools.artemis_bin2board.upload.params.quiet=
145146
# Upload tool pattern
146147
tools.artemis_bin2board.upload.pattern={pgm} {args}
147148

149+
##### The following tool settings are for the SparkFun variable bootloader
150+
151+
# Windows
152+
tools.artemis_uart.pgm.windows="{runtime.platform.path}/tools/artemis/windows/artemis_uart_loader.exe"
153+
tools.artemis_uart.args.windows="{serial.port}" -f "{build.path}/{build.project_name}.bin" -b {upload.baud} {upload.verbose}
154+
155+
# Additional Loader Parameters
156+
tools.artemis_uart.upload.protocol=ap3
157+
tools.artemis_uart.upload.params.verbose=-v
158+
tools.artemis_uart.upload.params.quiet=
159+
160+
# Upload tool pattern
161+
tools.artemis_uart.upload.pattern={pgm} {args}

0 commit comments

Comments
 (0)