Project restructuring: add tactility-headless (#55)

- Created `tactility-headless` to support ESP32 firmwares that don't require graphics
- `tactility` subproject now contains both PC and ESP32 code (to avoid having to split up `tactility` and `tactility-headless` into separate projects, which would result in a very complex dependency tree)
- `tactility` subproject is now defined as component for ESP32 and as regular module for PC
- Improvements for dispatcher
- Added `project-structure.puml` to docs
- `Gui` service now depends on `Loader` service instead of the reverse
- Added `statusbar_updater` service for updating Wi-Fi and SD card icons
This commit is contained in:
Ken Van Hoeylandt
2024-08-31 17:56:28 +02:00
committed by GitHub
parent b659d5b940
commit 27730260e0
85 changed files with 841 additions and 275 deletions
+1 -3
View File
@@ -1,7 +1,5 @@
idf_component_register(
SRC_DIRS "."
INCLUDE_DIRS "."
REQUIRES esp_lvgl_port esp_lcd esp_lcd_touch_gt911 driver vfs fatfs
REQUIRES tactility esp_lvgl_port esp_lcd esp_lcd_touch_gt911 driver vfs fatfs
)
target_link_libraries(${COMPONENT_LIB} ${IDF_TARGET_NAME} tactility)
+1 -1
View File
@@ -12,6 +12,6 @@ const HardwareConfig lilygo_tdeck = {
.display = {
.set_backlight_duty = &tdeck_backlight_set
},
.init_lvgl = &tdeck_init_lvgl,
.init_graphics = &tdeck_init_lvgl,
.sdcard = &tdeck_sdcard
};
+1 -3
View File
@@ -2,7 +2,5 @@ idf_component_register(
SRC_DIRS "source"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "private"
REQUIRES esp_lvgl_port esp_lcd_ili9341 driver vfs fatfs M5Unified
REQUIRES tactility esp_lvgl_port esp_lcd_ili9341 driver vfs fatfs M5Unified
)
target_link_libraries(${COMPONENT_LIB} ${IDF_TARGET_NAME} tactility)
+1 -1
View File
@@ -9,6 +9,6 @@ const HardwareConfig m5stack_core2 = {
.display = {
.set_backlight_duty = NULL
},
.init_lvgl = &core2_lvgl_init,
.init_graphics = &core2_lvgl_init,
.sdcard = &core2_sdcard
};
+1 -3
View File
@@ -1,7 +1,5 @@
idf_component_register(
SRC_DIRS "."
INCLUDE_DIRS "."
REQUIRES lvgl esp_lcd esp_lcd_touch_gt911
REQUIRES tactility lvgl esp_lcd esp_lcd_touch_gt911
)
target_link_libraries(${COMPONENT_LIB} ${IDF_TARGET_NAME} tactility)
@@ -9,5 +9,5 @@ const HardwareConfig waveshare_s3_touch = {
.display = {
.set_backlight_duty = NULL // TODO: This requires implementing the CH422G IO expander
},
.init_lvgl = &ws3t_init_lvgl
.init_graphics = &ws3t_init_lvgl
};
+1 -3
View File
@@ -1,7 +1,5 @@
idf_component_register(
SRC_DIRS "."
INCLUDE_DIRS "."
REQUIRES esp_lvgl_port esp_lcd_touch_cst816s esp_lcd_ili9341 driver vfs fatfs
REQUIRES tactility esp_lvgl_port esp_lcd_touch_cst816s esp_lcd_ili9341 driver vfs fatfs
)
target_link_libraries(${COMPONENT_LIB} ${IDF_TARGET_NAME} tactility)
+1 -1
View File
@@ -11,6 +11,6 @@ const HardwareConfig yellow_board_24inch_cap = {
.display = {
.set_backlight_duty = &twodotfour_backlight_set
},
.init_lvgl = &twodotfour_lvgl_init,
.init_graphics = &twodotfour_lvgl_init,
.sdcard = &twodotfour_sdcard
};