-
-
Notifications
You must be signed in to change notification settings - Fork 39.3k
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
Remove build option firmware size impacts #6947
Remove build option firmware size impacts #6947
Conversation
Nice work! It's going to be way easier to review this if you split it up into manageable chunks, eg. alphabetically. Additionally, the modification of non-default keymaps will make it a breaking change, so you may want to either exclude the |
…e impact messages" This reverts commit 7cfe709.
@fauxpark thanks! I've fixed the regex in the script (thanks for spotting @zvecr) and excluded the My thinking is to create 4 branches at this stage for keyboard directories;
Does this sound good? |
More branches and smaller chunks might be easier to review. G through L I expect would be particularly large due to all the handwired boards and the KBDfans and Keebio vendor folders. |
Yeah I think 0-9, then each letter individually, though some letters will have only a handful of boards so you can potentially combine them in places. This is what I'm going to do with the boilerplate stuff. |
@@ -0,0 +1,40 @@ | |||
#!/bin/bash |
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.
Actually, we've been trying to move to a python based CLI system, and ideally, this should be added to the qmk cli code, if possible.
https://docs.qmk.fm/#/cli_development
If you don't think you can do that, that's fine, no worries. But if you're able to, awesome!
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.
I'm not au fait with Python, so I'd have to take a look at this in the future after some learning.
Fixed missing tabs/spaces. Co-Authored-By: fauxpark <[email protected]>
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.
Thanks!
* Update rules.mk template to remove build option size impacts * Add rules.mk cleaning script * Update all rules.mk files to remove build option firmware size impact messages * Remove references to feature filesize in documentation * Revert "Update all rules.mk files to remove build option firmware size impact messages" This reverts commit 7cfe709. * Fix regex in cleanup script and exclude keymaps/ directories * Update quantum/template/avr/rules.mk Fixed missing tabs/spaces. Co-Authored-By: fauxpark <[email protected]>
* Update rules.mk template to remove build option size impacts * Add rules.mk cleaning script * Update all rules.mk files to remove build option firmware size impact messages * Remove references to feature filesize in documentation * Revert "Update all rules.mk files to remove build option firmware size impact messages" This reverts commit 7cfe709. * Fix regex in cleanup script and exclude keymaps/ directories * Update quantum/template/avr/rules.mk Fixed missing tabs/spaces. Co-Authored-By: fauxpark <[email protected]>
* Add Zinc keyboard * Fix RGB LED init of monks/keymap.c * Add RGBLED_BOTH_ENABLE option * Fix RGBLED_BOTH_ENABLE option * Add LED_BOTH_ENABLE feature to 2 keymaps * Use split_common instead of own split flies * Fix split LED * Fix RGB LED config for iOS device * Add RGB_MOD reverse key to default keymap * Update readme_jp.md of default keymap * Add readme_en.md of default keymap * Merge branch 'master' into zinc_splitcommon # Conflicts: # keyboards/zinc/serial.c * Update keyboards/zinc/readme.md * Update keyboards/zinc/readme.md * Update keyboards/zinc/readme.md * Update keyboards/zinc/rules.mk * Update keyboards/zinc/rules.mk * Update toshi0383 keymap * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Remove build option firmware size impacts (as #6947) * Remove some dead code and whitespace * Remove unused code * Remove unused code * Update keyboards/zinc/rev1/config.h * Update keyboards/zinc/reva/config.h * Update keyboards/zinc/keymaps/default/rules.mk * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/readme_en.md * Update keyboards/zinc/keymaps/default/readme_en.md * Breaking Changes Changelog
* Add Zinc keyboard * Fix RGB LED init of monks/keymap.c * Add RGBLED_BOTH_ENABLE option * Fix RGBLED_BOTH_ENABLE option * Add LED_BOTH_ENABLE feature to 2 keymaps * Use split_common instead of own split flies * Fix split LED * Fix RGB LED config for iOS device * Add RGB_MOD reverse key to default keymap * Update readme_jp.md of default keymap * Add readme_en.md of default keymap * Merge branch 'master' into zinc_splitcommon # Conflicts: # keyboards/zinc/serial.c * Update keyboards/zinc/readme.md * Update keyboards/zinc/readme.md * Update keyboards/zinc/readme.md * Update keyboards/zinc/rules.mk * Update keyboards/zinc/rules.mk * Update toshi0383 keymap * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Remove build option firmware size impacts (as #6947) * Remove some dead code and whitespace * Remove unused code * Remove unused code * Update keyboards/zinc/rev1/config.h * Update keyboards/zinc/reva/config.h * Update keyboards/zinc/keymaps/default/rules.mk * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/readme_en.md * Update keyboards/zinc/keymaps/default/readme_en.md * Breaking Changes Changelog
* Add Zinc keyboard * Fix RGB LED init of monks/keymap.c * Add RGBLED_BOTH_ENABLE option * Fix RGBLED_BOTH_ENABLE option * Add LED_BOTH_ENABLE feature to 2 keymaps * Use split_common instead of own split flies * Fix split LED * Fix RGB LED config for iOS device * Add RGB_MOD reverse key to default keymap * Update readme_jp.md of default keymap * Add readme_en.md of default keymap * Merge branch 'master' into zinc_splitcommon # Conflicts: # keyboards/zinc/serial.c * Update keyboards/zinc/readme.md * Update keyboards/zinc/readme.md * Update keyboards/zinc/readme.md * Update keyboards/zinc/rules.mk * Update keyboards/zinc/rules.mk * Update toshi0383 keymap * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Remove build option firmware size impacts (as qmk#6947) * Remove some dead code and whitespace * Remove unused code * Remove unused code * Update keyboards/zinc/rev1/config.h * Update keyboards/zinc/reva/config.h * Update keyboards/zinc/keymaps/default/rules.mk * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/readme_en.md * Update keyboards/zinc/keymaps/default/readme_en.md * Breaking Changes Changelog
* Add Zinc keyboard * Fix RGB LED init of monks/keymap.c * Add RGBLED_BOTH_ENABLE option * Fix RGBLED_BOTH_ENABLE option * Add LED_BOTH_ENABLE feature to 2 keymaps * Use split_common instead of own split flies * Fix split LED * Fix RGB LED config for iOS device * Add RGB_MOD reverse key to default keymap * Update readme_jp.md of default keymap * Add readme_en.md of default keymap * Merge branch 'master' into zinc_splitcommon # Conflicts: # keyboards/zinc/serial.c * Update keyboards/zinc/readme.md * Update keyboards/zinc/readme.md * Update keyboards/zinc/readme.md * Update keyboards/zinc/rules.mk * Update keyboards/zinc/rules.mk * Update toshi0383 keymap * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Update keyboards/zinc/keymaps/toshi0383/rules.mk * Remove build option firmware size impacts (as qmk#6947) * Remove some dead code and whitespace * Remove unused code * Remove unused code * Update keyboards/zinc/rev1/config.h * Update keyboards/zinc/reva/config.h * Update keyboards/zinc/keymaps/default/rules.mk * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/keymap.c * Update keyboards/zinc/keymaps/default/readme_en.md * Update keyboards/zinc/keymaps/default/readme_en.md * Breaking Changes Changelog
* Update rules.mk template to remove build option size impacts * Add rules.mk cleaning script * Update all rules.mk files to remove build option firmware size impact messages * Remove references to feature filesize in documentation * Revert "Update all rules.mk files to remove build option firmware size impact messages" This reverts commit 7cfe709. * Fix regex in cleanup script and exclude keymaps/ directories * Update quantum/template/avr/rules.mk Fixed missing tabs/spaces. Co-Authored-By: fauxpark <[email protected]>
Description
Removes references to build option sizes in each keyboard's
rules.mk
(e.g. (+1000)).Includes the script used to do this in
util/
,rules_cleanup.sh
.I have also removed references to these sizes in the documentation, where appropriate.
Types of Changes
Issues Fixed or Closed by This PR
Fixes #5488 - as @fauxpark comments;
Checklist