-
Notifications
You must be signed in to change notification settings - Fork 4
/
Kconfig
167 lines (145 loc) · 5.1 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
161
162
163
164
165
166
167
menu "RAK3172"
config RAK3172_USE_RUI3
bool "RUI3 support"
default y
help
Enable support for a RUI3 based communication interface.
config RAK3172_FACTORY_RESET
bool "Factory reset"
depends on RAK3172_USE_RUI3
default y
help
Perform a factory reset during the device driver initialization.
menu "Power Management"
config RAK3172_PWRMGMT_ENABLE
bool "Enable power management"
default y
help
Enable the support for power management functions for the host CPU.
endmenu
menu "Modes"
config RAK3172_MODE_WITH_LORAWAN
bool "Include LoRaWAN"
default n
help
Enable this option if you want to use the LoRaWAN mode.
config RAK3172_MODE_WITH_LORAWAN_CLASS_B
depends on RAK3172_MODE_WITH_LORAWAN
bool "Include class B support for LoRaWAN"
default n
help
Enable this option if you want to use the class B device support for LoRaWAN.
config RAK3172_MODE_WITH_LORAWAN_MULTICAST
depends on RAK3172_MODE_WITH_LORAWAN
bool "Include multicast support for LoRaWAN"
default n
help
Enable this option if you want to use the multicast support for LoRaWAN.
config RAK3172_MODE_WITH_P2P
bool "Include P2P"
default n
help
Enable this option if you want to use the LoRa P2P mode.
config RAK3172_MODE_WITH_UPDATE
depends on RAK3172_USE_RUI3
bool "Include DFU functionality (EXPERIMENTAL)"
default n
help
Enable this option if you want to use the DFU function mode for the RAK3172 module.
config CONFIG_RAK3172_MODE_WITH_LORAWAN_FOTA
select RAK3172_MODE_WITH_LORAWAN_MULTICAST
depends on RAK3172_MODE_WITH_LORAWAN
bool "Include LoRaWAN FOTA functionality (EXPERIMENTAL)"
default n
help
Enable this option if you want to use the FOTA function mode for the host CPU.
endmenu
menu "UART"
config RAK3172_UART_IRAM
bool "Place ISR in IRAM"
default n
config RAK3172_UART_BUFFER_SIZE
int "Buffer size"
range 256 1024
default 512
help
Buffer size for the UART.
config RAK3172_UART_QUEUE_LENGTH
int "Queue length"
range 4 16
default 8
help
Queue length for the UART receive buffer.
endmenu
menu "Reset"
config RAK3172_RESET_USE_HW
bool "Hardware reset"
default n
help
Enable this option if you want to use the hardware reset.
config RAK3172_RESET_INVERT
bool "Invert"
depends on RAK3172_RESET_USE_HW
default n
help
Enable this option if you want to invert the reset (active-high instead of active-low).
config RAK3172_RESET_USE_PULL
bool "Use internal pull-up / pull-down"
depends on RAK3172_RESET_USE_HW
default n
help
Enable this option if you want to use an internal pull-up resistor (invert disabled) or an internal pull-down resistor (invert enabled).
config RAK3172_RESET_PIN
int "RAK3172 Reset pin"
depends on RAK3172_RESET_USE_HW
range 0 32
default 15
help
RAK3172 reset pin.
endmenu
menu "FreeRTOS"
config RAK3172_TASK_PRIO
int "Receive task priority"
range 12 25
default 12
help
Task priority for the UART receive task.
config RAK3172_TASK_BUFFER_SIZE
int "UART Buffer size"
range 1024 4096
default 1024
help
Buffer size for the receive UART.
config RAK3172_TASK_STACK_SIZE
int "UART task stack size"
range 4096 8192
default 4096
help
Stack size for the receive task.
config RAK3172_TASK_CORE_USE_AFFINITY
bool "Use core affinity"
default n
help
Enable this option if you want to use a specific core for the UART receive task.
config RAK3172_TASK_CORE
int "Receive task core"
depends on RAK3172_TASK_CORE_USE_AFFINITY
range 0 1
default 1
help
Core used by the UART receive task.
endmenu
menu "Misc"
config RAK3172_MISC_ERROR_BASE
hex "RAK3172 driver error base definition"
range 0 FFFF
default 0xA000
help
Set the error base for the driver.
config RAK3172_MISC_ENABLE_LOG
bool "Enable log output"
default y
help
Enable this option if you need log output from the driver.
endmenu
endmenu