This library should be ported to ESP-IDF: https://github.com/lewisxhe/AXP202X_Library By using this example: https://github.com/espressif/esp-idf/blob/master/examples/peripherals/i2c/i2c_self_test/main/i2c_example_main.c Information about the PMU: Integrated multi-channel programmable power management chip ( AXP202) Pin 35 AXP202 INT http://www.x-powers.com/en.php/Info/support/article_id/30
This library should be ported to ESP-IDF: https://github.com/lewisxhe/AXP202X_Library
By using this example:
https://github.com/espressif/esp-idf/blob/master/examples/peripherals/i2c/i2c_self_test/main/i2c_example_main.c
Information about the PMU:
Integrated multi-channel programmable power management chip ( AXP202)
Pin 35 AXP202 INT
http://www.x-powers.com/en.php/Info/support/article_id/30