87 lines
1.2 KiB
Text
87 lines
1.2 KiB
Text
|
# 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
|