diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2018-11-13 10:43:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-13 10:43:18 -0800 |
| commit | ed9db807605e81a740e68e625bbe6b333581fcc0 (patch) | |
| tree | 83c901c309f71255b2ed1973a613df20b3e1e331 | |
| parent | 50f5d27c436cf71d14bf893709375e5bcf62717b (diff) | |
Switch SAMD51 back to -Os
It messes up neopixel timing otherwise.
Fixes #1326
| -rw-r--r-- | ports/atmel-samd/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile index 552be92be..23fb39779 100644 --- a/ports/atmel-samd/Makefile +++ b/ports/atmel-samd/Makefile @@ -93,7 +93,7 @@ CFLAGS += -DCFG_TUSB_MCU=OPT_MCU_SAMD21 -DCFG_TUD_CDC_RX_BUFSIZE=128 -DCFG_TUD_C endif ifeq ($(CHIP_FAMILY), samd51) -CFLAGS += -O0 -DNDEBUG +CFLAGS += -Os -DNDEBUG # TinyUSB defines CFLAGS += -DCFG_TUSB_MCU=OPT_MCU_SAMD51 -DCFG_TUD_CDC_RX_BUFSIZE=256 -DCFG_TUD_CDC_TX_BUFSIZE=256 -DCFG_TUD_MSC_BUFSIZE=1024 endif |
