Add support for building tests
I think it would be pretty cool if espflash could build/merge/flash test binaries.
there are some examples in probe-rs. have U checked it?
I checked it but do not know exactly which files you mean.
Any updates on this? would be great to use this to build test binaries to be executed in qemu and the end devices.
Any updates on this? would be great to use this to build test binaries to be executed in qemu and the end devices.
Not really, for esp-hal we are using probe-rs and teleprobe for HIL. Currently it only supports RISC-V (except for C2,which should be soon supported. Xtensa support for probe-rs is also WIP. I would recommend going for this approach
Xtensa support for probe-rs is also WIP. I would recommend going for this approach
is there a place to follow that progress?
is there a place to follow that progress?
I dont think there is any tracking issue, feel free to join the matrix channel where we post updates or you can asks for them
There is a tracking issue for Xtensa in probe-rs now: https://github.com/probe-rs/probe-rs/issues/2001
I think we can close this issue as we won't be adding such feature to espflash. probe-rs can already flash tests into all the targets but ESP32 (see https://github.com/probe-rs/probe-rs/issues/2354), for an example see https://github.com/esp-rs/esp-hal/tree/main/hil-test