1# M5Stack Core2 board configuration 2# Copyright (c) 2022 AVSystem Sławomir Wolf Sp.j. (AVSystem) 3# Copyright (c) 2023 Martin Kiepfer <m.kiepfer@teleschirm.org> 4# SPDX-License-Identifier: Apache-2.0 5 6if BOARD_M5STACK_CORE2_ESP32_PROCPU 7 8config KERNEL_MEM_POOL 9 default y 10 11config GPIO_HOGS_INIT_PRIORITY 12 default 70 13 14config MFD_INIT_PRIORITY 15 default 70 16 17config REGULATOR_AXP192_AXP2101_INIT_PRIORITY 18 default 71 19 20config GPIO_AXP192_INIT_PRIORITY 21 default 72 22 23config REGULATOR_FIXED_INIT_PRIORITY 24 default 75 25 26config INPUT 27 default y 28 29configdefault LV_COLOR_16_SWAP 30 default y if LVGL 31 32# Increase initialization priority of MIPI DBI device, so that it initializes 33# after the GPIO controller 34if MIPI_DBI 35 36config MIPI_DBI_INIT_PRIORITY 37 default 82 38 39endif # MIPI_DBI 40 41endif # BOARD_M5STACK_CORE2_ESP32_PROCPU 42