Hello everyone!

I am working on a new NuttX-based firmware.
On this application a hardware board will be able to communicate through
UART with a Linux system.

There is still some testing and development to be done on this Linux
program, so I thought that this is a great use for the simulator. Instead
of passing actual hardware boards to every developer, they can start-off
with a simulator app for the first steps.

I am also thinking that later, appropriate tests may be included in our CI.
That's much more convenient than actually connecting hardware on the CI
server.

I tried to build the firmware for the simulator target.
It was quite straightforward, and everything works correctly (with mocked
board drivers of course).

Now I need to implement this UART communication with the host.
I am not sure if this is possible, is it?

I saw that there are simulated UARTs, but they are poorly documented, and I
am not sure whether this is their purpose.
I tried using them, but I didn't have any luck, NuttX seems that it cannot
open the device for writing.

Any ideas?

Reply via email to