Tab5 power expander driver and devicetree parsing improvements (#507)

* **New Features**
  * PI4IOE5V6408 I2C I/O expander driver with public GPIO APIs
  * CLI tool to list devicetree dependencies

* **Device Tree Updates**
  * M5Stack Tab5 configured with two I2C IO expanders; PI4IOE5V6408 binding added

* **Build / Tooling**
  * Devicetree code generation integrated into build; generated artifacts and dynamic dependency resolution exposed

* **Refactor**
  * Kernel/run APIs updated to accept a null‑terminated devicetree modules array; many module symbols renamed

* **Documentation**
  * Added README and Apache‑2.0 license for new driver module
This commit is contained in:
Ken Van Hoeylandt
2026-02-17 22:59:30 +01:00
committed by GitHub
parent f0f764baff
commit d2048e01b6
82 changed files with 749 additions and 253 deletions
+4 -4
View File
@@ -5,20 +5,20 @@ if (NOT DEFINED ENV{ESP_IDF_VERSION})
file(GLOB_RECURSE SOURCES "Source/*.c*")
file(GLOB_RECURSE HEADERS "Source/*.h*")
add_library(Simulator OBJECT)
add_library(simulator OBJECT)
target_sources(Simulator
target_sources(simulator
PRIVATE ${SOURCES}
PUBLIC ${HEADERS}
)
target_link_libraries(Simulator
target_link_libraries(simulator
PRIVATE Tactility
PRIVATE TactilityCore
PRIVATE lvgl
PRIVATE SDL2-static
)
target_link_libraries(Simulator PRIVATE ${SDL2_LIBRARIES})
target_link_libraries(simulator PRIVATE ${SDL2_LIBRARIES})
endif()
+1 -2
View File
@@ -12,8 +12,7 @@ static error_t stop() {
return ERROR_NONE;
}
/** @warning The variable name must be exactly "device_module" */
struct Module device_module = {
struct Module simulator_module = {
.name = "simulator",
.start = start,
.stop = stop,