From 33fdd8b1a3d021370e6738d65b770b3da3e62e96 Mon Sep 17 00:00:00 2001 From: Jorge Guzman Date: Fri, 31 Jul 2026 12:04:30 -0300 Subject: [PATCH] boards: drop the keyboard options that the driver change made stale apache/nuttx#19586 removed HIDKBD_ENCODED and made USBHOST_HIDKBD select INPUT, but four configurations still name one or both, so they do not survive a refresh and the normalisation step fails: boards/arm/sama5/sama5d4-ek/configs/ipv6 boards/arm/sama5/sama5d4-ek/configs/nsh boards/arm/sama5/sama5d4-ek/configs/nxwm boards/arm/stm32h7/linum-stm32h753bi/configs/lvglterm_kbda Removing the lines is the whole fix. INPUT still ends up enabled through the select, and encoding now comes from INPUT_KEYBOARD_BYTESTREAM, which the one configuration that wanted it already sets. Nothing changes in the resulting .config, which is why the build never noticed: Kconfig drops an option that no longer exists without saying anything, and only the refresh compares the file before and after. Signed-off-by: Jorge Guzman --- boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig | 1 - boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig | 1 - boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig | 1 - .../stm32h7/linum-stm32h753bi/configs/lvglterm_kbda/defconfig | 2 -- 4 files changed, 5 deletions(-) diff --git a/boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig b/boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig index 77c9cab0aad..680c62f5b22 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/ipv6/defconfig @@ -52,7 +52,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 CONFIG_I2CTOOL_MAXBUS=0 CONFIG_I2C_RESET=y CONFIG_INIT_ENTRYPOINT="nsh_main" -CONFIG_INPUT=y CONFIG_INPUT_MXT=y CONFIG_INTELHEX_BINARY=y CONFIG_MMCSD=y diff --git a/boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig b/boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig index 51d4baa5a44..61fd8fc5c1e 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/nsh/defconfig @@ -51,7 +51,6 @@ CONFIG_I2CTOOL_DEFFREQ=100000 CONFIG_I2CTOOL_MAXBUS=0 CONFIG_I2C_RESET=y CONFIG_INIT_ENTRYPOINT="nsh_main" -CONFIG_INPUT=y CONFIG_INPUT_MXT=y CONFIG_INTELHEX_BINARY=y CONFIG_LIBC_HOSTNAME="SAMA5D4-EK" diff --git a/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig b/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig index a1e68c316be..94984450bc4 100644 --- a/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig +++ b/boards/arm/sama5/sama5d4-ek/configs/nxwm/defconfig @@ -53,7 +53,6 @@ CONFIG_I2CTOOL_MAXBUS=0 CONFIG_I2C_RESET=y CONFIG_INIT_ENTRYPOINT="nxwm_main" CONFIG_INIT_STACKSIZE=1024 -CONFIG_INPUT=y CONFIG_INPUT_MXT=y CONFIG_INTELHEX_BINARY=y CONFIG_LIBC_MAX_EXITFUNS=1 diff --git a/boards/arm/stm32h7/linum-stm32h753bi/configs/lvglterm_kbda/defconfig b/boards/arm/stm32h7/linum-stm32h753bi/configs/lvglterm_kbda/defconfig index 2c052238fb6..490dc686d07 100644 --- a/boards/arm/stm32h7/linum-stm32h753bi/configs/lvglterm_kbda/defconfig +++ b/boards/arm/stm32h7/linum-stm32h753bi/configs/lvglterm_kbda/defconfig @@ -40,9 +40,7 @@ CONFIG_FS_PROCFS=y CONFIG_GRAN=y CONFIG_GRAN_INTR=y CONFIG_GRAPHICS_LVGL=y -CONFIG_HIDKBD_ENCODED=y CONFIG_INIT_ENTRYPOINT="nsh_main" -CONFIG_INPUT=y CONFIG_INTELHEX_BINARY=y CONFIG_LIBC_EXECFUNCS=y CONFIG_LIBM=y