Skip to content

Commit 0ee56f3

Browse files
authored
parameter for arduino-cli
ref : [Can't use it with arduino-cli HelTecAutomation#104](digistump/DigistumpArduino#104 (comment))
1 parent a4af0e1 commit 0ee56f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

platform.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" -Wl,--start-group
7272

7373
recipe.objcopy.hex.pattern="{tools.CubeCellelftool.cmd}" "{compiler.path}{compiler.objcopy.cmd}" "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex" "{build.path}/{build.board}_{build.band}_RGB_{build.RGB}.cyacd"
7474

75+
recipe.output.tmp_file={build.project_name}.hex
76+
7577
#recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.hex"
7678
#recipe.size.regex=Total\s+([0-9]+).*
7779
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
@@ -80,4 +82,4 @@ recipe.size.regex=(\.text|\.cybootloader)\s+([0-9]+).*
8082
tools.CubeCellflash.upload.protocol=
8183
tools.CubeCellflash.upload.params.verbose=
8284
tools.CubeCellflash.upload.params.quiet=
83-
tools.CubeCellflash.upload.pattern="{cmd}" -serial "{serial.port}" "{build.path}/{build.board}_{build.band}_RGB_{build.RGB}.cyacd"
85+
tools.CubeCellflash.upload.pattern="{cmd}" -serial "{serial.port}" "{build.path}/{build.board}_{build.band}_RGB_{build.RGB}.cyacd"

0 commit comments

Comments
 (0)