hujun260 commented on PR #9023: URL: https://github.com/apache/nuttx/pull/9023#issuecomment-1514009815
> @hujun260 > > ``` > ==================================================================================== > Configuration/Tool: qemu-armv8a/nsh_smp_tickless > ------------------------------------------------------------------------------------ > Cleaning... > Configuring... > Building NuttX... > Error: chip/qemu_serial.c:743:21: error: 'CONFIG_UART1_BAUD' undeclared here (not in a function); did you mean 'CONFIG_ARCH_BOARD'? > 743 | .baud_rate = CONFIG_UART1_BAUD, > | ^~~~~~~~~~~~~~~~~ > | CONFIG_ARCH_BOARD > chip/qemu_serial.c: In function 'arm64_serialinit': > Error: chip/qemu_serial.c:843:40: error: 'CONSOLE_DEV' undeclared (first use in this function) > 843 | ret = uart_register("/dev/console", &CONSOLE_DEV); > | ^~~~~~~~~~~ > chip/qemu_serial.c:843:40: note: each undeclared identifier is reported only once for each function it appears in > Error: chip/qemu_serial.c:849:38: error: 'TTYS0_DEV' undeclared (first use in this function) > 849 | ret = uart_register("/dev/ttyS0", &TTYS0_DEV); > | ^~~~~~~~~ > At top level: > Error: chip/qemu_serial.c:739:33: error: 'g_uart1priv' defined but not used [-Werror=unused-variable] > 739 | static struct pl011_uart_port_s g_uart1priv = > | ^~~~~~~~~~~ > Error: chip/qemu_serial.c:718:32: error: 'g_uart_ops' defined but not used [-Werror=unused-const-variable=] > 718 | static const struct uart_ops_s g_uart_ops = > | ^~~~~~~~~~ > ``` sorry , i update the patch and revalidation. -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org