1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/efm32: add CPU_FAM_EFM32xx define

This commit is contained in:
Gunar Schorcht 2022-10-19 01:47:35 +02:00
parent dd6c46e289
commit 4f47dc13fe

View File

@ -21,6 +21,9 @@ RIOTBOOT_LEN ?= 0x2000
# the em_device.h header requires a global define with the cpu model
CFLAGS += -D$(call uppercase_and_underscore,$(CPU_MODEL))
# to be able to use the family as define
CFLAGS += -DCPU_FAM_$(call uppercase_and_underscore,$(CPU_FAM))
# include EFM32 specific driver headers
INCLUDES += -I$(RIOTCPU)/efm32/include/drivers