Hi all,
is it possible to use two UARTs at the same time from within one app?
We had a look at the example script and application
repos/os/run/uart.run and repos/os/src/test/uart
and tried several things, including:
- adding two lines in the config for the same process but with different UARTs:
<policy label="test-uart1" uart="1"/>
<policy label="test-uart1" uart="2"/>
- comma-separating UARTs (uart="1,2")
- adding a second uart-attribute (uart="1" uart="2")
- and many more.
- In the application, we simply added a second instance of
Uart::Connection and accessed it in the same way as the first.
(The Uart::Connection doesn't seem to offer any other constructor
than the default one, in which one could specify which UART to
access.)
but all of those attemptes either led to a build error or made the output appear
on only one UART.
Is there any way to access two UARTs in one application or
would we need a separate process for each one?
Thanks in advance,
Josef
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main