terry0012 opened a new pull request, #19039:
URL: https://github.com/apache/nuttx/pull/19039

   
   ## Summary
   
   Add Kconfig definitions for FB_HWCURSOR, FB_HWCURSORIMAGE, and 
FB_HWCURSORSIZE in drivers/video/Kconfig.
   These three config symbols are referenced in 129 places across the codebase 
(#ifdef CONFIG_FB_HWCURSOR etc.) and depended on by NX_HWCURSOR in 
graphics/Kconfig and SAMA5_LCDC_HCR in arch/arm/src/sama5/Kconfig, but have 
never had a Kconfig definition since the framebuffer interface was introduced 
in 2008 (before NuttX adopted Kconfig in 2012).
   
   ## Impact
   
   - Users can now enable hardware cursor support via menuconfig
   - FB_HWCURSORIMAGE and FB_HWCURSORSIZE properly depend on FB_HWCURSOR
   - No functional change when these options remain disabled (default)
   - Enabling these options may expose pre-existing compilation errors in 
driver code that was previously unreachable dead code (e.g., 
sim_framebuffer.c). Those should be addressed in follow-up patches.
   
   ## Testing
   
   - sim:fb with FB_HWCURSOR=n (default): builds successfully, no regression
   - sim:fb with FB_HWCURSOR=y: Kconfig resolves correctly, sub-options 
appear/disappear as expected
   - olddefconfig validates without warnings
   


-- 
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]

Reply via email to