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
15if SMP
16
17config SCHED_IPI_SUPPORTED
18	default y
19
20config SCHED_CPU_MASK
21	default y if SCHED_DUMB
22
23config MP_MAX_NUM_CPUS
24	default 2
25
26endif # SMP config
27
28if GDBSTUB
29
30# ESP32 GDB expects 420 bytes G-packet.
31# So double for hexadecimal digits.
32config GDBSTUB_BUF_SZ
33	default 840 if GDBSTUB
34
35endif # GDBSTUB config
36
37endif # SOC_SERIES_ESP32 config
38