libretiny-eu / libretiny

PlatformIO development platform for IoT modules
http://docs.libretiny.eu/
MIT License
415 stars 62 forks source link

[core] Split reboot reasons due to wakeup #254

Closed cap9qd closed 9 months ago

cap9qd commented 9 months ago

Per https://github.com/libretiny-eu/libretiny/issues/234

Tested on several BK7231N devices with ESPHome 2024.1.0-dev

kuba2k2 commented 9 months ago

clang-format needs fixes here: https://github.com/libretiny-eu/libretiny/actions/runs/7991708089/job/21879639566?pr=254

cap9qd commented 9 months ago

clang-format needs fixes here: https://github.com/libretiny-eu/libretiny/actions/runs/7991708089/job/21879639566?pr=254

I have the clang-format fixed. The python one still seems to fail but I didn't change anything there...?

EDIT: Fixed the python files to pass black.