mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
97a6543c10
This gets rid of a long list of boards with network interfaces and instead let's boards (or MCUs with peripheral network interfaces) provide the netif feature. The apps that before used the long list are not depending on the feature instead (in case of the default example, this is an optional dependency). Co-authored-by: mguetschow <mikolai.guetschow@tu-dresden.de> Co-authored-by: mewen.berthelot <mewen.berthelot@orange.com>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# MCU defined features that are provided independent on board definitions
|
|
|
|
FEATURES_PROVIDED += arch_32bit
|
|
FEATURES_PROVIDED += arch_esp
|
|
FEATURES_PROVIDED += cpp
|
|
FEATURES_PROVIDED += esp_now
|
|
FEATURES_PROVIDED += esp_spiffs
|
|
FEATURES_PROVIDED += esp_wifi
|
|
FEATURES_PROVIDED += esp_wifi_ap
|
|
FEATURES_PROVIDED += libstdcpp
|
|
FEATURES_PROVIDED += newlib
|
|
FEATURES_PROVIDED += periph_cpuid
|
|
FEATURES_PROVIDED += periph_gpio
|
|
FEATURES_PROVIDED += periph_gpio_irq
|
|
FEATURES_PROVIDED += periph_hwrng
|
|
FEATURES_PROVIDED += periph_pm
|
|
FEATURES_PROVIDED += periph_rtc
|
|
FEATURES_PROVIDED += periph_rtt
|
|
FEATURES_PROVIDED += periph_rtt_overflow
|
|
FEATURES_PROVIDED += periph_rtt_set_counter
|
|
FEATURES_PROVIDED += periph_timer
|
|
FEATURES_PROVIDED += periph_uart_modecfg
|
|
FEATURES_PROVIDED += ssp
|
|
|
|
ifeq (xtensa,$(CPU_ARCH))
|
|
FEATURES_PROVIDED += arch_esp_xtensa
|
|
endif
|
|
|
|
ifeq (rv32,$(CPU_ARCH))
|
|
FEATURES_PROVIDED += arch_esp_riscv
|
|
endif
|
|
|
|
# All ESP* MCUs have a peripheral network interface
|
|
FEATURES_PROVIDED += netif
|
|
|
|
FEATURES_CONFLICT += esp_wifi_ap:esp_now
|
|
FEATURES_CONFLICT_MSG += "ESP_NOW and ESP_WIFI_AP can not be used at the same time."
|