2022-06-20 21:32:05 +02:00
|
|
|
# default board version if not defined
|
2022-08-30 15:06:36 +02:00
|
|
|
BOARD_VERSION ?= esp32s3-devkitc-1-n8
|
2022-06-20 21:32:05 +02:00
|
|
|
|
|
|
|
ifeq (esp32s3-devkitc-1-n8,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_wroom_1x_n8
|
|
|
|
else ifeq (esp32s3-devkitc-1-n8r2,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_wroom_1x_n8r2
|
|
|
|
else ifeq (esp32s3-devkitc-1-n8r8,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_wroom_1x_n8r8
|
|
|
|
else ifeq (esp32s3-devkitc-1-n16r8v,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_wroom_2_n16r8v
|
|
|
|
else ifeq (esp32s3-devkitc-1-n32r8v,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_wroom_2_n32r8v
|
|
|
|
else ifeq (esp32s3-devkitc-1u-n8,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_wroom_1x_n8
|
|
|
|
else ifeq (esp32s3-devkitc-1u-n8r2,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_wroom_1x_n8r2
|
|
|
|
else ifeq (esp32s3-devkitc-1u-n8r8,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_wroom_1x_n8r8
|
|
|
|
else ifeq (esp32s3-devkitm-1-n8,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_mini_1x_n8
|
|
|
|
else ifeq (esp32s3-devkitm-1u-n8,$(BOARD_VERSION))
|
|
|
|
CPU_MODEL = esp32s3_mini_1x_n8
|
|
|
|
else
|
|
|
|
$(error BOARD_VERSION is unknown)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# common board and CPU features
|
|
|
|
include $(RIOTBOARD)/common/esp32s3/Makefile.features
|
|
|
|
|
|
|
|
# additional features provided by the board
|
|
|
|
FEATURES_PROVIDED += periph_adc
|
|
|
|
FEATURES_PROVIDED += periph_i2c
|
|
|
|
FEATURES_PROVIDED += periph_pwm
|
|
|
|
FEATURES_PROVIDED += periph_spi
|
|
|
|
|
|
|
|
# unique features provided by the board
|
|
|
|
FEATURES_PROVIDED += esp_jtag
|
|
|
|
|
2023-06-23 15:42:08 +02:00
|
|
|
FEATURES_PROVIDED += arduino_pins
|
2022-09-26 21:11:51 +02:00
|
|
|
FEATURES_PROVIDED += periph_usbdev
|
2022-09-28 23:56:58 +02:00
|
|
|
FEATURES_PROVIDED += tinyusb_device
|