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>
23 lines
558 B
Plaintext
23 lines
558 B
Plaintext
# M5Stack ATOM Lite board configuration
|
|
# Copyright (c) 2023 Benjamin Cabé <benjamin@zephyrproject.org>
|
|
# Copyright (c) 2022 AVSystem Sławomir Wolf Sp.j. (AVSystem)
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_M5STACK_ATOM_LITE_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
|
|
|
|
endif # BOARD_M5STACK_ATOM_LITE_ESP32_PROCPU
|
|
|
|
if BOARD_M5STACK_ATOM_LITE_ESP32_APPCPU
|
|
|
|
config HEAP_MEM_POOL_ADD_SIZE_BOARD
|
|
default 256
|
|
|
|
endif # BOARD_M5STACK_ATOM_LITE_ESP32_APPCPU
|