summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/info.py
Commit message (Collapse)AuthorAgeFilesLines
* Data driven `g_led_config` (#16728)Joel Challis2022-05-161-1/+44
|
* Implement XAP 'secure' core requirements (#16843)Joel Challis2022-04-161-11/+45
| | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
* Add frameworking for development board presets (#16637)Joel Challis2022-04-031-0/+13
| | | | | | | | | * Add frameworking for development board presets * Update lib/python/qmk/info.py Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-03-261-2/+2
|\
| * Fix bug when 'info.json' lookup escapes keyboard dir (#16734)Erovia2022-03-261-2/+2
| |
* | Ignore transport defaults if SPLIT_KEYBOARD is unset (#16706)Joel Challis2022-03-221-2/+4
| | | | | | | | | | * Ignore transport defaults if SPLIT_KEYBOARD is unset * keep exists check
* | Extend 'qmk info' to handle keymap level overrides (#16702)Joel Challis2022-03-211-9/+40
| |
* | 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