blob: 08fc712b0d3881299e434d2d4639dd4b95c5c0f6 [file] [log] [blame]
# M5Stack Core2 board configuration
# Copyright (c) 2022 AVSystem SÅ‚awomir Wolf Sp.j. (AVSystem)
# Copyright (c) 2023 Martin Kiepfer <m.kiepfer@teleschirm.org>
# SPDX-License-Identifier: Apache-2.0
if BOARD_M5STACK_CORE2
config BOARD
default "m5stack_core2"
depends on BOARD_M5STACK_CORE2
config ENTROPY_GENERATOR
default y
config HEAP_MEM_POOL_SIZE
default 98304 if WIFI
default 65536 if BT
default 4096
config KERNEL_MEM_POOL
default y
choice BT_HCI_BUS_TYPE
default BT_ESP32 if BT
endchoice
config REGULATOR_AXP192_INIT_PRIORITY
default 81
config GPIO_HOGS_INIT_PRIORITY
default 82
config INPUT_FT5336_INTERRUPT
default y if INPUT
config INPUT
default y
config LV_COLOR_16_SWAP
default y if LVGL
endif # BOARD_M5STACK_CORE2