基于idf的应用层代码,怎么做软件单元测试?
Re: 基于idf的应用层代码,怎么做软件单元测试?
Sorry, we don't have any out of the box support for this, yet. You can look into tools such as CMock for this purpose. If you use the new CMake build system in IDF, it should be easy to integrate a call to CMock into your CMakeLists.
Re: 基于idf的应用层代码,怎么做软件单元测试?
This is possible using app_trace and OpenOCD. Please refer to https://github.com/espressif/esp-idf/tr ... ystem/gcov.
Who is online
Users browsing this forum: Google [Bot], PerplexityBot and 1 guest
