Firmware: enable battery ADC reporting by default for the XIAO build

FRAME_BATTERY_ADC_GPIO was still at its off-by-default -1 in
sdkconfig.xiao despite the XIAO being the one board this was designed
for -- the status panel showed no battery line because the device never
sent a report at all. Sets it to GPIO0, matching the settled
shared-with-back-button design.
This commit is contained in:
2026-07-20 22:29:17 -04:00
parent a3ab6c5f13
commit ca0ca9d015
+8
View File
@@ -22,3 +22,11 @@ CONFIG_FRAME_XIAO_ANTENNA_INIT=y
CONFIG_EPD_PIN_DC=16
CONFIG_EPD_PIN_RST=17
CONFIG_EPD_PIN_BUSY=21
# Battery reporting: shares GPIO0/D0/A0 with the back button (a
# high-impedance divider coexists fine with the button's pull-up and
# deep-sleep wake -- the firmware time-shares the pin). Requires the
# 2x200k divider from BAT+ to GND, midpoint to this pin, described in
# docs/hardware.md. Off by default project-wide since most builds (the
# DevKitC-1 dev board) have no battery wired at all.
CONFIG_FRAME_BATTERY_ADC_GPIO=0