From 981a6f1f20d72d69dd7b9dd4a30f20a2a141b1fc Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Sun, 20 Mar 2022 21:49:20 +0100 Subject: [PATCH] Restore the -u option as a dummy. Closes #890 --- NEWS | 1 + src/main.c | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index fa6c2a82..7d7f0b5f 100644 --- a/NEWS +++ b/NEWS @@ -76,6 +76,7 @@ Changes since version 6.4: - Signature read command for ATmega165* was wrong (no-id) - Cannot use non-standard baud rates for uploading on MacOS #771 - Wrong values in avrdude.conf #897 + - AVR-Eclipse plugin broken by missing -u commandline option #890 * Pull requests: diff --git a/src/main.c b/src/main.c index 7adc4b4c..253c6e51 100644 --- a/src/main.c +++ b/src/main.c @@ -571,6 +571,11 @@ int main(int argc, char * argv []) terminal = 1; break; + case 'u': + avrdude_message(MSG_INFO, "%s: \"safemode\" feature no longer supported\n", + progname); + break; + case 'U': upd = parse_op(optarg); if (upd == NULL) {