I'm trying to enable USB for console and SW update over USB but failing miserably.
I'm getting errors:
zephyr/drivers/console/libdrivers__console.a(uart_console.c.obj): in function `uart_console_init': v2.4.2\zephyr\drivers\console\uart_console.c:613: undefined reference to `__device_dts_ord_124'
and
zephyr/drivers/console/libdrivers__console.a(uart_console.c.obj): in function `console_out': zephyr\drivers\console\uart_console.c:110: undefined reference to `__device_dts_ord_124'
My related .dts definitions are as follows:
The flags that trigger the error are:
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y
CONFIG_MCUMGR_TRANSPORT_UART=y
CONFIG_UART_CONSOLE_MCUMGR=y
CONFIG_RTT_CONSOLE=y
When looking the driver code, it should pick zephyr,console definition but for some reason, it is not included in the build...