mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-09-28 15:05:27 +00:00
Implemented page erase operation for SerialUPDI
This commit is contained in:
@@ -881,8 +881,7 @@ static int serialupdi_chip_erase(const PROGRAMMER *pgm, const AVRPART *p) {
|
||||
static int serialupdi_page_erase(const PROGRAMMER *pgm, const AVRPART *p, const AVRMEM *m,
|
||||
unsigned int baseaddr)
|
||||
{
|
||||
pmsg_error("page erase not implemented yet\n");
|
||||
return -1;
|
||||
return updi_nvm_erase_flash_page(pgm, p, m->offset + baseaddr);
|
||||
}
|
||||
|
||||
static int serialupdi_read_signature(const PROGRAMMER *pgm, const AVRPART *p, const AVRMEM *m) {
|
||||
|
Reference in New Issue
Block a user