Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 82a0558

Browse files
committedJun 5, 2020
[variant] Group each variant per boards type
As the number of variants continues to grow and in order to facilitate navigation, they have been grouped in a sub-folder corresponding to each boards entry. Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent f190402 commit 82a0558

File tree

471 files changed

+293
-295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

471 files changed

+293
-295
lines changed
 

‎boards.txt

+289-291
Large diffs are not rendered by default.

‎platform.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ build.opt.path={build.path}/sketch/{build.opt.name}
109109
extras.path={build.system.path}/extras
110110

111111
# Create empty {build.opt} if not exists in the output sketch dir and force include of SrcWrapper library
112-
recipe.hooks.prebuild.1.pattern="{extras.path}/prebuild.sh" "{build.path}" "{build.source.path}"
112+
recipe.hooks.prebuild.1.pattern="{extras.path}/prebuild.sh" "{build.path}" "{build.source.path}"
113113
recipe.hooks.prebuild.1.pattern.windows="{runtime.tools.STM32Tools.path}/tools/win/busybox.exe" sh "{extras.path}/prebuild.sh" "{build.path}" "{build.source.path}"
114114

115115
# compile patterns
@@ -140,7 +140,7 @@ build.preferred_out_format=bin
140140

141141
## Save binary
142142
recipe.output.tmp_file={build.project_name}.{build.preferred_out_format}
143-
recipe.output.save_file={build.project_name}.{build.variant}.{build.preferred_out_format}
143+
recipe.output.save_file={build.project_name}.{build.board}.{build.preferred_out_format}
144144

145145
## Compute size
146146
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
@@ -188,7 +188,7 @@ tools.hid_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
188188
tools.hid_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
189189
tools.hid_upload.upload.params.verbose=-d
190190
tools.hid_upload.upload.params.quiet=n
191-
tools.hid_upload.upload.pattern="{path}/{cmd}" "{build.path}/{build.project_name}.bin" {serial.port.file}
191+
tools.hid_upload.upload.pattern="{path}/{cmd}" "{build.path}/{build.project_name}.bin" {serial.port.file}
192192

193193
# Upload using Maple bootloader over DFU
194194
tools.maple_upload.cmd=maple_upload.sh
@@ -207,4 +207,4 @@ tools.remoteproc_gen.busybox.windows={path}/win/busybox.exe
207207
tools.remoteproc_gen.script=run_arduino_gen.sh
208208
tools.remoteproc_gen.upload.params.verbose=
209209
tools.remoteproc_gen.upload.params.quiet=
210-
tools.remoteproc_gen.upload.pattern="{busybox}" sh "{path}/{script}" generate "{build.path}/{build.project_name}.elf" "{build.path}/run_arduino_{build.project_name}.sh"
210+
tools.remoteproc_gen.upload.pattern="{busybox}" sh "{path}/{script}" generate "{build.path}/{build.project_name}.elf" "{build.path}/run_arduino_{build.project_name}.sh"

0 commit comments

Comments
 (0)
Please sign in to comment.