虚拟环境中的 FreeRTOS x86

FreeRTOS x86 in virtual environment

我一直在阅读有关 FreeRTOS 的文章,它似乎广泛用于 RasPi/BBB 等微控制器和微处理器。我还了解到它可以 运行 在 x86 平台上,我想测试一下它。

我可以 运行 FreeRTOS 作为 Virtual Box 或 VMware 上的 VM 吗? 在 x86 平台上使用 FreeRTOS 的最佳方式是什么?

提前致谢。

在 x86 上使用 FreeRTOS 的一种解决方案是 运行 一个可用的 FreeRTOS 模拟器。

例如FreeRTOS Windows port:

This allows FreeRTOS to be run in a Windows environment - although true real time behaviour cannot be achieved. Demo projects are provided for both Eclipse with MingW (GCC) and Visual Studio 2010 Express Edition.

查看 理查德关于此主题的回答Building FreeRTOS for x86

but [...] the timing is all over the place and simulated time is much lower than real time (because the timing resolution and accuracy in Windows is so low compared to a real time system).