Try -fweb -frename-registers to make more SAMD21 builds fit

This commit is contained in:
Dan Halbert 2023-02-15 16:38:24 -05:00
parent fe40181144
commit f79459cb70

View File

@ -78,10 +78,8 @@ SUPEROPT_VM = 0
CIRCUITPY_LTO_PARTITION = one
ifeq ($(CIRCUITPY_FULL_BUILD),0)
# On the smallest boards, this saves about 180 bytes. On other boards, it may -increase- space used.
# On smaller builds this saves about 180 bytes. On other boards, it may -increase- space used, so use with care.
CFLAGS_BOARD = -fweb -frename-registers
endif
endif # samd21
######################################################################