Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d72f117

Browse filesBrowse files
authored
Merge pull request #265 from facchinm/burn_bootloader_org_boards
Fix bootloader tools for .org boards
2 parents b1999de + faef013 commit d72f117
Copy full SHA for d72f117

File tree

1 file changed

+7
-3
lines changed
Filter options

1 file changed

+7
-3
lines changed

‎boards.txt

Copy file name to clipboardExpand all lines: boards.txt
+7-3Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ mzero_pro_bl_dbg.build.pid=0x804f
304304
mzero_pro_bl_dbg.build.preferred_out_format=hex
305305
mzero_pro_bl_dbg.bootloader.size=0x4000
306306

307-
mzero_pro_bl_dbg.bootloader.tool=openocd
307+
mzero_pro_bl_dbg.bootloader.tool=openocd-withbootsize
308308
mzero_pro_bl_dbg.bootloader.cmd_unprotect=at91samd bootloader 0
309309
mzero_pro_bl_dbg.bootloader.cmd_protect=at91samd bootloader 16384
310310
mzero_pro_bl_dbg.bootloader.cmd_protect_verify=at91samd bootloader
@@ -335,14 +335,16 @@ mzero_pro_bl.build.board=SAM_ZERO
335335
mzero_pro_bl.build.core=arduino
336336
mzero_pro_bl.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
337337
mzero_pro_bl.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
338+
mzero_pro_bl.build.openocdscript=openocd_scripts/arduino_zero.cfg
338339
mzero_pro_bl.build.variant=arduino_mzero
339340
mzero_pro_bl.build.variant_system_lib=
340341
mzero_pro_bl.build.vid=0x2a03
341342
mzero_pro_bl.build.pid=0x804f
342343
mzero_pro_bl.build.preferred_out_format=hex
343344
mzero_pro_bl.bootloader.size=0x4000
344345
mzero_pro_bl.build.emu.mcu=atmega2560
345-
mzero_pro_bl.bootloader.tool=avrdude
346+
mzero_pro_bl.bootloader.tool=openocd-withbootsize
347+
mzero_pro_bl.bootloader.file=mzero/Bootloader_D21_M0_Pro_150427.hex
346348
mzero_pro_bl.bootloader.low_fuses=0xff
347349

348350
######################################################
@@ -370,15 +372,17 @@ mzero_bl.build.board=SAM_ZERO
370372
mzero_bl.build.core=arduino
371373
mzero_bl.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
372374
mzero_bl.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
375+
mzero_bl.build.openocdscript=openocd_scripts/arduino_zero.cfg
373376
mzero_bl.build.variant=arduino_mzero
374377
mzero_bl.build.variant_system_lib=
375378
mzero_bl.build.vid=0x2a03
376379
mzero_bl.build.pid=0x804e
377380
mzero_bl.build.preferred_out_format=hex
378381
mzero_bl.bootloader.size=0x4000
379382
mzero_bl.build.emu.mcu=atmega2560
380-
mzero_bl.bootloader.tool=avrdude
383+
mzero_bl.bootloader.tool=openocd-withbootsize
381384
mzero_bl.bootloader.low_fuses=0xff
385+
mzero_bl.bootloader.file=mzero/Bootloader_D21_M0_150515.hex
382386

383387
######################################################
384388
#ARDUINO TIAN (WITH) BOOTLOADER

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.