-
-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Audio_Enable, AVR template update #8901
Conversation
e9c539d
to
be309c3
Compare
Chances of 800+ files getting reviewed is super slim, and generally we ask for PRs to be broken into chunks (50-100 depending on change). Also, I would rather drive this via #6165 than preempt changes, lets get it to a solid point and then work out what we want to do. |
thanks for the feedback - the changes do 90% of the time the same thing... i can break off the ones which do exactly the same if that helps? |
be309c3
to
6ffbcf5
Compare
there - this should be better (?) |
Lets get the wording approved here before raising all the extra PRs, given its just adding rework for you. |
okay - that's reasonable :-) |
hm, did i make some mistake creating this PR for travis to complain about |
not on its own, it needs a pin configured per define in config.h for audio to actually work otherwise only parts of the code are included in the firmware, wasting space and possibly breaking builds because auf hitting the firmware-size limits
6ffbcf5
to
9ebf490
Compare
should PR #8904 be reopened and refactored as well? to avoid future misconfigurations on exiting keyboards? |
"and removed request for qmk/collaborators" err... why did that happen when i only requested a re-review for fauxpark? |
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.
With #8904, again, no we don't want 800 file changes in one PR. They will need to be done in small blocks of maybe 50 to 100.
Co-Authored-By: Ryan <[email protected]>
0db53f5
to
f7d472d
Compare
* Branch point for 2020 May 30 Breaking Change * audio-configuration: template: audio_avr.c does NOT default to C6 not on its own, it needs a pin configured per define in config.h for audio to actually work otherwise only parts of the code are included in the firmware, wasting space and possibly breaking builds because auf hitting the firmware-size limits * audio-configuration: strip comment to bare essentials Co-Authored-By: Ryan <[email protected]> * revert future change Co-authored-by: James Young <[email protected]> Co-authored-by: Johannes <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: zvecr <[email protected]>
* audio-configuration: fix avr boards with wrong configuration the audiopin with avr boards does not default to anything, if it is not set as a define in config.h, audio output won't work - even worse the compiler will include parts of the audio-system in the firmware, wasting space and possibly failing builds because of the firmware exceeding the maximum size * audio-configuration: add Changelog entry * audio-configuration: fix avr boards with wrong configuration the audiopin with avr boards does not default to anything, if it is not set as a define in config.h, audio output won't work - even worse the compiler will include parts of the audio-system in the firmware, wasting space and possibly failing builds because of the firmware exceeding the maximum size * audio-configuration: align comment changes with #8901 * audio-configuration: changelow wording * audio-configuration: remove rules.mk since it now would change nothing compared to the keyboards base rule.mk
* Branch point for 2020 May 30 Breaking Change * audio-configuration: template: audio_avr.c does NOT default to C6 not on its own, it needs a pin configured per define in config.h for audio to actually work otherwise only parts of the code are included in the firmware, wasting space and possibly breaking builds because auf hitting the firmware-size limits * audio-configuration: strip comment to bare essentials Co-Authored-By: Ryan <[email protected]> * revert future change Co-authored-by: James Young <[email protected]> Co-authored-by: Johannes <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: zvecr <[email protected]>
* audio-configuration: fix avr boards with wrong configuration the audiopin with avr boards does not default to anything, if it is not set as a define in config.h, audio output won't work - even worse the compiler will include parts of the audio-system in the firmware, wasting space and possibly failing builds because of the firmware exceeding the maximum size * audio-configuration: add Changelog entry * audio-configuration: fix avr boards with wrong configuration the audiopin with avr boards does not default to anything, if it is not set as a define in config.h, audio output won't work - even worse the compiler will include parts of the audio-system in the firmware, wasting space and possibly failing builds because of the firmware exceeding the maximum size * audio-configuration: align comment changes with #8901 * audio-configuration: changelow wording * audio-configuration: remove rules.mk since it now would change nothing compared to the keyboards base rule.mk
* audio-configuration: fix avr boards with wrong configuration the audiopin with avr boards does not default to anything, if it is not set as a define in config.h, audio output won't work - even worse the compiler will include parts of the audio-system in the firmware, wasting space and possibly failing builds because of the firmware exceeding the maximum size * audio-configuration: add Changelog entry * audio-configuration: fix avr boards with wrong configuration the audiopin with avr boards does not default to anything, if it is not set as a define in config.h, audio output won't work - even worse the compiler will include parts of the audio-system in the firmware, wasting space and possibly failing builds because of the firmware exceeding the maximum size * audio-configuration: align comment changes with qmk#8901 * audio-configuration: changelow wording * audio-configuration: remove rules.mk since it now would change nothing compared to the keyboards base rule.mk
* Branch point for 2020 May 30 Breaking Change * audio-configuration: template: audio_avr.c does NOT default to C6 not on its own, it needs a pin configured per define in config.h for audio to actually work otherwise only parts of the code are included in the firmware, wasting space and possibly breaking builds because auf hitting the firmware-size limits * audio-configuration: strip comment to bare essentials Co-Authored-By: Ryan <[email protected]> * revert future change Co-authored-by: James Young <[email protected]> Co-authored-by: Johannes <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: zvecr <[email protected]>
* audio-configuration: fix avr boards with wrong configuration the audiopin with avr boards does not default to anything, if it is not set as a define in config.h, audio output won't work - even worse the compiler will include parts of the audio-system in the firmware, wasting space and possibly failing builds because of the firmware exceeding the maximum size * audio-configuration: add Changelog entry * audio-configuration: fix avr boards with wrong configuration the audiopin with avr boards does not default to anything, if it is not set as a define in config.h, audio output won't work - even worse the compiler will include parts of the audio-system in the firmware, wasting space and possibly failing builds because of the firmware exceeding the maximum size * audio-configuration: align comment changes with qmk#8901 * audio-configuration: changelow wording * audio-configuration: remove rules.mk since it now would change nothing compared to the keyboards base rule.mk
* Branch point for 2020 May 30 Breaking Change * audio-configuration: template: audio_avr.c does NOT default to C6 not on its own, it needs a pin configured per define in config.h for audio to actually work otherwise only parts of the code are included in the firmware, wasting space and possibly breaking builds because auf hitting the firmware-size limits * audio-configuration: strip comment to bare essentials Co-Authored-By: Ryan <[email protected]> * revert future change Co-authored-by: James Young <[email protected]> Co-authored-by: Johannes <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: zvecr <[email protected]>
* Branch point for 2020 May 30 Breaking Change * audio-configuration: template: audio_avr.c does NOT default to C6 not on its own, it needs a pin configured per define in config.h for audio to actually work otherwise only parts of the code are included in the firmware, wasting space and possibly breaking builds because auf hitting the firmware-size limits * audio-configuration: strip comment to bare essentials Co-Authored-By: Ryan <[email protected]> * revert future change Co-authored-by: James Young <[email protected]> Co-authored-by: Johannes <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: zvecr <[email protected]>
* Branch point for 2020 May 30 Breaking Change * audio-configuration: template: audio_avr.c does NOT default to C6 not on its own, it needs a pin configured per define in config.h for audio to actually work otherwise only parts of the code are included in the firmware, wasting space and possibly breaking builds because auf hitting the firmware-size limits * audio-configuration: strip comment to bare essentials Co-Authored-By: Ryan <[email protected]> * revert future change Co-authored-by: James Young <[email protected]> Co-authored-by: Johannes <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: zvecr <[email protected]>
* Branch point for 2020 May 30 Breaking Change * audio-configuration: template: audio_avr.c does NOT default to C6 not on its own, it needs a pin configured per define in config.h for audio to actually work otherwise only parts of the code are included in the firmware, wasting space and possibly breaking builds because auf hitting the firmware-size limits * audio-configuration: strip comment to bare essentials Co-Authored-By: Ryan <[email protected]> * revert future change Co-authored-by: James Young <[email protected]> Co-authored-by: Johannes <[email protected]> Co-authored-by: Ryan <[email protected]> Co-authored-by: zvecr <[email protected]>
quantum/audio/audio_avr.c does not implicitly enable any default pins used as output - unless the correct define is set
the comment automatically generated from quantum/template/avr/rules.mk is hence misleading
Description
if a user enables audio and forgets to define a pin on AVR based projext, they'll end up with the audio-feature not working, wasting space/bytes in the firmware and - worst case - breaking the build because the firmware size exceeds the maximum
these patches address this by correcting the comment in the avr template,
Types of Changes
Issues Fixed or Closed by This PR
Checklist