Make the intent of the value clear and avoid invalid ranges with typos. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
22 lines
566 B
Text
22 lines
566 B
Text
# 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 $(UINT16_MAX) 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
|