boards: Add Nano-X Default Configs and Documents for Nuttx - #19912
boards: Add Nano-X Default Configs and Documents for Nuttx#19912Acfboy wants to merge 6 commits into
Conversation
Add the sim:mw defconfig and board documentation entry for the Microwindows demo. This configuration uses the virtual keyboard (event mode), touchscreen, and X11-based framebuffer. Signed-off-by: Acfboy <AcfboyU@outlook.com> Assisted-by: Opencode/Deepseek-V4-pro
Add the qemu-intel64:mw defconfig and board documentation entry. This configuration uses the Multiboot2 framebuffer, USB HID keyboard event input at /dev/kbda, and USB HID mouse. Signed-off-by: Acfboy <AcfboyU@outlook.com> Assisted-by: Opencode/Deepseek-V4-pro
This page covers the Microwindows integration, quick start for both sim:mw and qemu-intel64:mw configurations, available Kconfig options for keyboard/mouse/framebuffer drivers, the mwdemo demo application, and porting guidance for new hardware. Signed-off-by: Acfboy <AcfboyU@outlook.com> Assisted-by: Opencode/Deepseek-V4-pro
Add sim:nanox and qemu-intel64:nanox defconfigs for the Nano-X terminal and calculator examples. Signed-off-by: Acfboy <AcfboyU@outlook.com> Assisted-by: Opencode/Deepseek-V4-pro
Document Nano-X client/server support, quick-start instructions, board configurations, terminal and calculator examples, and the simulator screenshot. Signed-off-by: Acfboy <AcfboyU@outlook.com> Assisted-by: Opencode/Deepseek-V4-pro
|
@Acfboy please rebase your nuttx-apps now that microwindow/nano-x was merged and please fix the errors reported here in our CI: "Configuration/Tool: qemu-intel64/mw
|
@acassis It looks like all the problems are in the microwindows code itself. Should I add a patch in the nuttx-apps repo to fix them? |
the most error come from microwindows self, it's better to upstream the fix to microwindows directly as much as possible. |
|
@acassis, what do you think about also adding |
@Acfboy the issue with the current whitelist is it bloating the nxstyle C file. See about the proposal to add a @ arjav1528 is planing to work on it. |
|
@Acfboy please take a look at these errors: |
|
@acassis The ci issue was fixed by ppsia in apache/nuttx-apps#3770 . It's now ready for reveiw. |
|
OK,so it seems we have move forward a little. There seems to be next problem I try to look at it. @Acfboy Please, rebase your branch intended for merge do not merge master into it. It would keep final history cleaner and is most probably what is mandated by NuttX maintainers. |
|
It is interesting, that my local build of the current mainline is without any warning with my local defconfig and even with qemu-intel64:mw defconfig. So it is probably specific for given GCC version.
to match real MS Windows It seems that affected So the state is, the problematic packing has to be kept for MS Windows compatibility, it originates in their 16-bit word. The access through Another easy solution is to define It is possible that there are little more similar problems which are given by providing Win API as one of the APIs variants. @ghaerr, please, do you have some opinion or preference there? It is no problem on any x86. It could be problem on some PowerPC, MIPS or old ARMs in past. |
|
Hello @ppisa,
I don't yet have much time to fully look into this, but given that structure DLGTEMPLATE and MWDLGTEMPLATE have the same members in the same order, then using I haven't checked whether the MWDLGTEMPLATE extraData[] member would be offset differently using this, but the FIXSZ_MWDLGTEMPLATE define to 18 corresponds to actually requiring that MWDLGTEMPLATE be packed to 16-bits. There is a demo that reads Windows .res files directly that may be of use to testing this:
Yes, although in years past I did take the trouble to ensure that Microwindows ran on CPUs that did not support unaligned access... so this particular issue may be one that slipped through the cracks. |
Summary
This PR provides documentation and defconfigs for apache/nuttx-apps#3689 in nuttx-apps, and will be converted into an official PR after the previous documentation changes #19572 are merged.