Add a universal flash command for cli (#6224)

* Add universal flash command

* Add bootloader info to I:C boards

* Add support for ATSAM

* Add messages for flash target

* Message cleanup

* Add USB ASP Flashing target

* Make usbasp target more universal

* Add phoney target for usbasp

* Clarify error message when bootloader isn't matched
This commit is contained in:
Drashna Jaelre
2019-08-20 15:39:24 -07:00
committed by Yan-Fa Li
parent 91ee6a1dbb
commit 4003d077ce
10 changed files with 93 additions and 44 deletions

View File

@@ -54,6 +54,8 @@ ARMV = 7
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
OPT_DEFS += -DCORTEX_VTOR_INIT=0x00002000
BOOTLOADER = dfu
# Build Options
# comment out to disable the options.
#

View File

@@ -54,6 +54,8 @@ ARMV = 7
# The CORTEX_VTOR... is needed only for MCHCK/Infinity KB
OPT_DEFS += -DCORTEX_VTOR_INIT=0x00002000
BOOTLOADER = dfu
# Build Options
# comment out to disable the options.
#