esp-idf posix / linux support for pure software system testing?
Posted: Fri Jul 22, 2022 1:09 am
FreeRTOS has a posix backend, letting you run freertos on linux or any other posix environment.
Zephyr has support for native posix target, https://docs.zephyrproject.org/latest/h ... index.html, which means you can build and run Zephyr and Zephyr apps on Linux.
Both of these things help with system testing logic and we make use of both for other projects, allowing us to test large amounts of our system all together. We do have to stub out various hardware components, eg, we have simulated motor controllers (and simulated at a level higher than say spi, or CANbus).
Is there such an effort for esp-idf? We'd like to take our whole esp-idf codebase, set the target to posix, and then be able to run valgrind and other analysis tools on the whole codebase.
If there isn't such an effort, is there any interest? I'd love to work on such an effort...
Regards,
Chris
Zephyr has support for native posix target, https://docs.zephyrproject.org/latest/h ... index.html, which means you can build and run Zephyr and Zephyr apps on Linux.
Both of these things help with system testing logic and we make use of both for other projects, allowing us to test large amounts of our system all together. We do have to stub out various hardware components, eg, we have simulated motor controllers (and simulated at a level higher than say spi, or CANbus).
Is there such an effort for esp-idf? We'd like to take our whole esp-idf codebase, set the target to posix, and then be able to run valgrind and other analysis tools on the whole codebase.
If there isn't such an effort, is there any interest? I'd love to work on such an effort...
Regards,
Chris