Hi all,
I have an application running on the NXP that communicates with a host application over uart flexcomm0. Working fine. What I want to implement is DFU (using mcumgr from the same host) but I only have this one single flexcomm0 between the host and NXP. So custom commands and DFU need to go over the same flexcomm.
I found a post that says mcumgr can be on a shared uart by just adding CONFIG_MCUMGR_TRANSPORT_SHELL=y to the prj.conf. But seems like it doesn't work. Tried all kinds of combinations but to no avail.
I'm talking about this:
zephyr,console = &flexcomm0;
zephyr,shell-uart = &flexcomm0;
zephyr,uart-mcumgr = &flexcomm0;
My custom parser works fine until the point I enable the CONFIG_MCUMGR=y, so I must be missing some config flags probably.
So question is: can both be on the same port? If yes, what flags should be set (or not set) in the prj.conf?
Thanks in advance!