Now im just learning here so i dont mean to add noise in lieu of the correct answer, but might it be possible by implementing your own IUartControllerProvider and instantiating a custom UartController via the FromProvider method?
public class CustomUartConroller : IUartControllerProvider
{}
and then
var myUartController = UartController.FromProvider(new CustomUartConroller());
In fact it seems as there is already an implementation in the framework:
UartControllerApiWrapper
This just came to mind as i’m trying to figure out how to give gpio on external devices like the mcp23xx a native feel.
I think there’s an argument to be made to be able to extend each of these controllers Uart, Gpio, Spi, iic, ect.
Not sure of the benefits or drawbacks to just unsealing these classes, but i too would like to see some support/examples of how to extend these correctly.