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

Set proper AVR part for USBasp avrdude flashing #7552

Merged
merged 5 commits into from
Dec 8, 2019

Conversation

fauxpark
Copy link
Member

@fauxpark fauxpark commented Dec 5, 2019

Description

avrdude has a different naming scheme for MCUs. At least for the 32A, passing it -p atmega32a doesn't work. The part is actually named m32, and the description ATmega32. I think avrdude may also try matching against the part description, as it will happily accept atmega32u4 for Caterina flashing with no issues. If anyone has a 328P board with USBasp, please test my theory! 😄

EDIT: Yes, avrdude does indeed look at both: http:https://svn.savannah.gnu.org/viewvc/avrdude/trunk/avrdude/avrpart.c?revision=1428&view=markup#l518

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@fauxpark fauxpark requested a review from a team December 5, 2019 23:27
@fauxpark fauxpark mentioned this pull request Dec 6, 2019
13 tasks
@noroadsleft noroadsleft requested a review from a team December 6, 2019 22:24
@drashna drashna merged commit c74295d into qmk:master Dec 8, 2019
@fauxpark fauxpark deleted the usbasp-avrdude-mcu branch December 8, 2019 15:03
patrl pushed a commit to patrl/qmk_firmware that referenced this pull request Dec 29, 2019
* Set proper AVR part for USBasp avrdude flashing

* Remove `PROGRAM_CMD` stuff from rules.mk as they should not be needed anymore

* Missed the Plaid readme

* Remove PROGRAM_CMD from Mysterium
HokieGeek pushed a commit to HokieGeek/qmk_firmware that referenced this pull request Feb 21, 2020
* Set proper AVR part for USBasp avrdude flashing

* Remove `PROGRAM_CMD` stuff from rules.mk as they should not be needed anymore

* Missed the Plaid readme

* Remove PROGRAM_CMD from Mysterium
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
* Set proper AVR part for USBasp avrdude flashing

* Remove `PROGRAM_CMD` stuff from rules.mk as they should not be needed anymore

* Missed the Plaid readme

* Remove PROGRAM_CMD from Mysterium
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants