-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ESC protocol and battery voltage threshold configuration
- Loading branch information
Showing
6 changed files
with
51 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
menu "IMU sensor configuration" | ||
menu "Power management configuration" | ||
|
||
config SENSORS_BMI088_BMP388 | ||
bool "Support for bmi088 and bmp388 sensors" | ||
# | ||
# Kconfig does not support float, we use strings here and fix them up in the | ||
# Makefile. | ||
# | ||
config PM_BAT_LOW_VOLTAGE | ||
string "Low voltage threshold in volts" | ||
default 3.2 | ||
help | ||
Include support for the Bosch bmi088 inertial and bmp388 | ||
barometric sensors | ||
The power management subsystem will enter the "low voltage" state when | ||
the battery voltage is below this threshold for a prolonged period of | ||
time. The length of this period is configured in the code; see | ||
hal/interface/pm.h | ||
|
||
config PM_BAT_CRITICAL_LOW_VOLTAGE | ||
string "Critical low voltage threshold in volts" | ||
default 3.0 | ||
help | ||
The power management subsystem will shut the system down when the | ||
battery voltage is below this threshold for a prolonged period of | ||
time. The length of this period is configured in the code; see | ||
hal/interface/pm.h | ||
|
||
endmenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters