mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
21 lines
506 B
Makefile
21 lines
506 B
Makefile
|
# the em_device.h header requires a global define with the cpu model
|
||
|
export CFLAGS += -D$(shell echo $(CPU_MODEL) | tr 'a-z' 'A-Z')
|
||
|
|
||
|
# include emlib package
|
||
|
USEPKG += emlib
|
||
|
|
||
|
# include efm32 common
|
||
|
USEMODULE += efm32_common
|
||
|
|
||
|
# include common periph module
|
||
|
USEMODULE += periph_common
|
||
|
|
||
|
# include efm32 common periph drivers
|
||
|
USEMODULE += efm32_common_periph
|
||
|
|
||
|
# include layered power management
|
||
|
USEMODULE += pm_layered
|
||
|
|
||
|
# export the common include directory
|
||
|
export INCLUDES += -I$(RIOTCPU)/efm32_common/include
|