Browse Source

cpu/stm32_common: build common module

pr/gpio
Hauke Petersen 7 years ago
parent
commit
546aacd2ce
  1. 2
      cpu/stm32_common/Makefile
  2. 4
      cpu/stm32_common/Makefile.include

2
cpu/stm32_common/Makefile

@ -1,3 +1,5 @@
MODULE = stm32_common
DIRS = periph
include $(RIOTBASE)/Makefile.base

4
cpu/stm32_common/Makefile.include

@ -5,8 +5,8 @@ export CFLAGS += -DCPU_FAM_$(FAM)
# include common periph module
USEMODULE += periph_common
# include stm32 common periph drivers
USEMODULE += stm32_common_periph
# 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

Loading…
Cancel
Save