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_bm8563_codec
/
at
main
1 file
José M. Requena Plens
Extract BM8563 BCD/field codec into testable header
4w ago
afd90ea7
test_bm8563_codec.cpp
Extract BM8563 BCD/field codec into testable header Move the BM8563 pure BCD encode/decode and add the alarm-enable, VL clock-integrity, and CLKOUT/countdown-timer frequency decode helpers into a header-only bm8563_codec.h (mirroring pmic_common.h), so the code->unit conversions are unit-testable off-hardware and shared with the upcoming curated accessors. Route bm8563.cpp through the codec via using-declarations; the time/date round-trip is byte-identical. Add native codec tests. Also fix the inverted century-polarity comment in bm8563_regs.h: the bit is C=1 -> 1900s, C=0 -> 2000s (datasheet- and code-verified), not "1 == 2000s". Claude-Session: https://claude.ai/code/session_01U878bNJtg9bCvAMM8CFKqS
1 month ago