This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 3627cf68bef258fa3b8c0bffca3f76a1302dc041 Author: Justin Hammond <[email protected]> AuthorDate: Sun Aug 16 20:11:55 2026 +0800 boards/risc-v/eic7700x: Give the low priority work queue a second thread. USB class drivers do their transfers on the low priority queue and block there, so one thread means a device waiting on a transfer stalls every other user of the queue. usbhost_cdcacm.c says so at compile time when CONFIG_SCHED_LPNTHREADS is 1. The high priority queue keeps one thread. Nothing asks for more, and the work it carries is meant to be short. Assisted-by: Claude:claude-opus-5 Signed-off-by: Justin Hammond <[email protected]> --- boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig | 1 + boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig b/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig index 15f32359329..29b3d6c5483 100644 --- a/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig +++ b/boards/risc-v/eic7700x/eic7700-evb/configs/nsh/defconfig @@ -99,6 +99,7 @@ CONFIG_RR_INTERVAL=200 CONFIG_SCHED_BACKTRACE=y CONFIG_SCHED_CPULOAD_SYSCLK=y CONFIG_SCHED_HAVE_PARENT=y +CONFIG_SCHED_LPNTHREADS=2 CONFIG_SCHED_LPWORK=y CONFIG_SCHED_WAITPID=y CONFIG_SERIAL_UART_ARCH_MMIO=y diff --git a/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig b/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig index 45abad45598..4308596a4b4 100644 --- a/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig +++ b/boards/risc-v/eic7700x/starpro64/configs/nsh/defconfig @@ -94,6 +94,7 @@ CONFIG_RR_INTERVAL=200 CONFIG_SCHED_BACKTRACE=y CONFIG_SCHED_CPULOAD_SYSCLK=y CONFIG_SCHED_HAVE_PARENT=y +CONFIG_SCHED_LPNTHREADS=2 CONFIG_SCHED_LPWORK=y CONFIG_SCHED_WAITPID=y CONFIG_SERIAL_UART_ARCH_MMIO=y
