2020-06-23 00:12:21 +02:00
|
|
|
ifneq (,$(filter nrf52832xxaa nrf52833xxaa nrf52840xxaa,$(CPU_MODEL)))
|
2020-06-10 13:11:32 +02:00
|
|
|
CPU_CORE = cortex-m4f
|
2020-06-23 00:12:21 +02:00
|
|
|
else
|
|
|
|
CPU_CORE = cortex-m4
|
|
|
|
endif
|
2020-01-30 09:49:47 +01:00
|
|
|
CPU_FAM = nrf52
|
|
|
|
|
2017-10-09 15:30:50 +02:00
|
|
|
# The ADC does not depend on any board configuration, so always available
|
|
|
|
FEATURES_PROVIDED += periph_adc
|
|
|
|
|
2019-11-13 13:05:34 +01:00
|
|
|
# So far, NimBLE netif does not support nrf51 platforms, so we use a dedicated
|
|
|
|
# feature to mark this
|
|
|
|
FEATURES_PROVIDED += ble_nimble_netif
|
|
|
|
|
2020-03-02 15:01:22 +01:00
|
|
|
# all nrf52 have an MPU
|
|
|
|
FEATURES_PROVIDED += cortexm_mpu
|
|
|
|
|
2020-07-03 11:11:11 +02:00
|
|
|
include $(RIOTCPU)/nrf5x_common/Makefile.features
|