terry0012 opened a new pull request, #21120: URL: https://github.com/apache/nuttx/pull/21120
## Summary Support non-consecutive framebuffers by mapping logical read/write/mmap offsets to individual buffers and using the logical framebuffer length for seek. Translate logical pan offsets to physical offsets in the simulator. ## Impact No public API signature changes. Non-consecutive framebuffer clients must use logical offsets rather than physical address differences; companion nuttx-apps/LVGL updates are required. Known limitation: drivers that change framebuffer addresses after registration are not handled correctly by the cached mapping table. ## Testing - Host: Ubuntu 22.04 x86-64, GCC 13.4, CMake 3.23. - Target: sim:lvgl_fb, 640×480×32, two buffers, with 0- and 17-line gaps. - Clean and incremental Make/CMake builds passed. - Verified per-buffer mmap, cross-buffer read/write, seek, invalid mapping rejection, and gap preservation using a VFS test application. - Verified framebuffer switching, the fb example, and LVGL widgets under Xvfb/GDB. Both fb screenshots matched the expected image pixel-for-pixel. - Tested with matching nuttx-apps and LVGL fbdev patches. No physical hardware or OSTest testing performed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
