You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that's a good idea. I've been running unit tests with my ESP32 code with a "platform" layer that I can swap out for a POSIX layer to emulate (or at least stub out) certain ESP-IDF functions, but the idea of using QEMU and the ESP-IDF directly appeals greatly.
While I don't have the time to contribute directly, I will be watching with great interest.
I have previously added the possibility to exit qemu by writing to io adress 0x5F1 on success and to 0x5F0 on failure. Ebiroll/qemu-xtensa-esp32@92538bd
I should put these in a module usable by the unit tests framework so that you don't have to do,
int *quemu_exit=(int *) 0x3ff005f0;
*quemu_exit=0x01;
Whenever there is an assert in the unit tests.
This is a really cool project. My first thought was that it could be used with GitLab CI (or another CI) to automatically run unittests.
So for example you could have CI automatically running the unittests for your firmware (or library) repo on each checkin, each PR branch, etc.
All the pieces are here, but getting them all strung together is a daunting task. Anybody interested in working on this together?
The text was updated successfully, but these errors were encountered: