You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
379 B

# 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)
# use common periph functions
USEMODULE += periph_common
# include nrf5x common periph drivers
USEMODULE += nrf5x_common_periph
# export the common include directory
export INCLUDES += -I$(RIOTCPU)/nrf5x_common/include