summaryrefslogtreecommitdiff
path: root/app/boards/arm/mikoto/Kconfig
diff options
context:
space:
mode:
authorHai-Ninh Dang <30751439+mrninhvn@users.noreply.github.com>2021-11-09 12:57:24 +0700
committerGitHub <noreply@github.com>2021-11-09 00:57:24 -0500
commitf2e0642291621611f3abce69f73a22c33b1ce801 (patch)
treeb19c681188373e28fc7e03b9f8366a99c11a5d96 /app/boards/arm/mikoto/Kconfig
parent944f93170454008759200a27a11225da40935edf (diff)
feat(boards): Add Mikoto board
* Supports selecting from several possible charge currents Co-authored-by: Pete Johanson <peter@peterjohanson.com>
Diffstat (limited to 'app/boards/arm/mikoto/Kconfig')
-rw-r--r--app/boards/arm/mikoto/Kconfig29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/boards/arm/mikoto/Kconfig b/app/boards/arm/mikoto/Kconfig
new file mode 100644
index 0000000..646d119
--- /dev/null
+++ b/app/boards/arm/mikoto/Kconfig
@@ -0,0 +1,29 @@
+config BOARD_ENABLE_DCDC
+ bool "Enable DCDC mode"
+ select SOC_DCDC_NRF52X
+ default y
+ depends on (BOARD_MIKOTO_520)
+
+choice BOARD_MIKOTO_CHARGER_CURRENT
+ prompt "Charge current to supply to attached batteries"
+ depends on (BOARD_MIKOTO_520)
+
+config BOARD_MIKOTO_CHARGER_CURRENT_40MA
+ bool "40mA charge current, for battery capacity 40mAh or higher"
+
+config BOARD_MIKOTO_CHARGER_CURRENT_100MA
+ bool "100mA charge current, for battery capacity 100mAh or higher"
+
+config BOARD_MIKOTO_CHARGER_CURRENT_150MA
+ bool "150mA charge current, for battery capacity 150mAh or higher"
+
+config BOARD_MIKOTO_CHARGER_CURRENT_250MA
+ bool "250mA charge current, for battery capacity 250mAh or higher"
+
+config BOARD_MIKOTO_CHARGER_CURRENT_350MA
+ bool "350mA charge current, for battery capacity 350mAh or higher"
+
+config BOARD_MIKOTO_CHARGER_CURRENT_NONE
+ bool "Disable charge current"
+
+endchoice \ No newline at end of file