anchao opened a new pull request, #6897: URL: https://github.com/apache/incubator-nuttx/pull/6897
## Summary arch/sim: add windows host simulate support sim/host: move host implement to posix directory This PR is depends on cmake support: https://github.com/apache/incubator-nuttx/pull/6718 Preview version is on private project, will be contributed to the community asap: ``` git clone g...@github.com:anchao/incubator-nuttx.git -b windows git clone g...@github.com:anchao/incubator-nuttx-apps.git -b windows mv incubator-nuttx-apps apps cd incubator-nuttx ``` Compile with cmake: ``` cmake -B vs2022 -DBOARD_CONFIG=sim/windows -G"Visual Studio 17 2022" -A Win32 cmake --build vs2022 ``` If you want to use Visual Studio, you can import the solution directly from the IDE after CMake generates the solution:  After the compilation is completed, Debug\nuttx.exe will be generated:  Run the simulator: PowerShell: (The default terminal operation has encoding issues, but it does not affect normal use, all commands can be executed normally)  Visual Studio  ## Impact N/A ## Testing visual studio 2022 + cmake -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org