Skip to content

Commit f79459c

Browse files
committed
Try -fweb -frename-registers to make more SAMD21 builds fit
1 parent fe40181 commit f79459c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ports/atmel-samd/mpconfigport.mk

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,8 @@ SUPEROPT_VM = 0
7878

7979
CIRCUITPY_LTO_PARTITION = one
8080

81-
ifeq ($(CIRCUITPY_FULL_BUILD),0)
82-
# On the smallest boards, this saves about 180 bytes. On other boards, it may -increase- space used.
81+
# On smaller builds this saves about 180 bytes. On other boards, it may -increase- space used, so use with care.
8382
CFLAGS_BOARD = -fweb -frename-registers
84-
endif
8583

8684
endif # samd21
8785
######################################################################

0 commit comments

Comments
 (0)