-
Notifications
You must be signed in to change notification settings - Fork 6
/
Kconfig
161 lines (140 loc) · 3.98 KB
/
Kconfig
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
# Kconfig file for package nrf5x_sdk
menuconfig PKG_USING_NRF5X_SDK
bool "nrf5x_sdk: the sdk of nordic"
default n
if PKG_USING_NRF5X_SDK
config NRFX_RTC_ENABLED
int
default 1
config NRFX_RTC1_ENABLED
int
default 1
config NRF_CLOCK_ENABLED
int
default 1
config NRF_SDH_BLE_ENABLED
int
default 1
config NRF_SDH_ENABLED
int
default 1
config NRF_SDH_SOC_ENABLED
int
default 1
config NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
int
default 1
config BLE_ADVERTISING_ENABLED
int
default 1
config NRF_BLE_QWR_ENABLED
int
default 1
config NRF_SDH_BLE_VS_UUID_COUNT
int
default 1
config NRF_BLE_CONN_PARAMS_ENABLED
int
default 1
config NRF_BLE_CONN_PARAMS_MAX_SLAVE_LATENCY_DEVIATION
int
default 499
config NRF_BLE_CONN_PARAMS_MAX_SUPERVISION_TIMEOUT_DEVIATION
int
default 65535
config NRF_BLE_GATT_ENABLED
int
default 1
choice
prompt "sample(softdevice)"
default SD_BLE_APP_BEACON
config SD_BLE_APP_BEACON
bool "ble_app_beacon"
config SD_BLE_APP_BLINKY
bool "ble_app_blinky"
if SD_BLE_APP_BLINKY
config BLE_LBS_ENABLED
int
default 1
config BLE_APP_BLINKY_ADV_LED
int "pin number of advertising indicator led"
range 0 47
default 16
config BLE_APP_BLINKY_CON_LED
int "pin number of connected indicator led"
range 0 47
default 14
config BLE_APP_BLINKY_TOG_LED
int "pin number of toggled led"
range 0 47
default 15
config BLE_APP_BLINKY_TRI_BUTTON
int "pin number of trigger button"
range 0 47
default 11
endif
config SD_BLE_APP_UART
bool "ble_app_uart"
if SD_BLE_APP_UART
config BLE_NUS_ENABLED
int
default 1
config NRF_SDH_BLE_GATT_MAX_MTU_SIZE
int
default 247
endif
config SD_BLE_APP_HRS
bool "ble_app_hrs"
if SD_BLE_APP_HRS
config BLE_HRS_ENABLED
int
default 1
config NRF_SDH_BLE_GATT_MAX_MTU_SIZE
int
default 247
config BLE_DIS_ENABLED
int
default 1
config BLE_BAS_ENABLED
int
default 1
endif
config SD_BLE_APP_HIDS_MOUSE
bool "ble_app_hids_mouse"
config SD_BLE_APP_BAS
bool "ble_app_bas"
if SD_BLE_APP_BAS
config BLE_BAS_ENABLED
int
default 1
config BLE_APP_BAS_ADC_CHANNEL_NUM
int "channel number of adc"
range 0 7
default 0
config BLE_APP_BAS_ADC_INPUT_PIN
int "the x of adc AINx"
range 0 7
default 1
endif
endchoice
config PKG_NRF5X_SDK_PATH
string
default "/packages/peripherals/nrf5x_sdk"
choice
prompt "Version"
default PKG_USING_NRF5X_SDK_LATEST_VERSION
help
Select the package version
config PKG_USING_NRF5X_SDK_V1300
bool "v13.0.0"
config PKG_USING_NRF5X_SDK_V1600
bool "v16.0.0"
config PKG_USING_NRF5X_SDK_LATEST_VERSION
bool "latest"
endchoice
config PKG_NRF5X_SDK_VER
string
default "v13.0.0" if PKG_USING_NRF5X_SDK_V1300
default "v16.0.0" if PKG_USING_NRF5X_SDK_V1600
default "latest" if PKG_USING_NRF5X_SDK_LATEST_VERSION
endif