Hi,
I'm using cdc_acm to create two COM ports on a PC -
// USB support
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
};
cdc_acm_uart1: cdc_acm_uart1 {
compatible = "zephyr,cdc-acm-uart";
};
};
/{
chosen {
zephyr,console = &cdc_acm_uart1;
zephyr,shell-uart = &cdc_acm_uart1;
zephyr,uart-mcumgr = &cdc_acm_uart0;
};
};
Now I would like to route logging to a 3rd COM port (separated from the shell's COM port), so I tried the following
// USB support
&zephyr_udc0 {
cdc_acm_uart0: cdc_acm_uart0 {
compatible = "zephyr,cdc-acm-uart";
};
cdc_acm_uart1: cdc_acm_uart1 {
compatible = "zephyr,cdc-acm-uart";
};
cdc_acm_uart2: cdc_acm_uart2 { // added this one
compatible = "zephyr,cdc-acm-uart";
};
};
/{
chosen {
zephyr,console = &cdc_acm_uart1;
zephyr,shell-uart = &cdc_acm_uart1;
zephyr,uart-mcumgr = &cdc_acm_uart0;
zephyr,logger = &cdc_acm_uart2; //// what to do here ??
};
};
I do get 3 COM ports, but no logging comes through...
Thanks for any advice.