Blame view

RIOT/cpu/sam0_common/Makefile.include 587 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  # Define the CPU family so we can differentiate between them in the code
  CFLAGS += -DCPU_FAM_$(shell echo $(CPU_FAM) | tr 'a-z-' 'A-Z_')
  
  # this CPU implementation doesn't use CMSIS initialization
  export CFLAGS += -DDONT_USE_CMSIS_INIT
  
  # for the sam[drl] CPUs we hold all linkerscripts in the sam0 common folder
  export LINKFLAGS += -L$(RIOTCPU)/sam0_common/ldscripts
  
  # use common periph functions
  USEMODULE += periph_common
  
  # include sam0 common periph drivers
  USEMODULE += sam0_common_periph
  
  # export the common include directory
  export INCLUDES += -I$(RIOTCPU)/sam0_common/include