Increase the default flashing area size to 0x2000

This does two things:
- more reasonable default because stock firmware size is larger than
  the previous default
- it will overwrite 0x3fff with 0xff, so that after flashing stock
  firmware the user firmware is automatically disabled
This commit is contained in:
Ondrej Jirman 2021-06-28 15:36:58 +02:00
parent 6a5fe581b9
commit cea046008f

View file

@ -591,7 +591,7 @@ int main(int ac, char* av[])
{ {
char* rom_in = NULL; char* rom_in = NULL;
char* rom_out = NULL; char* rom_out = NULL;
int size = 0x1200; int size = 0x2000;
int ret; int ret;
while (1) { while (1) {