forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprj.conf
More file actions
52 lines (42 loc) · 1.44 KB
/
Copy pathprj.conf
File metadata and controls
52 lines (42 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_SIZE_OPTIMIZATIONS=y
CONFIG_HW_STACK_PROTECTION=y
CONFIG_MAIN_STACK_SIZE=10240
CONFIG_BOOT_BOOTSTRAP=n
CONFIG_BOOT_VERSION_CMP_USE_BUILD_NUMBER=y
CONFIG_FLASH=y
# CONFIG_FPROTECT is not supported yet on the nRF54H20 SoC
# Configure support for resuming the application execution after suspend to RAM (S2RAM)
# that is requested by the application. MCUboot does not support S2RAM itself, but serves
# as an immediate actor while waking up from suspension.
CONFIG_SOC_EARLY_RESET_HOOK=y
# Power domains forced on by default on boot, no need to manage them in bootloader
CONFIG_POWER_DOMAIN=n
# Enable HW cryptography in the MCUboot bootloader and its dependencies
# The PSA operations are handled by the SDFW Service Framework (SDFW)
# that is enabled with the CONFIG_PSA_SSF_CRYPTO_CLIENT Kconfig option.
CONFIG_PSA_CRYPTO=y
CONFIG_MULTITHREADING=y
CONFIG_PSA_SSF_CRYPTO_CLIENT=y
# Reduce memory consumption
CONFIG_BOOT_BANNER=n
CONFIG_NCS_BOOT_BANNER=n
CONFIG_CLOCK_CONTROL=n
CONFIG_SPI_NOR=n
CONFIG_GPIO=n
CONFIG_SERIAL=n
CONFIG_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_PRINTK=n
CONFIG_USE_SEGGER_RTT=n
# Activate Link Time Optimization (LTO)
CONFIG_LTO=y
CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
# Improve debugging experience by disabling reset on fatal error
CONFIG_RESET_ON_FATAL_ERROR=n
# Enable code partitioning with DTS
CONFIG_USE_DT_CODE_PARTITION=y