From aba6f5038e4b9ed7021b85e94031672d303a20e4 Mon Sep 17 00:00:00 2001
From: Aurelien Jarno <aurelien@aurel32.net>
Date: Mon, 28 Oct 2024 19:15:22 +0100
Subject: Fix Makefile for newer binutils versions

---
 software/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'software')

diff --git a/software/Makefile b/software/Makefile
index a30ec88..e77ccd6 100644
--- a/software/Makefile
+++ b/software/Makefile
@@ -33,7 +33,7 @@ $(PROG).elf: $(OBJS)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
 
 size: $(PROG).elf
-	@avr-size -C --mcu=$(MCU_TARGET) $^
+	@avr-size --format=avr --mcu=$(MCU_TARGET) $^
 
 # Rules for building the list file
 lst: $(PROG).lst
-- 
cgit v1.2.3