-
Notifications
You must be signed in to change notification settings - Fork 221
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 ATtiny boards with the Micronucleus 'virtual usb' bootloader #364
Conversation
Hi @ReinoutHeeck is there anything the new micronucleus-runner does which the old ravedude does not do? The readme is a clue:
|
.github/workflows/ci.yml
Outdated
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uses: actions/checkout@v2 | |
uses: actions/checkout@v3 |
.github/workflows/ci.yml
Outdated
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Install Rust | ||
uses: actions-rs/toolchain@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
action-rs/toolchain
is unmaintained. actions-rust-lang/setup-rust-toolchain@v1
is one alternative
.github/workflows/ci.yml
Outdated
toolchain: stable | ||
override: true | ||
- name: Check micronucleus-runner | ||
uses: actions-rs/cargo@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions-rs/cargo
is unmaintained. Run cargo directly in the actions is a solution.
AvrDude/RaveDude require an external programmer to program the chip on the Digispark board, (there is no bootloader required in such a setup). The Micronucleus bootloader turns the Digispark into a self-programming board which makes for a very smooth entry into programming this device, particularly because it sold with this bootloader pre-installed. As far as I know AvrDude does not support this programming protocol at all. |
0313b2e
to
1ab563c
Compare
Fredrik, thank you for your suggestions! I tried to refresh my branch on github and incorporate your suggestions but since my branch was not automatically mergable github rolled back all my changes and automatically marked my contribution as 'closed'. I spent some time trying to get a diff view on what I authored two months ago but failed miserably. This is not the first time I find git a friend and github a foe. I spent quite some energy on making this a nicely polished contribution and I lack the time to repeat that effort just to undo this mess. My tools should help me and certainly not force me to repeat my steps. So very frustratingly my micronucleus contributions have today been killed by my tools :-( Once again, thank you for your time and effort here... |
Adds a new Cargo runner 'micronucleus-runner' and working example for the Digispark board.
micronucleus-runner is a new crate -a brother to ravedude-. I don't know what the procedure is to introduce new crates into this project, the changes I made pretend it already exists on crates.io...
The code is trivial, the readme is bigger ;-)