1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 07:32:45 +01:00
RIOT/tests/driver_nrf24l01p_lowlevel/Makefile
Marian Buschsieweke 12140ffb0e
examples,tests: Drop redundant dependency
When depending on one or more shell commands, the shell is pulled in
as dependency anyway.
2023-04-19 16:58:10 +02:00

21 lines
480 B
Makefile

include ../Makefile.tests_common
USEMODULE += shell_cmds_default
USEMODULE += ps
USEMODULE += ztimer_usec
USEMODULE += nrf24l01p
# set default device parameters in case they are undefined
SPI_PORT ?= SPI_DEV\(0\)
CE_PIN ?= GPIO_PIN\(0,0\)
CS_PIN ?= GPIO_PIN\(0,1\)
IRQ_PIN ?= GPIO_PIN\(0,2\)
# export parameters
CFLAGS += -DSPI_PORT=$(SPI_PORT)
CFLAGS += -DCE_PIN=$(CE_PIN)
CFLAGS += -DCS_PIN=$(CS_PIN)
CFLAGS += -DIRQ_PIN=$(IRQ_PIN)
include $(RIOTBASE)/Makefile.include