Closed TD-er closed 5 days ago
@cyberman54 Please note the state of this code is "it compiles". So please have a very thorough look before uploading it to some board as I really hope I did not mess up.
Thanks for this work. Merged to new temporary development branch "feature-axp2101". Using for testing.
Will you continue from here? Or should I try to tweak some more? (from that branch)
please use the feature-axp2102 branch, i will continue and test from here. First, will merge the experimental tsupremes3.hal from development branch with your axp20xx.hal, then check voltages for T-Supreme, and then give it a try.
Please double/triple check to see if I do toggle the correct DCDC/LDO channels
Please double/triple check to see if I do toggle the correct DCDC/LDO channels
@TD-er Meanwhile, i found some prior art here: https://github.com/meshtastic/firmware/blob/master/src/Power.cpp#L843
This should work, because the purchased T-Beam Supreme S3 came with working Meshtastic firmware preinstalled.
Split the code into several sections for AXP192/AXP2101/AXP202
ToDo:
The code for AXP192 should not have changed, so that should probably be safe to use.
!!!The other chips have absolutely NOT been tested on real hardware!!!
Status: "it compiles"
Do NOT run this on real hardware unless you really know what to check for your board!
Fixes: #990