-
-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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 yaml_build_options target #10533
Conversation
Thank you for your contribution! |
Sorry about that, GitHub decided to delete the |
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Nick Brassel <nick@tzarc.org>
Description
Added
yaml_build_options
to the make target. It outputs the same information asshow_all_features
in a machine-readable format (YAML format).It was inspired by the #10420.
Example of usage:
First collect all keymap information for all keyboards.
(This takes time. On my MacBook Pro, it took 20 minutes)
make all:all:yaml_build_options > /tmp/allkeyboard.yaml
Have two simple scripts like the one below.
(I'm not familiar with python, so I'll give an example with ruby for the time being.)
ruby script
kb_select.rb
ruby script
kb_build_command.rb
Find out what MCU is used as follows.
To find a keyboard using STM32F4xx and count only the default keymap:
To find a keyboard using STM32F4xx and build only the default keymap, do the following:
You can also select a keymap that uses a particular DEBOUNCE_TYPE in a similar way.
Types of Changes
Checklist