Mute "flash and boot" warning if s UPDI programmer is used
Currently, no UPDI compatible AVR has a dedicated boot section like the Xmegas do
This commit is contained in:
parent
dcd5374ae9
commit
f96b98e9df
|
@ -1387,8 +1387,10 @@ static int jtagmkII_initialize(PROGRAMMER * pgm, AVRPART * p)
|
||||||
AVRMEM *bootmem = avr_locate_mem(p, "boot");
|
AVRMEM *bootmem = avr_locate_mem(p, "boot");
|
||||||
AVRMEM *flashmem = avr_locate_mem(p, "flash");
|
AVRMEM *flashmem = avr_locate_mem(p, "flash");
|
||||||
if (bootmem == NULL || flashmem == NULL) {
|
if (bootmem == NULL || flashmem == NULL) {
|
||||||
avrdude_message(MSG_INFO, "%s: jtagmkII_initialize(): Cannot locate \"flash\" and \"boot\" memories in description\n",
|
if (strncmp(ldata(lfirst(pgm->id)), "jtagmkII", strlen("jtagmkII")) == 0) {
|
||||||
progname);
|
avrdude_message(MSG_INFO, "%s: jtagmkII_initialize(): Cannot locate \"flash\" and \"boot\" memories in description\n",
|
||||||
|
progname);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if (PDATA(pgm)->fwver < 0x700) {
|
if (PDATA(pgm)->fwver < 0x700) {
|
||||||
/* V7+ firmware does not need this anymore */
|
/* V7+ firmware does not need this anymore */
|
||||||
|
|
Loading…
Reference in New Issue