[FL-1625] Overcurrent monitoring. Cli command for external 3.3v dcdc control. (#615)

* Apps: power observer for overcurrent monitoring
* Power: cli command for enable\disable externat 3.3v dcdc

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
SG
2021-08-02 21:15:24 +10:00
committed by GitHub
parent 35c441f031
commit 95f44f4d33
4 changed files with 56 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ SRV_DOLPHIN = 1
SRV_NOTIFICATION = 1
SRV_STORAGE = 1
SRV_DIALOGS = 1
SRV_POWER_OBSERVER = 1
# Main Apps
APP_IRDA = 1
@@ -59,6 +60,12 @@ SRV_CLI = 1
CFLAGS += -DSRV_POWER
endif
SRV_POWER_OBSERVER ?= 0
ifeq ($(SRV_POWER_OBSERVER), 1)
SRV_POWER = 1
CFLAGS += -DSRV_POWER_OBSERVER
endif
SRV_BT ?= 0
ifeq ($(SRV_BT), 1)
SRV_CLI = 1