|
ESPHome 2026.11.0-dev
|
Data Structures | |
| class | ArduinoInternalGPIOPin |
| class | LibreTinyPreferenceBackend |
| class | LibreTinyPreferences |
| class | LTComponent |
Functions | |
| void | ensure_serial_handle (uint8_t port) |
| Give a hardware UART its SDK handle before its Serial begin()s. | |
| ESPHOME_LOG_TAG (TAG, "libretiny.gpio") | |
| ESPHOME_LOG_TAG (TAG, "libretiny") | |
| LibreTinyPreferences * | get_preferences () |
| ESPHOME_LOG_TAG (TAG, "preferences") | |
| void | setup_preferences () |
|
inline |
Give a hardware UART its SDK handle before its Serial begin()s.
LibreTiny's LN882H Serial passes the SDK's per port handle to serial_init(), which fills it in, but only the default log port (UART1) has one at boot. Any other port hands it NULL and the chip faults before setup, so a logger or uart on UART0 never boots. Drop this once LibreTiny gives each port storage of its own.
| esphome::libretiny::ESPHOME_LOG_TAG | ( | TAG | , |
| "libretiny" | ) |
| esphome::libretiny::ESPHOME_LOG_TAG | ( | TAG | , |
| "libretiny.gpio" | ) |
| esphome::libretiny::ESPHOME_LOG_TAG | ( | TAG | , |
| "preferences" | ) |
| LibreTinyPreferences * esphome::libretiny::get_preferences | ( | ) |
Definition at line 249 of file preferences.cpp.
| void esphome::libretiny::setup_preferences | ( | ) |
Definition at line 251 of file preferences.cpp.