forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig.nrf
57 lines (46 loc) · 1.4 KB
/
Kconfig.nrf
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
53
54
55
56
57
#
# Copyright (c) 2018 Nordic Semiconductor
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
menu "Nordic nRF Connect"
#
# Provide a new choice to override the mbedtls_external library completely
# and not have to provide a "dummy" path for the implementation
#
choice MBEDTLS_IMPLEMENTATION
prompt "Select implementation"
default MBEDTLS_LIBRARY_NRF_SECURITY
config MBEDTLS_LIBRARY_NRF_SECURITY
bool "Use mbed TLS library from Nordic provided security backend"
depends on NORDIC_SECURITY_BACKEND
help
Use external, out-of-tree prebuilt mbedTLS library. For advanced
users only.
endchoice
# This is a temporary solution to whitelist
# BOARD_THINGY91_NRF9160NS in compliance
config BOARD_THINGY91_NRF9160NS
bool
# nRF Connect SDK needs a larger default stacks in certain configurations
# - For running tests.
# - For CC3XX RNG
config MAIN_STACK_SIZE
default 2048 if ZTEST
default 2048 if ENTROPY_CC3XX && !(SPM || BUILD_WITH_TFM)
config ZTEST_STACKSIZE
default 2048 if ZTEST
config PRIVILEGED_STACK_SIZE
default 2048 if ZTEST
# Set ENTROPY_GENERATOR to true for TF-M or SPM builds with enabled
# RNG provided from secure services.
config ENTROPY_GENERATOR
default y if BUILD_WITH_TFM || (SPM && SPM_SECURE_SERVICES)
rsource "samples/Kconfig"
rsource "subsys/Kconfig"
rsource "modules/Kconfig"
rsource "lib/Kconfig"
rsource "drivers/Kconfig"
rsource "ext/Kconfig"
rsource "tests/Kconfig"
endmenu