mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
0bef4c0c30
The package uses the nRFx SDK package `nrfx`. In addition, the `mynewt-nimble` repository contains some files (`porting/nimble/src/hal_timer.c` and `porting/npl/riot/src/nrf5x_isr.c`) that are compilable only for nRF MCUs. To allow the compilation for other platforms, the use of the `nrfx` package and the compilation of these files are now dependent on the use of any nRF5x MCU.
8 lines
210 B
Makefile
8 lines
210 B
Makefile
ifeq (,$(filter nrf51 nrf52 nrf53,$(CPU_FAM)))
|
|
# nrf5x_isr.c does only compile for nRF5x MCUs
|
|
IGNORE := nrf5x_isr.c
|
|
SRC := $(filter-out $(IGNORE),$(wildcard *.c))
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|