summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/info.py
Commit message (Collapse)AuthorAgeFilesLines
* Change data driven "str" type to represent a quoted string literal (#16516)Ryan2022-03-041-2/+8
| | | | | * 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-0/+5
|
* Revert CLI default for manufacturer (#16467)Joel Challis2022-02-271-1/+0
|
* Various fixes for new-keyboard (#16358)Joel Challis2022-02-151-0/+1
|
* CLI: Parse USB device version BCD (#14580)Ryan2022-01-171-0/+21
| | | | | * CLI: Parse USB device version BCD * Apply suggestions
* Fixes for bootloader refactor build failures (#15638)Ryan2022-01-061-6/+1
|
* Westberrytech pr (#14422)Joy Lee2021-11-271-0/+2
| | | | | | | * Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
* Merge remote-tracking branch 'upstream/master' into developNick Brassel2021-11-051-4/+8
|\
| * Fixup actions. (#15057)Nick Brassel2021-11-041-4/+8
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-311-0/+6
|\|
| * [CLI] Fix broken layout rendering in `qmk info` by '\n' (#14970)Mateusz Ż2021-10-311-0/+6
| |
* | Split out HAPTIC_ENABLE to have separate DRIVER option (#14854)Joel Challis2021-10-181-5/+0
| | | | | | | | | | | | | | | | | | | | | | * DRIVER -> ENABLE * Update generic_features.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update common_features.mk Co-authored-by: Ryan <fauxpark@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-161-2/+2
|\|
| * Try to clarify "number of elements in info.json does not match" error (#14844)Ryan2021-10-161-2/+2
| |
* | Remove QWIIC_DRIVERS (#14174)Joel Challis2021-10-091-1/+1
|/
* Cleanup issues identified by lgtm (#14459)Zach White2021-09-271-4/+4
| | | | | * cleanup issues identified by lgtm * fix the git_status check
* Merge remote-tracking branch 'origin/master' into developZach White2021-08-201-35/+6
|\ | | | | | | | | Resolved Conflicts: lib/python/qmk/info.py
| * Restore layout count validation (#14068)Joel Challis2021-08-201-35/+6
| |
* | Add a lot more data to info.json (#13366)Zach White2021-08-161-10/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* | Defer the expensive search for layout macros until info.json has been ↵Zach White2021-08-161-19/+24
| | | | | | | | | | | | | | processed (#14007) * defer the expensive search for layout macros until info.json has been processed * fixup names
* | Merge remote-tracking branch 'origin/master' into developZach White2021-08-091-1/+1
|\| | | | | | | | | Conflicts: keyboards/kbdfans/kbd67/mkiirgb/mkiirgb.c
| * Fix generate api (#13930)Zach White2021-08-091-1/+1
| | | | | | | | | | * Add missing returncode to exit() * fix the aozora/hotswap vendor id
* | Matrix consistency check (#13470)Zach White2021-07-111-0/+46
| | | | | | | | | | * Add a check to make sure the matrix sizes match the actual matrix size * make flake8 happy
* | Optimize our jsonschema by using refs (#13271)Zach White2021-06-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * fix some broken info.json files * optimize our jsonschema using refs * fix formatting after vscode broke it * make flake8 happy * cleanup * make our schema validation more compact and flexible
* | Remove the redundant pin name validation (#13251)Zach White2021-06-221-7/+1
| | | | | | | | | | * remove the redundant pin name validation * fix submodules
* | allow LINE_PINxx for Teensy 4.x pins (#13247)Michael Stapelberg2021-06-191-0/+3
|/ | | fixes https://github.com/qmk/qmk_firmware/issues/13052
* Catch 'LAYOUTS = all' in lint (#12848)Joel Challis2021-05-091-0/+13
| | | Co-authored-by: Zach White <skullydazed@drpepper.org>
* Add support for qmk_configurator style aliases (#11954)Zach White2021-03-241-65/+4
| | | | | | | | | * 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
* use layout aliases when processing info.json (#12333)Zach White2021-03-221-1/+9
|
* improve detection of community layout supportZach White2021-03-091-13/+4
|
* Fix compile errors (#12048)Zach White2021-02-271-2/+3
| | | | | * fix compile errors * fix broken json files
* Fix develop (#12039)Zach White2021-02-271-10/+34
| | | | | | | | | Fixes file encoding errors on Windows, and layouts not correctly merging into info.json. * force utf8 encoding * correctly merge layouts and layout aliases * show what aliases point to
* Create a system to map between info.json and config.h/rules.mk (#11548)Zach White2021-01-311-241/+102
| | | | | | | | | | | | | | | | | | | | | | | | | * 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/+7
| | | | | | | | | * 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-31/+29
| | | | | | | | | | | | | | | * 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>
* fix bugs triggered by certain boardsZach White2021-01-081-11/+24
|
* Revert "change invalid pin from error to warning"Zach White2021-01-071-1/+1
| | | | This reverts commit 68da9cd19658071f0c2f22e97956303281703176.
* change invalid pin from error to warningZach White2021-01-071-1/+1
|
* make flake8 happyZach White2021-01-071-37/+47
|
* get qmk generate-api into a good stateZach White2021-01-071-25/+57
|
* validate keyboard data with jsonschemaZach White2021-01-071-11/+140
|
* fix keyboards with apostrophes in their namesZach White2021-01-031-1/+1
|
* Fix broken keyboards (#11412)Zach White2021-01-031-0/+3
| | | | | * Fix a couple errors * add a dependency for the generated headers
* Configure keyboard matrix from info.json (#10817)Zach White2020-12-301-59/+296
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Change keyboard json format to bring it inline with the current api (#11231)Zach White2020-12-191-3/+7
|
* New command: qmk lint (#10761)Zach White2020-11-071-12/+31
| | | | | | | | | | | | | | | | | | | | | | | | | * Basic qmk lint command * check for keymap readme * change the workflow from qmk info to qmk lint * add a strict mode * parsing -> parse * document qmk lint * small info logging cleanup * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * honor --strict in more places * change the job name to lint Co-authored-by: Ryan <fauxpark@gmail.com>
* Generate api data on each push (#10609)Zach White2020-10-251-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add new qmk generate-api command, to generate a complete set of API data. * Generate api data and push it to the keyboard repo * fix typo * Apply suggestions from code review Co-authored-by: Joel Challis <git@zvecr.com> * fixup api workflow * remove file-changes-action * use a more mainstream github action * fix yaml error * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> * more uniform date handling * make flake8 happy * Update lib/python/qmk/decorators.py Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* [CLI] Remove check for Input Club boards (#10636)Ryan2020-10-181-2/+0
|
* CLI: Fix MCU lists for `qmk info` (#10574)Ryan2020-10-091-3/+3
|
* Improve LAYOUT macro searching (#9530)Ryan2020-10-061-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | * Improve LAYOUT macro searching * Apply suggestions from code review Co-authored-by: Zach White <skullydazed@users.noreply.github.com> * Adjust signature * Try to copy the makefile's handling of DEFAULT_FOLDER * Move it further up, into `info_json()` * Move it even further up so that keyboard_folder is correct * Update lib/python/qmk/info.py Co-authored-by: Zach White <skullydazed@drpepper.org> * Update lib/python/qmk/info.py Co-authored-by: Zach White <skullydazed@drpepper.org> Co-authored-by: Zach White <skullydazed@users.noreply.github.com> Co-authored-by: Zach White <skullydazed@drpepper.org>