Skip to content

Cannot use new shell with native_posix #10127

@jukkar

Description

@jukkar

I am seeing this when compiling new net-shell for native_posix and uart.

../zephyr/subsys/shell/shell_uart.c:29:36: error: ‘CONFIG_UART_CONSOLE_ON_DEV_NAME’ undeclared (first use in this function); did you mean ‘CONFIG_ETH_NATIVE_POSIX_DEV_NAME’?
  sh_uart->dev = device_get_binding(CONFIG_UART_CONSOLE_ON_DEV_NAME);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                    CONFIG_ETH_NATIVE_POSIX_DEV_NAME
../zephyr/subsys/shell/shell_uart.c:29:36: note: each undeclared identifier is reported only once for each function it appears in

This prevents merging of #9825 because sanitychecker fails.

Metadata

Metadata

Assignees

Labels

area: ShellShell subsystemarea: native portHost native arch port (native_sim)bugThe issue is a bug, or the PR is fixing a bugpriority: highHigh impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions