2018-10-08 12:20:49 +02:00
|
|
|
# common board and CPU features
|
|
|
|
include $(RIOTBOARD)/common/esp32/Makefile.features
|
|
|
|
|
|
|
|
# additional features provided by the board (no ADC and no DAC)
|
2019-05-02 16:37:08 +02:00
|
|
|
ifneq (,$(filter olimex_esp32_gateway,$(USEMODULE)))
|
|
|
|
FEATURES_PROVIDED += periph_adc
|
|
|
|
endif
|
2018-10-08 12:20:49 +02:00
|
|
|
FEATURES_PROVIDED += periph_i2c
|
|
|
|
FEATURES_PROVIDED += periph_pwm
|
|
|
|
FEATURES_PROVIDED += periph_spi
|
|
|
|
|
|
|
|
# unique features of the board
|
|
|
|
FEATURES_PROVIDED += periph_eth # Ethernet MAC (EMAC)
|
2019-04-01 11:52:32 +02:00
|
|
|
# FEATURES_PROVIDED += periph_can # CAN peripheral interface
|
|
|
|
FEATURES_PROVIDED += esp_can # Do not use periph_can but esp_can while common init
|
|
|
|
# is not updated
|
2018-10-08 12:20:49 +02:00
|
|
|
FEATURES_PROVIDED += periph_ir # IR peripheral interface
|
|
|
|
|
|
|
|
FEATURES_PROVIDED += arduino
|