Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for building tests #175

Closed
svenstaro opened this issue May 9, 2022 · 8 comments
Closed

Add support for building tests #175

svenstaro opened this issue May 9, 2022 · 8 comments

Comments

@svenstaro
Copy link
Contributor

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

@farbodpm
Copy link

farbodpm commented Nov 5, 2022

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

@svenstaro
Copy link
Contributor Author

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

@dignifiedquire
Copy link

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

@SergioGasquez
Copy link
Member

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

@dignifiedquire
Copy link

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

is there a place to follow that progress?

@SergioGasquez
Copy link
Member

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

@bjoernQ
Copy link
Contributor

bjoernQ commented Jan 15, 2024

There is a tracking issue for Xtensa in probe-rs now: probe-rs/probe-rs#2001

@SergioGasquez
Copy link
Member

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 probe-rs/probe-rs#2354), for an example see https://github.com/esp-rs/esp-hal/tree/main/hil-test

@SergioGasquez SergioGasquez closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in esp-rs Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

6 participants