27 lines
750 B
Plaintext
27 lines
750 B
Plaintext
# ESP32S3 Core board configuration
|
|
|
|
# Copyright (c) 2023 YuLong Yao <feilongphone@gmail.com>
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU_USB
|
|
|
|
config HEAP_MEM_POOL_ADD_SIZE_BOARD
|
|
int
|
|
default 65535 if WIFI && BT
|
|
default 51200 if WIFI
|
|
default 40960 if BT
|
|
default 4096
|
|
|
|
choice BT_HCI_BUS_TYPE
|
|
default BT_ESP32 if BT
|
|
endchoice
|
|
|
|
endif # BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_PROCPU_USB
|
|
|
|
if BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU_USB
|
|
|
|
config HEAP_MEM_POOL_ADD_SIZE_BOARD
|
|
default 256
|
|
|
|
endif # BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU || BOARD_ESP32S3_LUATOS_CORE_ESP32S3_APPCPU_USB
|