zephyr_ircam/boards/xtensa/elecrow_esp_terminal/Kconfig.defconfig

87 lines
1.2 KiB
Text
Raw Permalink Normal View History

2024-01-04 00:52:49 +01:00
# Elecrow ESP Terminal board configuration
# Copyright (c) 2024 PM
# SPDX-License-Identifier: Apache-2.0
if BOARD_ELECROW_ESP_TERMINAL
config BOARD
default "elecrow_esp_terminal"
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 98304 if WIFI
default 40960 if BT
default 4096
choice BT_HCI_BUS_TYPE
default BT_ESP32 if BT
endchoice
config ENTROPY_GENERATOR
default y
config INPUT
default y
config DISPLAY
default y
config VIDEO
default y
config DISK_ACCESS
default y
config DISK_DRIVER_SDMMC
default y if DISK_ACCESS
config SPI
default y if DISK_DRIVER_SDMMC || DISPLAY
config I2C
default y if INPUT
config INPUT_FT5336
default y if INPUT
config INPUT_FT5336_INTERRUPT
default y if INPUT
config ILI9488
default y if DISPLAY
config REGULATOR
default y if DISPLAY
config VIDEO_OV2640
default y if VIDEO
if DISPLAY && LVGL
config LV_Z_BITS_PER_PIXEL
default 32
config LV_Z_MEM_POOL_SIZE
default 16384
config LV_Z_VDB_SIZE
default 20
endif # DISPLAY && LVGL
endif # BOARD_ELECROW_ESP_TERMINAL
if BOARD_ELECROW_ESP_TERMINAL_APPCPU
config BOARD
default "elecrow_esp_terminal_appcpu"
config HEAP_MEM_POOL_ADD_SIZE_BOARD
def_int 4096
config KERNEL_BIN_NAME
default "esp32_net_firmware"
endif # BOARD_ELECROW_ESP_TERMINAL_APPCPU