Acfboy opened a new pull request, #3689:
URL: https://github.com/apache/nuttx-apps/pull/3689
## Summary
This PR ports the Nano-X windowing system from Microwindows to NuttX so that
X11-style client/server applications can run in a flat build. It contains three
logical parts:
1. `graphics/microwindows`: build the Nano-X client library and server from
the bundled Microwindows tree, with two new Kconfig options:
- `MICROWINDOWS_NANOX`: build the Nano-X client library and server.
- `MICROWINDOWS_NANOX_NANOWM`: optionally link the Microwindows window
manager into the server so the server task draws and decorates windows itself.
2. `examples/nanoxcalc`: port of the nxcalc demo. It connects to the running
Nano-X server and shows a calculator keypad.
3. `examples/nanoxterm`: port of the nxterm demo. It is a terminal emulator
that opens a pseudo terminal, forks, and runs an NSH instance (nsh_consolemain)
in the child instead of exec'ing /bin/sh, since flat builds have no filesystem
binaries. It starts the Nano-X server as a separate task before connecting, so
it can be used as the init entry point: booting sim:nanox opens the nxterm
window directly, and typing nanoxcalc in it opens the calculator.
## Note
There are still some remaining issues, for example, have some problem when
running on qemu, so this is just a draft PR. When it is fully ready, I will add
the documentation and open it up for review.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]