-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed as not planned
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: native portHost native arch port (native_sim)Host native arch port (native_sim)priority: lowLow impact/importance bugLow impact/importance bug
Description
"UART" is the default implementation console handler for Zephyr. Currently, building any sample in samples/subsys/console/ for BOARD=native_posix fails:
samples/subsys/console/echo:
/home/pfalcon/projects-3rdparty/Embedded/Zephyr/zephyr/subsys/console/getchar.c: In function ‘console_init’:
/home/pfalcon/projects-3rdparty/Embedded/Zephyr/zephyr/subsys/console/getchar.c:116:32: error: ‘CONFIG_UART_CONSOLE_ON_DEV_NAME’ undeclared (first use in this function)
uart_dev = device_get_binding(CONFIG_UART_CONSOLE_ON_DEV_NAME);
samples/subsys/console/getchar:
/home/pfalcon/projects-3rdparty/Embedded/Zephyr/zephyr/subsys/console/getchar.c: In function ‘console_init’:
/home/pfalcon/projects-3rdparty/Embedded/Zephyr/zephyr/subsys/console/getchar.c:116:32: error: ‘CONFIG_UART_CONSOLE_ON_DEV_NAME’ undeclared (first use in this function)
uart_dev = device_get_binding(CONFIG_UART_CONSOLE_ON_DEV_NAME);
^
It would be nice to get that working (and shouldn't be too hard - this "uart console" would just proxy reads/writes from POSIX console).
Metadata
Metadata
Assignees
Labels
EnhancementChanges/Updates/Additions to existing featuresChanges/Updates/Additions to existing featuresarea: native portHost native arch port (native_sim)Host native arch port (native_sim)priority: lowLow impact/importance bugLow impact/importance bug