Replies: 1 comment 5 replies
-
As mentioned by @cyberman54 here: #1015 (comment)
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I did start this PR yesterday to implement support for AXP2101.
#1015
This was merged into a new feature branch @cyberman54 was already working on for his T-Beam Supreme board.
I was looking into the Meshtastic firmware repo to see if there is already some proven config so we can be (more?) sure about correct PMU settings since it is quite tricky to develop for the power management chip as it can easily fry your (expensive) board.
Found this: https://github.com/meshtastic/firmware/blob/master/variants/tbeam-s3-core/variant.h
So apparently there are 2 I2C busses in use.
This means we might also need to add defines and check which Wire bus is used for which device, as is also done in Meshtastic:
https://github.com/meshtastic/firmware/blob/51f3ce5e600b08dd96ce9a9aa3e37384456ba347/variants/tbeam-s3-core/variant.h#L46-L48
N.B. I think the folder structure using variants as how it is done in Meshtastic is also a good idea to make it more clean as it allows for separate
platformio.ini
files andpins_arduino.h
Beta Was this translation helpful? Give feedback.
All reactions