This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit f47fd03407acfb1e4973c3db9bb7aa596c4446f4
Author: Jorge Guzman <[email protected]>
AuthorDate: Thu Jul 30 17:35:46 2026 -0300

    boards: select the keyboard byte stream where the application needs it
    
    These are the configurations whose application reads the USB HID keyboard
    as a byte stream.  Now that the driver reports through the keyboard upper
    half, they need INPUT_KEYBOARD_BYTESTREAM to keep behaving as before.
    
    INPUT drops out of the normalised defconfigs because USBHOST_HIDKBD now
    selects it.
    
    Signed-off-by: Jorge Guzman <[email protected]>
---
 boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidkbd/defconfig | 3 ++-
 boards/arm/sama5/sama5d3-xplained/configs/bluetooth/defconfig      | 2 ++
 boards/arm/stm32f1/stm32butterfly2/configs/nsh/defconfig           | 2 ++
 boards/arm/stm32f1/stm32butterfly2/configs/nshusbhost/defconfig    | 2 ++
 boards/arm/stm32f4/olimex-stm32-p407/configs/hidkbd/defconfig      | 2 ++
 boards/arm/stm32h7/nucleo-h743zi2/configs/jumbo/defconfig          | 2 ++
 boards/arm/stm32h7/nucleo-h753zi/configs/jumbo/defconfig           | 2 ++
 boards/mips/jz4780/ci20/configs/jumbo/defconfig                    | 2 ++
 boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig            | 2 ++
 9 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidkbd/defconfig 
b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidkbd/defconfig
index 27bcff2f852..6b8600264f1 100644
--- a/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidkbd/defconfig
+++ b/boards/arm/lpc17xx_40xx/olimex-lpc1766stk/configs/hidkbd/defconfig
@@ -23,8 +23,9 @@ CONFIG_FAT_LCNAMES=y
 CONFIG_FAT_LFN=y
 CONFIG_FS_FAT=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
-CONFIG_INPUT=y
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_LINE_MAX=64
 CONFIG_LPC17_40_UART0=y
 CONFIG_LPC17_40_USBHOST=y
diff --git a/boards/arm/sama5/sama5d3-xplained/configs/bluetooth/defconfig 
b/boards/arm/sama5/sama5d3-xplained/configs/bluetooth/defconfig
index 9eee086e357..b810a18ab23 100644
--- a/boards/arm/sama5/sama5d3-xplained/configs/bluetooth/defconfig
+++ b/boards/arm/sama5/sama5d3-xplained/configs/bluetooth/defconfig
@@ -55,7 +55,9 @@ CONFIG_HAVE_CXX=y
 CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_HIDKBD_NOGETREPORT=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_NET=y
 CONFIG_NET_BLUETOOTH=y
 CONFIG_NET_LL_GUARDSIZE=14
diff --git a/boards/arm/stm32f1/stm32butterfly2/configs/nsh/defconfig 
b/boards/arm/stm32f1/stm32butterfly2/configs/nsh/defconfig
index 151be594518..7df169f087e 100644
--- a/boards/arm/stm32f1/stm32butterfly2/configs/nsh/defconfig
+++ b/boards/arm/stm32f1/stm32butterfly2/configs/nsh/defconfig
@@ -35,7 +35,9 @@ CONFIG_FS_FAT=y
 CONFIG_FS_PROCFS=y
 CONFIG_FS_PROCFS_REGISTER=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_LIBC_STRERROR=y
 CONFIG_LIBC_STRERROR_SHORT=y
 CONFIG_MMCSD=y
diff --git a/boards/arm/stm32f1/stm32butterfly2/configs/nshusbhost/defconfig 
b/boards/arm/stm32f1/stm32butterfly2/configs/nshusbhost/defconfig
index 151be594518..7df169f087e 100644
--- a/boards/arm/stm32f1/stm32butterfly2/configs/nshusbhost/defconfig
+++ b/boards/arm/stm32f1/stm32butterfly2/configs/nshusbhost/defconfig
@@ -35,7 +35,9 @@ CONFIG_FS_FAT=y
 CONFIG_FS_PROCFS=y
 CONFIG_FS_PROCFS_REGISTER=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_LIBC_STRERROR=y
 CONFIG_LIBC_STRERROR_SHORT=y
 CONFIG_MMCSD=y
diff --git a/boards/arm/stm32f4/olimex-stm32-p407/configs/hidkbd/defconfig 
b/boards/arm/stm32f4/olimex-stm32-p407/configs/hidkbd/defconfig
index 1474e1bd565..305dfd29308 100644
--- a/boards/arm/stm32f4/olimex-stm32-p407/configs/hidkbd/defconfig
+++ b/boards/arm/stm32f4/olimex-stm32-p407/configs/hidkbd/defconfig
@@ -25,7 +25,9 @@ CONFIG_FS_PROCFS=y
 CONFIG_HAVE_CXX=y
 CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_LINE_MAX=64
 CONFIG_NSH_BUILTIN_APPS=y
 CONFIG_NSH_DISABLE_GET=y
diff --git a/boards/arm/stm32h7/nucleo-h743zi2/configs/jumbo/defconfig 
b/boards/arm/stm32h7/nucleo-h743zi2/configs/jumbo/defconfig
index f6ea9620979..9646e7836b8 100644
--- a/boards/arm/stm32h7/nucleo-h743zi2/configs/jumbo/defconfig
+++ b/boards/arm/stm32h7/nucleo-h743zi2/configs/jumbo/defconfig
@@ -54,7 +54,9 @@ CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INPUT_BUTTONS=y
 CONFIG_INPUT_BUTTONS_LOWER=y
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_LIBM=y
 CONFIG_LINE_MAX=64
 CONFIG_MM_REGIONS=4
diff --git a/boards/arm/stm32h7/nucleo-h753zi/configs/jumbo/defconfig 
b/boards/arm/stm32h7/nucleo-h753zi/configs/jumbo/defconfig
index 798c4794b4c..055f1e6ce4d 100644
--- a/boards/arm/stm32h7/nucleo-h753zi/configs/jumbo/defconfig
+++ b/boards/arm/stm32h7/nucleo-h753zi/configs/jumbo/defconfig
@@ -53,7 +53,9 @@ CONFIG_HAVE_CXXINITIALIZE=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
 CONFIG_INPUT_BUTTONS=y
 CONFIG_INPUT_BUTTONS_LOWER=y
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_INTELHEX_BINARY=y
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_LIBM=y
 CONFIG_LINE_MAX=64
 CONFIG_MM_REGIONS=4
diff --git a/boards/mips/jz4780/ci20/configs/jumbo/defconfig 
b/boards/mips/jz4780/ci20/configs/jumbo/defconfig
index d1701c02b93..6f2605a938f 100644
--- a/boards/mips/jz4780/ci20/configs/jumbo/defconfig
+++ b/boards/mips/jz4780/ci20/configs/jumbo/defconfig
@@ -48,10 +48,12 @@ CONFIG_HIDMOUSE_XMAX=1359
 CONFIG_HIDMOUSE_YMAX=767
 CONFIG_IDLETHREAD_STACKSIZE=2048
 CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_JZ4780_EHCI=y
 CONFIG_JZ4780_LCD=y
 CONFIG_JZ4780_OHCI=y
 CONFIG_LIBC_EXECFUNCS=y
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_MQ_MAXMSGSIZE=64
 CONFIG_NET=y
 CONFIG_NETDEV_IFINDEX=y
diff --git a/boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig 
b/boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig
index 9529e78e60b..e1247c85efa 100644
--- a/boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig
+++ b/boards/x86_64/qemu/qemu-intel64/configs/jumbo/defconfig
@@ -70,11 +70,13 @@ CONFIG_HIDMOUSE_STACKSIZE=10240
 CONFIG_IDLETHREAD_STACKSIZE=4194304
 CONFIG_INDUSTRY_NXMODBUS=y
 CONFIG_INIT_ENTRYPOINT="nsh_main"
+CONFIG_INPUT_KEYBOARD_BYTESTREAM=y
 CONFIG_INTEL64_ONESHOT=y
 CONFIG_IOB_ALIGNMENT=64
 CONFIG_IOB_BUFSIZE=2048
 CONFIG_IOB_NBUFFERS=1024
 CONFIG_IOB_NCHAINS=255
+CONFIG_LIBC_KBDCODEC=y
 CONFIG_LIBM=y
 CONFIG_LOGGING_NXSCOPE=y
 CONFIG_LOGGING_NXSCOPE_ACKFRAMES=y

Reply via email to