1# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd. 2# SPDX-License-Identifier: Apache-2.0 3 4if SOC_SERIES_ESP32 5 6config FLASH_SIZE 7 default $(dt_node_reg_size_int,/soc/flash-controller@3ff42000/flash@0,0) 8 9config FLASH_BASE_ADDRESS 10 default $(dt_node_reg_addr_hex,/soc/flash-controller@3ff42000/flash@0) 11 12config BOOTLOADER_MCUBOOT 13 default y if SOC_ESP32_APPCPU 14 15config MAIN_STACK_SIZE 16 default 2048 17 18if SMP 19 20config SCHED_IPI_SUPPORTED 21 default y 22 23config SCHED_CPU_MASK 24 default y if SCHED_SIMPLE 25 26config MP_MAX_NUM_CPUS 27 default 2 28 29endif # SMP config 30 31if GDBSTUB 32 33# ESP32 GDB expects 420 bytes G-packet. 34# So double for hexadecimal digits. 35config GDBSTUB_BUF_SZ 36 default 840 if GDBSTUB 37 38endif # GDBSTUB config 39 40endif # SOC_SERIES_ESP32 config 41