Add UPDI HV type to device description.
This commit is contained in:
parent
577856cf15
commit
39008ac2c1
|
@ -1198,6 +1198,7 @@ static int jtag3_initialize(PROGRAMMER * pgm, AVRPART * p)
|
||||||
|
|
||||||
u16_to_b2(xd.nvm_base_addr, p->nvm_base);
|
u16_to_b2(xd.nvm_base_addr, p->nvm_base);
|
||||||
u16_to_b2(xd.ocd_base_addr, p->ocd_base);
|
u16_to_b2(xd.ocd_base_addr, p->ocd_base);
|
||||||
|
xd.hvupdi_variant = p->hvupdi_variant;
|
||||||
|
|
||||||
for (ln = lfirst(p->mem); ln; ln = lnext(ln))
|
for (ln = lfirst(p->mem); ln; ln = lnext(ln))
|
||||||
{
|
{
|
||||||
|
|
|
@ -400,5 +400,7 @@ struct updi_device_desc {
|
||||||
unsigned char flash_page_size_msb; // Extends flash_page_size, used in 24-bit mode
|
unsigned char flash_page_size_msb; // Extends flash_page_size, used in 24-bit mode
|
||||||
|
|
||||||
unsigned char address_mode; // 0x00 = 16-bit mode, 0x01 = 24-bit mode
|
unsigned char address_mode; // 0x00 = 16-bit mode, 0x01 = 24-bit mode
|
||||||
|
|
||||||
|
unsigned char hvupdi_variant; // Indicates the target UPDI HV implementation
|
||||||
};
|
};
|
||||||
#endif /* JTAG3_PRIVATE_EXPORTED */
|
#endif /* JTAG3_PRIVATE_EXPORTED */
|
||||||
|
|
Loading…
Reference in New Issue