Skip to content

Commit e9c874e

Browse files
author
Kei
committed
Delete other boards except XELNetwork boards.
1 parent 52c52b5 commit e9c874e

File tree

7,428 files changed

+1483853
-5289196
lines changed

Some content is hidden

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

7,428 files changed

+1483853
-5289196
lines changed

boards.txt

Lines changed: 107 additions & 2140 deletions
Large diffs are not rendered by default.

platform.txt

Lines changed: 12 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# For more info:
55
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-specification
66

7-
name=STM32 Boards (selected from submenu)
7+
name=STM32 Boards (only XELNetwork version)
88
version=1.0.0
99

1010
# STM compile variables
@@ -17,7 +17,7 @@ compiler.warning_flags.default=
1717
compiler.warning_flags.more=-Wall
1818
compiler.warning_flags.all=-Wall -Wextra
1919

20-
compiler.path={runtime.tools.arm-none-eabi-gcc-8.2.1-1.7.path}/bin/
20+
compiler.path={runtime.platform.path}/tools/arm-none-eabi-gcc/8.2.1-1.7/bin/
2121

2222
compiler.S.cmd=arm-none-eabi-gcc
2323
compiler.c.cmd=arm-none-eabi-gcc
@@ -64,8 +64,8 @@ compiler.ar.extra_flags=
6464
compiler.elf2bin.extra_flags=
6565
compiler.elf2hex.extra_flags=
6666

67-
compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-5.5.1.path}/CMSIS/Core/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Source/Templates/gcc/" "-I{runtime.tools.CMSIS-5.5.1.path}/CMSIS/DSP/Include"
68-
compiler.arm.cmsis.ldflags="-L{runtime.tools.CMSIS-5.5.1.path}/CMSIS/DSP/Lib/GCC/" -l{build.cmsis_lib_gcc}
67+
compiler.arm.cmsis.c.flags="-I{runtime.platform.path}/tools/CMSIS/5.5.1/CMSIS/Core/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Source/Templates/gcc/" "-I{runtime.tools.CMSIS-5.5.1.path}/CMSIS/DSP/Include"
68+
compiler.arm.cmsis.ldflags="-L{runtime.platform.path}/tools/CMSIS/5.5.1/CMSIS/DSP/Lib/GCC/" -l{build.cmsis_lib_gcc}
6969

7070
# USB Flags
7171
# ---------
@@ -136,11 +136,11 @@ recipe.output.tmp_file={build.project_name}.bin
136136
recipe.output.save_file={build.project_name}.{build.variant}.bin
137137

138138
## Create output (.hex file)
139-
recipe.objcopy.hex.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
139+
# recipe.objcopy.hex.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
140140

141141
## Save hex
142-
recipe.output.tmp_file={build.project_name}.hex
143-
recipe.output.save_file={build.project_name}.{build.variant}.hex
142+
#recipe.output.tmp_file={build.project_name}.hex
143+
#recipe.output.save_file={build.project_name}.{build.variant}.hex
144144

145145
## Compute size
146146
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
@@ -152,57 +152,6 @@ recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).*
152152
# Uploader tool
153153
# -------------------
154154

155-
# Upload to board via mass storage
156-
tools.massStorageCopy.cmd=massStorageCopy
157-
tools.massStorageCopy.cmd.windows=massStorageCopy.bat
158-
tools.massStorageCopy.cmd.macosx=massStorageCopyMacOsX
159-
tools.massStorageCopy.path={runtime.tools.STM32Tools.path}/tools/win
160-
tools.massStorageCopy.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
161-
tools.massStorageCopy.path.linux={runtime.tools.STM32Tools.path}/tools/linux
162-
tools.massStorageCopy.upload.params.verbose=
163-
tools.massStorageCopy.upload.params.quiet=
164-
tools.massStorageCopy.upload.pattern="{path}/{cmd}" {upload.verbose} -I "{build.path}/{build.project_name}.bin" -O "{node}"
165-
166-
# STM32CubeProgrammer upload
167-
tools.stm32CubeProg.cmd=stm32CubeProg.sh
168-
tools.stm32CubeProg.cmd.macosx=stm32CubeProg
169-
tools.stm32CubeProg.cmd.windows=stm32CubeProg.bat
170-
tools.stm32CubeProg.path.linux={runtime.tools.STM32Tools.path}/tools/linux
171-
tools.stm32CubeProg.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
172-
tools.stm32CubeProg.path.windows={runtime.tools.STM32Tools.path}/tools/win
173-
tools.stm32CubeProg.upload.params.verbose=
174-
tools.stm32CubeProg.upload.params.quiet=
175-
tools.stm32CubeProg.upload.pattern="{path}/{cmd}" {upload.protocol} "{build.path}/{build.project_name}.bin" {upload.options}
176-
177-
# blackmagic upload for generic STM32
178-
tools.bmp_upload.cmd=arm-none-eabi-gdb
179-
tools.bmp_upload.path={runtime.tools.arm-none-eabi-gcc.path}/bin/
180-
tools.bmp_upload.upload.speed=230400
181-
tools.bmp_upload.upload.params.verbose=-batch
182-
tools.bmp_upload.upload.params.quiet=--batch-silent
183-
tools.bmp_upload.upload.pattern="{path}{cmd}" -nx -b {upload.speed} {upload.verbose} -ex "set confirm off" -ex "target extended-remote {serial.port}" -ex "monitor swdp_scan" -ex "attach 1" -ex "load" -ex "compare-sections" -ex "kill" "{build.path}/{build.project_name}.elf"
184-
185-
# HID flash 2.2 (HID bootloader v2.2 for STM32F1 and STM32F4 series)
186-
tools.hid_upload.cmd=hid-flash
187-
tools.hid_upload.cmd.windows=hid-flash.exe
188-
tools.hid_upload.path={runtime.tools.STM32Tools.path}/tools/win
189-
tools.hid_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
190-
tools.hid_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
191-
tools.hid_upload.upload.params.verbose=-d
192-
tools.hid_upload.upload.params.quiet=n
193-
tools.hid_upload.upload.pattern="{path}/{cmd}" "{build.path}/{build.project_name}.bin" {serial.port.file}
194-
195-
# Upload using Maple bootloader over DFU
196-
tools.maple_upload.cmd=maple_upload
197-
tools.maple_upload.cmd.windows=maple_upload.bat
198-
tools.maple_upload.path={runtime.tools.STM32Tools.path}/tools/win
199-
tools.maple_upload.path.macosx={runtime.tools.STM32Tools.path}/tools/macosx
200-
tools.maple_upload.path.linux={runtime.tools.STM32Tools.path}/tools/linux
201-
tools.maple_upload.upload.params.verbose=-d
202-
tools.maple_upload.upload.params.quiet=n
203-
tools.maple_upload.upload.pattern="{path}/{cmd}" {serial.port.file} {upload.altID} {upload.usbID} "{build.path}/{build.project_name}.bin"
204-
205-
206155

207156

208157
# Upload using SensorXEL bootloader over Serial
@@ -214,17 +163,17 @@ tools.xel_loader.path.linux={runtime.hardware.path}/tools/linux/xel_loader
214163
tools.xel_loader.path.linux64={runtime.hardware.path}/tools/linux64/xel_loader
215164
tools.xel_loader.upload.params.verbose=-d
216165
tools.xel_loader.upload.params.quiet=n
217-
tools.xel_loader.upload.pattern="{path}/{cmd}" {serial.port.file} 57600 08005000 "{build.path}/{build.project_name}.bin" 1 1
166+
tools.xel_loader.upload.pattern="{path}/{cmd}" {serial.port.file} 1000000 {upload.flash_address} "{build.path}/{build.project_name}.bin" 1 1
218167

219168
# Upload using stm32flash
220169
tools.stm32flash.cmd=stm32flash
221170
tools.stm32flash.cmd.windows=stm32flash.exe
222-
tools.stm32flash.path={runtime.tools.opencr_tools.path}/win/stm32flash
223-
tools.stm32flash.path.macosx={runtime.tools.opencr_tools.path}/macosx/stm32flash
224-
tools.stm32flash.path.linux={runtime.tools.opencr_tools.path}/linux/stm32flash
171+
tools.stm32flash.path={runtime.hardware.path}/tools/win/stm32flash
172+
tools.stm32flash.path.macosx={runtime.hardware.path}/tools/macosx/stm32flash
173+
tools.stm32flash.path.linux={runtime.hardware.path}/tools/linux/stm32flash
225174
tools.stm32flash.erase.params.verbose=-v
226175
tools.stm32flash.erase.params.quiet=-q -q
227176
tools.stm32flash.erase.pattern=
228177
tools.stm32flash.bootloader.params.verbose=-v -v -v -v
229178
tools.stm32flash.bootloader.params.quiet=-q -q
230-
tools.stm32flash.bootloader.pattern="{path}/{cmd}" -e 80 -w "{runtime.platform.path}/bootloaders/{bootloader.file}" -v -g 0x08000000 {serial.port.file}
179+
tools.stm32flash.bootloader.pattern="{path}/{cmd}" -e 48 -w "{runtime.platform.path}/bootloaders/{bootloader.file}" -v -g 0x08000000 {serial.port.file}

0 commit comments

Comments
 (0)