knurling-rs / probe-run

Run embedded programs just like native ones
Apache License 2.0
645 stars 75 forks source link

Add way to pass chip description file #301

Closed KOBA789 closed 2 years ago

KOBA789 commented 2 years ago

Fixes: https://github.com/knurling-rs/probe-run/issues/291

I need the way to pass my own chip description file to probe-run because my target chip is a original soft processor core implemented on a FPGA.

There are other ideas on #291 but I wrote the simplest implementation for now.

KOBA789 commented 2 years ago

Thank you for your review.

When specifying the --chip-description-path, does a user still need to specify the --chip additionally? I don't ask what clap requires, but probe-rs.

A chip description file may contain some variants. I think --chip is necsessary to specify which the variant to use.

Urhengulas commented 2 years ago

A chip description file may contains some variants. I think --chip is necsessary to specify which the variant to use.

Makes sense, I just wanted to check with you.

bors r+

bors[bot] commented 2 years ago

Build succeeded: