Is is possible to use multiple instances of debug console?
I am trying to use the debug console on two "serial" ports, the USB CDC virtual com, and LPUART0. My main reason for that is SCANF, which is available on the FSL_DEBUG_CONSOLE component.
I'm able to set it for one or another, and it works fine, but when I try to add another debug component so I can activate both "serials", the KDS complains that only one is supported.
Is there a way to do that? I can think of three alternatives (in order of preference):
1. Add another component. (how?)
2. Re-init the component when I change "serials", pointing it to the corresponding "serial".
3. Or keep the debug component on one of then (USB CDC) and write a "SCANF" function and use it on a FSL_LPUART component.
I'm using MKL43Z with FreeRTOS.