2020-06-08 11:27:11 +02:00
|
|
|
CPU_MODEL = esp32-wroom_32
|
|
|
|
|
2018-10-08 12:20:49 +02:00
|
|
|
# common board and CPU features
|
|
|
|
include $(RIOTBOARD)/common/esp32/Makefile.features
|
|
|
|
|
2019-05-02 16:37:08 +02:00
|
|
|
ifneq (,$(filter olimex_esp32_gateway,$(USEMODULE)))
|
2023-07-02 15:33:08 +02:00
|
|
|
# additional features provided by Olimex ESP32 Gateway
|
2021-12-23 10:39:12 +01:00
|
|
|
FEATURES_PROVIDED += periph_adc
|
2023-07-02 15:33:08 +02:00
|
|
|
else
|
|
|
|
# SPI interface is not available on Olimex ESP32 Gateway
|
|
|
|
FEATURES_PROVIDED += periph_spi
|
2019-05-02 16:37:08 +02:00
|
|
|
endif
|
2023-07-02 15:33:08 +02:00
|
|
|
|
2018-10-08 12:20:49 +02:00
|
|
|
FEATURES_PROVIDED += periph_i2c
|
|
|
|
FEATURES_PROVIDED += periph_pwm
|
2023-07-02 15:33:08 +02:00
|
|
|
FEATURES_PROVIDED += periph_sdmmc
|
|
|
|
|
|
|
|
FEATURES_CONFLICT += periph_sdmmc:periph_spi
|
|
|
|
FEATURES_CONFLICT_MSG += "SD/MMC and SPI cannot be used at the same time on this board."
|
2018-10-08 12:20:49 +02:00
|
|
|
|
|
|
|
# unique features of the board
|
2019-08-09 16:34:48 +02:00
|
|
|
FEATURES_PROVIDED += periph_can # CAN peripheral interface
|
2024-05-27 16:12:24 +02:00
|
|
|
FEATURES_PROVIDED += periph_eth # Ethernet MAC (EMAC)
|
2018-10-08 12:20:49 +02:00
|
|
|
|
2023-06-23 15:42:08 +02:00
|
|
|
FEATURES_PROVIDED += arduino_pins
|