mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
cpu/samd21: moved -O0 from board to cpu
This commit is contained in:
parent
0d5c8546f3
commit
38f4fc7027
@ -2,9 +2,6 @@
|
||||
export CPU = samd21
|
||||
export CPU_MODEL = samr21g18a
|
||||
|
||||
# TODO: remove once the CPU implementation is stable with -Os
|
||||
CFLAGS_OPT = -O0
|
||||
|
||||
# set default port depending on operating system
|
||||
PORT_LINUX ?= /dev/ttyACM0
|
||||
|
||||
|
||||
@ -6,4 +6,7 @@ export CFLAGS += -DDONT_USE_CMSIS_INIT
|
||||
# use the hwtimer compatibility layer
|
||||
USEMODULE += hwtimer_compat
|
||||
|
||||
# TODO: remove once the CPU implementation is stable with -Os
|
||||
CFLAGS_OPT = -O0
|
||||
|
||||
include $(RIOTCPU)/Makefile.include.cortexm_common
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user