Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Add way to pass chip description file #301

Merged
merged 3 commits into from
Feb 22, 2022

Conversation

KOBA789
Copy link
Contributor

@KOBA789 KOBA789 commented Feb 21, 2022

Fixes: #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.

Copy link
Member

@Urhengulas Urhengulas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR @KOBA789!

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.

src/cli.rs Outdated Show resolved Hide resolved
Co-authored-by: Johann Hemmann <[email protected]>
src/main.rs Outdated Show resolved Hide resolved
Co-authored-by: Johann Hemmann <[email protected]>
@KOBA789
Copy link
Contributor Author

KOBA789 commented Feb 22, 2022

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
Copy link
Member

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
Copy link
Contributor

bors bot commented Feb 22, 2022

Build succeeded:

@bors bors bot merged commit 7f7883d into knurling-rs:main Feb 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

probe-rs does not support passing configuration for "--chip-description-path" argument to underlying probe-rs
2 participants