alpha
Login
or
Join now
jmrp.io
/
kleidos
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/jmrplens/kleidos. Kleidos — Hardware BLE password manager for ESP32-S3 (M5StickC Plus2, StickS3, M5Stack Gray, T-Deck, Cardputer)
jmrplens.github.io/kleidos/
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
kleidos
/
test
/
drivers
/
test_pmic_accessors
/
at
main
1 file
José M. Requena Plens
Surface M5PM1 PMIC name and unit-test AXP192 current decode
3mo ago
cd7ca062
test_pmic_accessors.cpp
Surface M5PM1 PMIC name and unit-test AXP192 current decode - Override pmicName() on the StickS3 M5PM1 backend so RES?/PMIC? report "M5PM1" instead of "none"; the chip has no current/VBUS/temp/ coulomb ADCs, so percent + millivolts + charging remain its ceiling. - Extract the AXP192 battery-current, VBUS-current, and VBUS-voltage conversions (and the 13-bit discharge-ADC assembly) out of axp192.cpp into pure detail:: helpers in pmic_common.h, completing the existing decode-helper pattern, and cover them with native tests. The arithmetic is unchanged; the AXP192 accessor math was previously the only telemetry decode with no off-hardware test. Audit note: the four ADC-battery boards (Plus2, CoreInk, Cardputer, T-Deck) expose no charge/VBUS-sense GPIO, so isCharging() stays false (unavailable) by hardware; IP5306 (Gray) and AXP2101 already surface everything their silicon offers. Claude-Session: https://claude.ai/code/session_01SV58JXhfxhhc9DC6vdjBo4
3 months ago