atmel-samd: reduce inlining on constrained boards again

pewpew10, pirkey_m0, and uchip all fit now.  However, pirkey_m0
now has just 76 bytes flash available.
This commit is contained in:
Jeff Epler 2019-11-22 14:27:44 -06:00
parent 3ed6de7baf
commit 82f55dc046
3 changed files with 5 additions and 1 deletions

View File

@ -23,3 +23,5 @@ CIRCUITPY_USB_MIDI = 0
SUPEROPT_GC = 0
FROZEN_MPY_DIRS += $(TOP)/frozen/pew-pewpew-standalone-10.x
CFLAGS_BOARD = --param inline-unit-growth=15 --param max-inline-insns-auto=15

View File

@ -30,4 +30,4 @@ FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_DotStar
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_IRRemote
CFLAGS_BOARD = --param inline-unit-growth=15 --param max-inline-insns-auto=20
CFLAGS_BOARD = --param inline-unit-growth=15 --param max-inline-insns-auto=12

View File

@ -10,3 +10,5 @@ CHIP_FAMILY = samd21
INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE
CIRCUITPY_SMALL_BUILD = 1
CFLAGS_BOARD = --param inline-unit-growth=15 --param max-inline-insns-auto=20