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

   ## Summary
   
   Enables the OTG FS host on the Linum-STM32H753BI 
(VBUS/power-switch/over-current GPIOs at bring-up, stm32_usbhost_initialize()) 
and adds an lvglterm_kbda configuration that runs the on-screen NuttShell 
terminal fed by a USB HID keyboard on /dev/kbda, with the microSD card enabled 
at the same time.
   
   Also switches esp32s3-m5-cardputer:lvglterm to the renamed matrix-keyboard 
input option (INPUT_KBD_MATRIX) to match the reworked lvglterm Kconfig, and 
documents the three input variants.
   
   Depends on the companion apps PR that reworks apps/examples/lvglterm 
https://github.com/apache/nuttx-apps/pull/3614
   
   ## Impact
   
   New Linum board configuration plus USB FS host enablement (guarded, inert 
for configs without USB); Cardputer defconfig symbol rename only. No impact on 
other boards, and the default lvglterm behaviour stays touch.
   
   ## Testing
   
   Built and validated on hardware (Linum-STM32H753BI):
   
   ```
   # Configure and build
   $ ./tools/configure.sh linum-stm32h753bi:lvglterm_kbda
   $ make -j
   
   # Flash the firmware, plug a USB HID keyboard and an SD card, then reset
   ```
   
   On the board the USB keyboard and the SD card work at the same time:
   
   ```
   nsh> ls /dev
   /dev:
    console
    fb0
    kbda        <- USB HID keyboard
    mmcsd0      <- microSD card
    null
    rtc0
    ttyS0
    zero
   
   # Terminal on the display, fed by the USB keyboard
   nsh> lvglterm
   
   # SD card mounts and reads while the keyboard is in use
   nsh> mount -t vfat /dev/mmcsd0 /data
   nsh> ls /data
   ```
   
   Typed characters echo on the display, commands run, and the Up/Down keys 
scroll the terminal. The other Linum configs that share the board changes (nsh, 
usbnsh, sdcard) still build cleanly, checkpatch/nxstyle pass, and the 
defconfigs are canonical.
   
   <img width="663" height="682" alt="lvglterm_keyboard" 
src="https://github.com/user-attachments/assets/9e75d98f-e430-46f0-9a8d-99699fdf416b";
 />
   


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