Skip to content

Commit 1fb4e5a

Browse files
committed
add preliminary bumpy support to arduino
1 parent 364f57d commit 1fb4e5a

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

boards.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bluey.upload.use_1200bps_touch=false
3737
bluey.upload.wait_for_upload_port=false
3838
bluey.upload.native_usb=false
3939

40-
bluey.bootloader.tool=sandeepmistry:openocd
40+
bluey.bootloader.tool=gdb
4141
bluey.bootloader.file=bluey/s132_nrf52_2.0.0_softdevice.hex
4242

4343
bluey.build.mcu=cortex-m4

platform.txt

+19-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1717

1818
name=Electronut labs nRF5 boards
19-
version=0.1.0
19+
version=0.1.2
2020

2121
# Compile variables
2222
# -----------------
@@ -149,3 +149,21 @@ tools.nrfutil.cmd.windows=dist/nrfutil.exe
149149
tools.nrfutil.upload.params.verbose=--verbose
150150
tools.nrfutil.upload.params.quiet=
151151
tools.nrfutil.upload.pattern="{path}/{cmd}" dfu serial --package={build.path}/{build.project_name}.zip --port={serial.port} --baudrate={upload.speed}
152+
153+
154+
#
155+
# gdb upload using bmp
156+
#
157+
tools.gdb.path={runtime.tools.gcc-arm-none-eabi-5_2-2015q4.path}/bin/
158+
tools.gdb.cmd=arm-none-eabi-gdb
159+
tools.gdb.program.params.verbose=''
160+
tools.gdb.program.params.quiet=''
161+
tools.gdb.program.pattern="{path}/{cmd}" {build.path}/{build.project_name}.elf -ex "tar ext {serial.port}" -ex "mon swdp_scan" -ex "attach 1" -ex "load" -ex "quit"
162+
163+
tools.gdb.bootloader.params.verbose=
164+
tools.gdb.bootloader.params.quiet=
165+
tools.gdb.bootloader.pattern="{path}/{cmd}" -n -q -ex "tar ext {serial.port}" -ex "mon swdp_scan" -ex "attach 1" -ex "load {runtime.platform.path}/bootloaders/{bootloader.file}" -ex "quit"
166+
167+
tools.gdb.erase.params.verbose=
168+
tools.gdb.erase.params.quiet=
169+
tools.gdb.erase.pattern=

programmers.txt

+8
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,11 @@ cmsisdap.program.protocol=
2121
cmsisdap.program.tool=openocd
2222
cmsisdap.program.interface=cmsis-dap
2323
cmsisdap.program.setup_command=;
24+
25+
bumpy.name=Bumpy
26+
bumpy.communication=serial
27+
bumpy.protocol=
28+
bumpy.program.protocol=
29+
bumpy.program.tool=gdb
30+
bumpy.program.interface=
31+
bumpy.program.setup_command=;

0 commit comments

Comments
 (0)