mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
Given a typical setup of a battery at ~4 V and a nice!nano v2 running at 3.3 V, I measured a small increase in power usage (using a Nordic PPK2) when SOC_DCDC_NRF52X_HV was enabled. This changes the nice_nano_v2 and mikoto boards so this option is disabled by default. Fixes #2990
36 lines
1.0 KiB
Plaintext
36 lines
1.0 KiB
Plaintext
config BOARD_ENABLE_DCDC
|
|
bool "Enable DCDC mode"
|
|
select SOC_DCDC_NRF52X
|
|
default y
|
|
depends on (BOARD_MIKOTO)
|
|
|
|
config BOARD_ENABLE_DCDC_HV
|
|
bool "High voltage DCDC converter"
|
|
select SOC_DCDC_NRF52X_HV
|
|
default n
|
|
depends on (BOARD_MIKOTO)
|
|
|
|
choice BOARD_MIKOTO_CHARGER_CURRENT
|
|
prompt "Charge current to supply to attached batteries"
|
|
depends on (BOARD_MIKOTO)
|
|
|
|
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
|