Papers3 improvements - #611
Conversation
And Tab5 keyboard improvements Usb host keyboard improvements SYMBOLS Requires the device.py change from CL-32 PR but that only affects visuals and not build breaking
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
📝 WalkthroughWalkthroughThe PR adds GRAYSCALE8 tile support and external-RAM buffer allocation for displays. It updates the Papers3 driver to pack grayscale pixels and perform a post-boot clear. Keyboard events now preserve Ctrl and Alt separately, including queued and repeated Tab5 events. USB HID conversion emits modifier metadata without suppressing characters. Additional HTTP, FreeRTOS, POSIX, VFS, logging, compression, and filesystem symbols are exported. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 6
🧹 Nitpick comments (1)
TactilityC/Source/tt_init.cpp (1)
266-272: 🩺 Stability & Availability | 🔵 TrivialTie global logging and VFS hooks to module teardown.
A dynamically loaded app can install callbacks that firmware uses after the call returns. If the module unloads first,
esp_log_set_vprintfcan leave a formatter pointer into unloaded code.esp_vfs_registercan leave VFS callbacks pointing into unloaded code. ESP-IDF does not take ownership of the registeredesp_vfs_tcallback table. (docs.espressif.com)Ensure teardown restores the previous log formatter and unregisters every VFS path before unloading the module. Prefer scoped wrappers if the loader cannot enforce this contract.
#!/bin/bash set -euo pipefail rg -n -C 8 'esp_log_set_vprintf|esp_vfs_register|esp_vfs_unregister|module_(stop|remove|destruct)|unload' .Also applies to: 358-363
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: a7a1017b-d82d-4901-b8da-e0bc22983378
📒 Files selected for processing (14)
Devices/m5stack-papers3/source/drivers/papers3_display.cppDevices/m5stack-tab5/Source/devices/tab5_keyboard.cppModules/lvgl-module/include/lvgl/devices/display.hModules/lvgl-module/source/devices/devices.cppModules/lvgl-module/source/devices/display.cppPlatforms/platform-esp32/source/drivers/usb/esp32_usbhost_hid.cppTactilityC/Source/symbols/esp_http_client.cppTactilityC/Source/symbols/freertos.cppTactilityC/Source/tt_init.cppTactilityKernel/include/tactility/drivers/display.hTactilityKernel/include/tactility/drivers/keyboard.hTactilityKernel/include/tactility/drivers/usb_host_hid.hTactilityKernel/source/drivers/keyboard.cppTactilityKernel/source/symbols.c
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 59a1f339-b6dd-46c3-b051-0957915342dc
📒 Files selected for processing (7)
Devices/m5stack-papers3/source/drivers/papers3_display.cppDevices/m5stack-tab5/Source/devices/tab5_keyboard.cppPlatforms/platform-esp32/source/drivers/usb/esp32_usbhost_hid.cppTactilityC/Source/symbols/esp_http_client.cppTactilityC/Source/symbols/freertos.cppTactilityKernel/include/tactility/drivers/keyboard.hTactilityKernel/include/tactility/drivers/usb_host_hid.h
🚧 Files skipped from review as they are similar to previous changes (6)
- TactilityKernel/include/tactility/drivers/keyboard.h
- TactilityKernel/include/tactility/drivers/usb_host_hid.h
- TactilityC/Source/symbols/esp_http_client.cpp
- Platforms/platform-esp32/source/drivers/usb/esp32_usbhost_hid.cpp
- Devices/m5stack-tab5/Source/devices/tab5_keyboard.cpp
- TactilityC/Source/symbols/freertos.cpp
|
Thanks a lot! Great improvement! |
And Tab5 keyboard improvements
Usb host keyboard improvements
SYMBOLS
Requires the device.py change from CL-32 PR but that only affects visuals and not build breaking
Summary by CodeRabbit
New Features
Bug Fixes
Performance