From feaeb11e49bb13b27168e63b0db43d83ca74c6c1 Mon Sep 17 00:00:00 2001 From: Shadowtrance Date: Tue, 30 Dec 2025 03:16:08 +1000 Subject: [PATCH] Added TactilityC symbols and DPI updates(#438) + btt-panda-touch size correction and dpi update + wt32-sc01-plus dpi update --- Devices/btt-panda-touch/device.properties | 4 ++-- .../device.properties | 2 +- TactilityC/Source/tt_init.cpp | 20 +++++++++++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) diff --git a/Devices/btt-panda-touch/device.properties b/Devices/btt-panda-touch/device.properties index cdb65537..58d0b3c7 100644 --- a/Devices/btt-panda-touch/device.properties +++ b/Devices/btt-panda-touch/device.properties @@ -11,9 +11,9 @@ spiRamSpeed=120M esptoolFlashFreq=120M [display] -size=2.4" +size=5" shape=rectangle -dpi=139 +dpi=187 [lvgl] colorDepth=16 \ No newline at end of file diff --git a/Devices/wireless-tag-wt32-sc01-plus/device.properties b/Devices/wireless-tag-wt32-sc01-plus/device.properties index 73214d21..42e05658 100644 --- a/Devices/wireless-tag-wt32-sc01-plus/device.properties +++ b/Devices/wireless-tag-wt32-sc01-plus/device.properties @@ -14,7 +14,7 @@ esptoolFlashFreq=80M [display] size=3.5" shape=rectangle -dpi=139 +dpi=165 [lvgl] colorDepth=16 diff --git a/TactilityC/Source/tt_init.cpp b/TactilityC/Source/tt_init.cpp index 28f5956b..8e14a8f4 100644 --- a/TactilityC/Source/tt_init.cpp +++ b/TactilityC/Source/tt_init.cpp @@ -362,6 +362,7 @@ const esp_elfsym main_symbols[] { ESP_ELFSYM_EXPORT(lv_event_get_target_obj), ESP_ELFSYM_EXPORT(lv_event_get_target), ESP_ELFSYM_EXPORT(lv_event_get_current_target_obj), + ESP_ELFSYM_EXPORT(lv_event_get_draw_task), // lv_obj ESP_ELFSYM_EXPORT(lv_color_hex), ESP_ELFSYM_EXPORT(lv_color_make), @@ -459,6 +460,11 @@ const esp_elfsym main_symbols[] { ESP_ELFSYM_EXPORT(lv_obj_set_size), ESP_ELFSYM_EXPORT(lv_obj_set_width), ESP_ELFSYM_EXPORT(lv_obj_set_height), + ESP_ELFSYM_EXPORT(lv_obj_send_event), + ESP_ELFSYM_EXPORT(lv_obj_set_style_outline_color), + ESP_ELFSYM_EXPORT(lv_obj_set_style_outline_width), + ESP_ELFSYM_EXPORT(lv_obj_set_style_outline_pad), + ESP_ELFSYM_EXPORT(lv_obj_set_style_outline_opa), // lv_font ESP_ELFSYM_EXPORT(lv_font_get_default), // lv_theme @@ -563,6 +569,7 @@ const esp_elfsym main_symbols[] { ESP_ELFSYM_EXPORT(lv_display_get_vertical_resolution), ESP_ELFSYM_EXPORT(lv_display_get_physical_horizontal_resolution), ESP_ELFSYM_EXPORT(lv_display_get_physical_vertical_resolution), + ESP_ELFSYM_EXPORT(lv_display_dpx), // lv_pct ESP_ELFSYM_EXPORT(lv_pct), ESP_ELFSYM_EXPORT(lv_pct_to_px), @@ -589,6 +596,7 @@ const esp_elfsym main_symbols[] { ESP_ELFSYM_EXPORT(lv_indev_get_key), ESP_ELFSYM_EXPORT(lv_indev_get_gesture_dir), ESP_ELFSYM_EXPORT(lv_indev_get_state), + ESP_ELFSYM_EXPORT(lv_indev_active), // lv_timer ESP_ELFSYM_EXPORT(lv_timer_handler), ESP_ELFSYM_EXPORT(lv_timer_handler_run_in_period), @@ -617,6 +625,18 @@ const esp_elfsym main_symbols[] { ESP_ELFSYM_EXPORT(lv_line_create), ESP_ELFSYM_EXPORT(lv_line_set_points), ESP_ELFSYM_EXPORT(lv_line_set_points_mutable), + // lv_group + ESP_ELFSYM_EXPORT(lv_group_remove_obj), + // lv_mem + ESP_ELFSYM_EXPORT(lv_free), + ESP_ELFSYM_EXPORT(lv_malloc), + // lv_draw + ESP_ELFSYM_EXPORT(lv_draw_task_get_draw_dsc), + ESP_ELFSYM_EXPORT(lv_draw_task_get_label_dsc), + ESP_ELFSYM_EXPORT(lv_draw_task_get_fill_dsc), + // lv_image + ESP_ELFSYM_EXPORT(lv_image_create), + ESP_ELFSYM_EXPORT(lv_image_set_src), // stdio.h ESP_ELFSYM_EXPORT(rename), // dirent.h