zephyr/boards/m5stack/m5stickc_plus/Kconfig.defconfig
Sylvio Alves d3541febcf boards: esp32: revert HEAP size to integer number
The commit ad63ca284e replaced
default value of 65535 to UINT16_MAX. That change might cause
confusion as it suggests that the HEAP size is limited to UINT16_MAX.

For this particular scenario, 65535 bytes is a resonable amount of
HEAP to allow both Wi-Fi and BT working in coexistance, which could be
increased as per application.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2024-08-15 12:00:06 -04:00

38 lines
703 B
Plaintext

# M5StickC PLUS board configuration
# Copyright (c) 2022 AVSystem Sławomir Wolf Sp.j. (AVSystem)
# SPDX-License-Identifier: Apache-2.0
if BOARD_M5STICKC_PLUS_ESP32_PROCPU
config HEAP_MEM_POOL_ADD_SIZE_BOARD
int
default 65535 if WIFI && BT
default 51200 if WIFI
default 40960 if BT
default 4096
config GPIO_HOGS_INIT_PRIORITY
default 70
config MFD_INIT_PRIORITY
default 70
config REGULATOR_AXP192_INIT_PRIORITY
default 71
config GPIO_AXP192_INIT_PRIORITY
default 72
config REGULATOR_FIXED_INIT_PRIORITY
default 75
endif # BOARD_M5STICKC_PLUS_ESP32_PROCPU
if BOARD_M5STICKC_PLUS_ESP32_APPCPU
config HEAP_MEM_POOL_ADD_SIZE_BOARD
default 256
endif # BOARD_M5STICKC_PLUS_ESP32_APPCPU