summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/generate/rules_mk.py
Commit message (Collapse)AuthorAgeFilesLines
* Format DD mappings and schemas (#18924)Ryan2022-11-081-1/+1
|
* Add converter support to keymap.json (#18776)Joel Challis2022-10-201-1/+6
|
* Build correctly when out of tree (#18775)Joel Challis2022-10-191-9/+15
|
* Extend 'qmk info' to handle keymap level overrides (#16702)Joel Challis2022-03-211-7/+3
|
* Merge remote-tracking branch 'origin/master' into developzvecr2022-03-181-10/+4
|\
| * [CLI] Add common util for dumping generated content (#16674)Joel Challis2022-03-181-10/+4
| |
* | Change data driven "str" type to represent a quoted string literal (#16516)Ryan2022-03-041-1/+3
|/ | | | | * Change data driven "str" type to represent a quoted string literal * Update docs
* Fix issues with data driven split keyboards (#16457)Joel Challis2022-02-271-1/+1
|
* Remove `BOOTMAGIC_ENABLE = lite` option (#15002)James Young2021-11-051-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * remove BOOTMAGIC_ENABLE=lite setting * change keyboard BOOTMAGIC_ENABLE rules Edits keyboard-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keyboard BOOTMAGIC_ENABLE inline comments Edits keyboard-level BOOTMAGIC_ENABLE inline comments to "Enable Bootmagic Lite". * change keymap BOOTMAGIC_ENABLE rules Edits keymap-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keymap BOOTMAGIC_ENABLE inline comments Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * change layout/user BOOTMAGIC_ENABLE rules/comments Edits instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * update non-rules.mk BOOTMAGIC_ENABLE references in keyboards/ * remove docs references to Full Bootmagic * convert data-driven Bootmagic Lite instances * remove Bootmagic Lite bodge from data-driven generation * Merge remote-tracking branch 'upstream/develop' into rm/bootmagic-full_q4a * update docs/ja/config_options.md per mtei * update docs/faq_misc.md per mtei Remove remaining Full Bootmagic reference.
* Allow community layouts to be specified in info.json (#14682)Zach White2021-10-041-1/+1
| | | | | * move the community layout detection to python * fixup tests
* Add config.h and rules.mk support for data driven keymaps (#12859)Joel Challis2021-08-181-16/+14
| | | | | | | | | | | * Add config.h and rules.mk support for data driven keymaps * tidy up after rebase * Rename key as it can contain more than just keyboard overrides * tidy up after rebase * Add validation
* Add a lot more data to info.json (#13366)Zach White2021-08-161-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add some split data to info.json * add tags * add half of config_options.md to info.json * add support for designating master split * sort out split transport and primary * fix bad data in UNUSED_PINS * fixup custom transport * wip * allow for setting split right half keyboard matrix * add SPLIT_USB_DETECT * minor cleanup * fix an erroneous message * rework split.usb_detect * adding missing rgblight vars to info.json * add mouse_key to info.json * add all remaining options from docs/config_options.md * fix audio voices * qmk info: Change text output to use dotted notation * tweak layout output * resolve alias names * break out some functions to make flake8 happy * add a field for bootloader instructions * qmk generate-info-json: add a write-to-file argument Adds an argument that instructs qmk generate-info-json to write the output to a file instead of just to the terminal. * -arg_only, +action Because it was never my intention that one would have to specify a value for the argument that enables writing the file. * Bring qmk generate-info-json inline with other generate commands * pytest fixup * fix esca/getawayvan * fix data driven errors for bpiphany converters * features.force_nkro -> usb.force_nkro * split.primary->split.main * fix esca/getawayvan_f042 * fix the bpiphany converters for real * fix bpiphany/tiger_lily * Apply suggestions from code review Co-authored-by: Nick Brassel <nick@tzarc.org> * fix generate-api errors * fix matrix pin extraction for split boards * fix ploopyco/trackball_nano/rev1_001 Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Add support for tab completion (#12411)Zach White2021-04-141-2/+2
| | | | | | | * Add support for tab completion * make flake8 happy * Add documentation
* Add support for qmk_configurator style aliases (#11954)Zach White2021-03-241-3/+5
| | | | | | | | | * Add support for qmk_configurator style aliases * add the keyboard aliases to the api data * add support for a keyboard metadata file * make flake8 happy
* `qmk generate-rules-mk`: add `--escape` switch for makefile logic (#12101)Ryan2021-03-041-1/+5
|
* Fix generated file output while target exists (#12062)Joel Challis2021-02-281-2/+2
|
* Create a system to map between info.json and config.h/rules.mk (#11548)Zach White2021-01-311-24/+37
| | | | | | | | | | | | | | | | | | | | | | | | | * generate rules.mk from a json mapping * generate rules.mk from a json mapping * support for config.h from json maps * improve the mapping system * document the mapping system * move data/maps to data/mappings * fix flake8 errors * fixup LED_MATRIX_DRIVER * remove product and description from the vision_division keymap level * reduce the complexity of generate-rules-mk * add tests for the generate commands * fix qmk doctor when submodules are not clean
* Add support for specifying BOARD in info.json (#11492)Zach White2021-01-091-1/+3
| | | | | | | | | * add support for specifying BOARD in info.json * move BOARD from rules.mk to info.json for clueboard * fix keyboards that do not require board * remove out of compliance values
* Use the schema to eliminate custom code (#11108)Zach White2021-01-091-5/+5
| | | | | | | | | | | | | | | * use the schema to eliminate custom code * Update docs/reference_info_json.md Co-authored-by: Ryan <fauxpark@gmail.com> * make flake8 happy * bugfix * do not overwrite make vars from json Co-authored-by: Ryan <fauxpark@gmail.com>
* make flake8 happyZach White2021-01-071-2/+3
|
* get qmk generate-api into a good stateZach White2021-01-071-3/+6
|
* validate keyboard data with jsonschemaZach White2021-01-071-0/+13
|
* Configure keyboard matrix from info.json (#10817)Zach White2020-12-301-0/+59
* Make parameters from info.json available to the build system * move all clueboard settings to info.json * code formatting * make flake8 happy * make flake8 happy * make qmk lint happy * Add support for specifying led indicators in json * move led indicators to the clueboard info.json * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * add missing docstring Co-authored-by: Erovia <Erovia@users.noreply.github.com>