Merge pull request #1151 from dbuchwald/serialupdi_page_erase
Implementation of SerialUPDI page erase operation
This commit is contained in:
commit
50046da923
|
@ -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,
|
static int serialupdi_page_erase(const PROGRAMMER *pgm, const AVRPART *p, const AVRMEM *m,
|
||||||
unsigned int baseaddr)
|
unsigned int baseaddr)
|
||||||
{
|
{
|
||||||
pmsg_error("page erase not implemented yet\n");
|
return updi_nvm_erase_flash_page(pgm, p, m->offset + baseaddr);
|
||||||
return -1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int serialupdi_read_signature(const PROGRAMMER *pgm, const AVRPART *p, const AVRMEM *m) {
|
static int serialupdi_read_signature(const PROGRAMMER *pgm, const AVRPART *p, const AVRMEM *m) {
|
||||||
|
|
Loading…
Reference in New Issue