-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathKconfig.defaults
More file actions
128 lines (95 loc) · 2.1 KB
/
Kconfig.defaults
File metadata and controls
128 lines (95 loc) · 2.1 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#
# Copyright (c) 2022 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
config REBOOT
default y
config MAIN_THREAD_PRIORITY
default 10
config MAIN_STACK_SIZE
default 1800 if SD_CARD_PLAYBACK
default 1600
config SYSTEM_WORKQUEUE_STACK_SIZE
default 1200
# As long as thread names are used, config must be set to "y"
config THREAD_NAME
default y
# Workaround to not use fatal_error.c in NCS. Note that the system may still
# reset on error depending on the build configuraion
config RESET_ON_FATAL_ERROR
default n
# Default Config for Debug and Release build
config BT
default y
config ZBUS
default y
config ZBUS_RUNTIME_OBSERVERS
default y
config ZBUS_MSG_SUBSCRIBER
default y
config SENSOR
default y
config REGULATOR
default y
config CONTIN_ARRAY
default y
config NRFX_I2S0
default y
config PCM_MIX
default y
config PSCM
default y
config DATA_FIFO
default y
# Enable NRFX_CLOCK for ACLK control
config NRFX_CLOCK
default y
config I2C
default y
choice LIBC_IMPLEMENTATION
# NOTE: Since we are not using minimal libc, error codes from
# minimal libc are not used
default NEWLIB_LIBC
endchoice
# Audio codec LC3 related defines
# FPU_SHARING enables preservation of the hardware floating point registers
# across context switches to allow multiple threads to perform concurrent
# floating point operations.
config FPU
default y
config FPU_SHARING
default y
# Enable SDHC interface
config DISK_DRIVERS
default y
config DISK_DRIVER_SDMMC
default y
# Enable SPI interface
config SPI
default y
# Enable ADC for board version readback
config ADC
default y
# Allocate buffer on RAM for transferring chunck of data
# from Flash to SPI
config SPI_NRFX_RAM_BUFFER_SIZE
default 8
# Config the file system
config FILE_SYSTEM
default y
config FAT_FILESYSTEM_ELM
default y
config FS_FATFS_LFN
default y
choice FS_FATFS_LFN_MODE
# Using stack for LFN work queue
default FS_FATFS_LFN_MODE_STACK
endchoice
# exFAT enabled to support longer file names and higher transfer speed
config FS_FATFS_EXFAT
default y
config WATCHDOG
default y
config TASK_WDT
default y