-
Notifications
You must be signed in to change notification settings - Fork 31
/
Kconfig
104 lines (87 loc) · 2.42 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
mainmenu "BMS Configuration"
config ZEPHYR_BASE
string
option env="ZEPHYR_BASE"
source "$ZEPHYR_BASE/Kconfig.zephyr"
menu "BMS Settings"
config BMS_BOOT_DEVICE
string
prompt "Boot device"
default "GPIO_0"
help
The GPIO device name to be used for the BMS boot port
config BMS_BOOT_PIN
int
prompt "Boot pin"
default 21
help
Specify the GPIO pin number to be used for the BMS boot pin
config BMS_ALERT_DEVICE
string
prompt "Alert device"
default "GPIO_0"
help
The GPIO device name to be used for the BMS alert port
config BMS_ALERT_PIN
int
prompt "Alert pin"
default 22
help
The GPIO pin number to be used for the BMS alert pin
config BMS_I2C_DEVICE
string
prompt "I2C device"
default "I2C_0"
help
The I2C device to be used for communicating with BQ769x0
config BMS_BLINK_DEVICE
string
prompt "Blink device"
default "GPIO_0"
help
The GPIO device name to be used for LED blinker
config BMS_BLINK_PIN
int
prompt "Blink pin"
default 18
help
The GPIO pin number to be used for the LED blinker
config BMS_OVP_ENABLE
int
prompt "OVP enable"
default 3550
help
The minimum cell voltage (specified in mV) at which over-voltage protection is enabled
config BMS_OVP_DISABLE
int
prompt "OVP disable"
default 3350
help
The maximum cell voltage (specified in mV) at which over-voltage protection is disabled.
This only applies while OVP is enabled.
config BMS_UVP_ENABLE
int
prompt "UVP enable"
default 3000
help
The maximum cell voltage (specified in mV) at which under-voltage proection is enabled
config BMS_UVP_DISABLE
int
prompt "UVP disable"
default 3100
help
The minimum cell voltage (specified in mV) at which under-voltage protection is disabled.
This only applies whiel UVP is enabled.
config BMS_SCD_DELAY
int
prompt "SCD delay"
default 10000
help
Time to wait (specified in ms) before clearing short-circuit error
config BMS_OCD_DELAY
int
prompt "OCD delay"
default 10000
help
Time to wait (specified in ms) before cleaning over-current discharge error
endmenu