5340 BLE custom board remove uart0 from both app and network processors to free pins

Hi,

We have custom board files (copied from 5340dk dts files) and I wish to remove all redundant DK stuff from my DTS and free up pins.

Can I remove UART0 from both the app and network processors?
Is Uart 0 just uded for debug channels in both processors?

Until now I have been very selective about removing stuff; but this has lead to a few clashs; so now I want to rationalise this config so there is no risk of any misconfigurations.

In both app and network processor dts files one sees such as....

chosen {
zephyr,console = &uart0;
zephyr,shell-uart = &uart0;
zephyr,uart-mcumgr = &uart0;
zephyr,bt-mon-uart = &uart0;
zephyr,bt-c2h-uart = &uart0;
};

How do I go about freeing these pins?

Regards,
Owain


Parents Reply Children
Related