espflash icon indicating copy to clipboard operation
espflash copied to clipboard

Add support for building tests

Open svenstaro opened this issue 3 years ago • 7 comments

I think it would be pretty cool if espflash could build/merge/flash test binaries.

svenstaro avatar May 09 '22 02:05 svenstaro

there are some examples in probe-rs. have U checked it?

farbodpm avatar Nov 05 '22 13:11 farbodpm

I checked it but do not know exactly which files you mean.

svenstaro avatar Nov 05 '22 23:11 svenstaro

Any updates on this? would be great to use this to build test binaries to be executed in qemu and the end devices.

dignifiedquire avatar Oct 28 '23 20:10 dignifiedquire

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

SergioGasquez avatar Nov 16 '23 08:11 SergioGasquez

Xtensa support for probe-rs is also WIP. I would recommend going for this approach

is there a place to follow that progress?

dignifiedquire avatar Nov 16 '23 09:11 dignifiedquire

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

SergioGasquez avatar Nov 16 '23 10:11 SergioGasquez

There is a tracking issue for Xtensa in probe-rs now: https://github.com/probe-rs/probe-rs/issues/2001

bjoernQ avatar Jan 15 '24 15:01 bjoernQ

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

SergioGasquez avatar Jul 18 '24 13:07 SergioGasquez