forked from FishsemiCode/snshub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
90 lines (71 loc) · 1.54 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
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
menu "SNSHUB"
config SERVICE_SNSHUB
bool "SERVICE_SNSHUB"
default n
depends on SIG_EVTHREAD
depends on DEV_GPIO
depends on I2C_DRIVER
depends on SPI_DRIVER
---help---
Enable SNSHUB FUNCTION
config SNSHUB_PRIORITY
int "snshub task priority"
default 150
---help---
The priority for SNSHUB task.
config SNSHUB_STACKSIZE
int "snshub stack size"
default 4096
---help---
The stack size allocated for the snshub task.
if SERVICE_SNSHUB
config SNSHUB_PROGNAME
string "SNSHUB program name"
default "snshub"
config ENABLE_SNSHUB
bool "enable snshub function"
default y
---help---
Enable snshub function
config DEBUG_SNSHUB_ERROR
bool "Snshub error output"
default n
depends on DEBUG_ERROR
config DEBUG_SNSHUB_WARN
bool "Snshub warn output"
default n
depends on DEBUG_WARN
config DEBUG_SNSHUB_INFO
bool "Snshub info output"
default n
depends on DEBUG_INFO
menu "SNSHUB_BOARD"
config SNSHUB_BOARD_DUMMY
bool "snshub board for dummy"
default n
---help---
Select snshub board for dummy, template code
config SNSHUB_BOARD_U1_BOX
bool "snshub board for u1 box"
default n
---help---
Select snshub board for u1 box
endmenu
menu "SENSOR_DRIVER"
config SNSHUB_DRIVER_ICM42605
bool "snshub driver icm42605"
default n
---help---
Enable snshub driver icm42605
config SNSHUB_DRIVER_LIS3DH
bool "snshub driver lis3dh"
default n
---help---
Enable snshub driver lis3dh
endmenu
endif # SNSHUB
endmenu