mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-22 09:06:23 +03:00
overwriting flash size to 256 on attiny15 and co.
This commit is contained in:
@@ -637,6 +637,10 @@ static void pickit5_enable(PROGRAMMER *pgm, const AVRPART *p) {
|
||||
if (mem->mode != 0x04) { // Don't change default flash settings on old AVRs
|
||||
mem->page_size = mem->size < 1024? mem->size : 1024;
|
||||
mem->readsize = mem->size < 1024? mem->size : 1024;
|
||||
} else {
|
||||
mem->page_size = 256;
|
||||
mem->readsize = 256;
|
||||
mem->blocksize = 256;
|
||||
}
|
||||
}
|
||||
if((mem = avr_locate_eeprom(p))) {
|
||||
|
||||
Reference in New Issue
Block a user