forked from nrfconnect/sdk-nrf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathKconfig
More file actions
64 lines (53 loc) · 2.27 KB
/
Kconfig
File metadata and controls
64 lines (53 loc) · 2.27 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
53
54
55
56
57
58
59
60
61
62
63
64
# Thingy:91 nRF52840 board configuration
#
# Copyright (c) 2019 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
if BOARD_THINGY91_NRF9160 || BOARD_THINGY91_NRF9160_NS
config BOARD_INIT_PRIORITY
int "Initialization priority for board configuration"
default 80
help
The Thingy:91 board contains an ADP5360 PMIC that needs to be configured to
set up the power domains on the board correctly. This happens during sys_init,
and the PMIC setup must happen before the sensors are initialized in order
to power them up in time.
if BOARD_THINGY91_NRF9160_NS
choice
prompt "Pre-defined Thingy:91 partition layout"
default THINGY91_STATIC_PARTITIONS_SECURE_BOOT if SECURE_BOOT
default THINGY91_STATIC_PARTITIONS_LWM2M_CARRIER if LWM2M_CARRIER
default THINGY91_STATIC_PARTITIONS_FACTORY
config THINGY91_STATIC_PARTITIONS_FACTORY
bool "Factory Thingy:91 partition layout"
help
The default Thingy:91 partition layout used in the factory firmware. This ensures
firmware updates are compatible with Thingy:91 when flashing firmware over USB or over
the air.
config THINGY91_STATIC_PARTITIONS_SECURE_BOOT
bool "Secure boot Thingy:91 partition layout [EXPERIMENTAL]"
depends on SECURE_BOOT
select EXPERIMENTAL
help
Similar to the factory partition layout, but also has space for the Immutable Bootloader
and two MCUboot slots. A debugger is needed to flash Thingy:91 the first time.
This layout is still under development and should not be used in production.
config THINGY91_STATIC_PARTITIONS_LWM2M_CARRIER
bool "LWM2M Carrier partition layout"
depends on LWM2M_CARRIER
help
Use a partition layout including a storage partition needed for the lwm2m carrier library.
config THINGY91_NO_PREDEFINED_LAYOUT
bool "None [EXPERIMENTAL]"
select EXPERIMENTAL
help
Disable pre-defined static partition layout. This allows the application to use a dynamic
layout or define a custom static partition layout for the application. A debugger is
needed to flash Thingy:91 with a different partition layout.
endchoice
endif # if BOARD_THINGY91_NRF9160_NS
endif # BOARD_THINGY91_NRF9160 || BOARD_THINGY91_NRF9160_NS
module=BOARD
module-dep=LOG
module-str=Log level for board
source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config"