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 Digispark boards #401

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

veprolet
Copy link

@veprolet veprolet commented Mar 7, 2023

This pull request adds minimal support for the Digispark model A board from Digistump and in general allows for boards with the micronucleus bootloader to be added.

This attempts to supersede both #367 (add the board api) and #364 (add micronucleus support to ravedude), as they seem to have stalled. If deemed appropriate, this PR can be reduced in scope and #367 still used.

Few notes about the implementation:

  • As far as I'm aware, model B of Digispark is no longer manufactured and model A is the canonical version people refer to when using "digispark", so I made no attempt at including the model specification in the digispark identificator.
  • Flash verification is disabled, as the micronucleus bootloader doesn't support it. No warning is issued to the user about this.
  • Waiting for board reset is delegated to avrdude instead of the usual "Press enter after you reset the board", as this would make programming boards in the default bootloader configuration almost impossible. It's possible to configure timeout for this operation, but this PR leaves it indefinite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant