Blame view

RIOT/cpu/stm32_common/Makefile.include 420 Bytes
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
  # export the CPU family so we can differentiate between them in the code
  FAM = $(shell echo $(CPU_FAM) | tr 'a-z-' 'A-Z_')
  export CFLAGS += -DCPU_FAM_$(FAM)
  
  # include common periph module
  USEMODULE += periph_common
  
  # include stm32 common functions and stm32 common periph drivers
  USEMODULE += stm32_common stm32_common_periph
  
  # export the common include directory
  export INCLUDES += -I$(RIOTCPU)/stm32_common/include