From 2397984d2b13b885fee4100f79af6612dca33599 Mon Sep 17 00:00:00 2001 From: Stefan Rueger Date: Wed, 27 Apr 2022 18:54:13 +0100 Subject: [PATCH] Disable trailing-0xff removal when invoking arduino programmer --- src/arduino.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/arduino.c b/src/arduino.c index dbaafef2..7f030a13 100644 --- a/src/arduino.c +++ b/src/arduino.c @@ -130,4 +130,7 @@ void arduino_initpgm(PROGRAMMER * pgm) pgm->read_sig_bytes = arduino_read_sig_bytes; pgm->open = arduino_open; pgm->close = arduino_close; + + /* disable trailing-0xff removal when reading input files and avr flash */ + avr_mem_hiaddr(NULL); }