From a658cf8c24b310f0de526a147de6133032886223 Mon Sep 17 00:00:00 2001 From: Arthur Moore Date: Thu, 4 Mar 2021 12:43:58 -0500 Subject: [PATCH] Include ".fin" sections when determining flash usage //Resolve #234 --- builder/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/main.py b/builder/main.py index 8bcabfd..8c7eb41 100644 --- a/builder/main.py +++ b/builder/main.py @@ -101,7 +101,7 @@ def _rpi_sysgpio(path, value): RANLIB="avr-gcc-ranlib", SIZETOOL="avr-size", ARFLAGS=["rc"], - SIZEPROGREGEXP=r"^(?:\.text|\.data|\.bootloader)\s+(\d+).*", + SIZEPROGREGEXP=r"^(?:\.text|\.data|.fin\d|\.bootloader)\s+(\d+).*", SIZEDATAREGEXP=r"^(?:\.data|\.bss|\.noinit)\s+(\d+).*", SIZECHECKCMD="$SIZETOOL -A -d $SOURCES", SIZEPRINTCMD="$SIZETOOL --mcu=$BOARD_MCU -C -d $SOURCES",