summaryrefslogtreecommitdiffstats
path: root/lib/python
Commit message (Collapse)AuthorAgeFilesLines
* fix automatic directory for qmk lint (#14215)Zach White2021-08-281-5/+5
|
* Add check for non-assignment code in rules.mk (#12108)Zach White2021-08-291-41/+98
| | | | | | | | | | | * Add check for non-assignment code in rules.mk * fix lint check * fix lint * fixup to reflect the final state of #8422 * fix lint
* remove qmk console, which is now part of the global cli (#14206)Zach White2021-08-292-304/+0
|
* Align some quantum sub-directories (#14134)Joel Challis2021-08-242-3/+3
| | | | | | | * Misc folder tidy * Review comments * Remove redundant entry
* 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 config.h and rules.mk support for data driven keymaps (#12859)Joel Challis2021-08-183-37/+29
| | | | | | | | | | | | | | | | | | | | | | * 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
* | `--parallel` improvements (#13800)ruro2021-08-184-8/+25
| | | | | | | | | | | | | | * improve make parallel jobs support * document the --parallel option * disable the output-sync for interactive targets
* | [CLI] Add qmk-hid bootloader detection support to `qmk console` (#14038)Drashna Jaelre2021-08-182-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [CLI] Add qmk-hid bootloader detection support to `qmk console` * Remove duplicate entry Co-authored-by: Ryan <fauxpark@gmail.com> * Begrudgingly add lufa-ms * Add udev rules for hid bootloaders * Update util/udev/50-qmk.rules Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Fix VID/PID combos Co-authored-by: Sergey Vlasov <sigprof@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* | Add a lot more data to info.json (#13366)Zach White2021-08-166-83/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 developQMK Bot2021-08-131-2/+22
|\|
| * use sudo to install modules if needed (#13984)Zach White2021-08-131-2/+22
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-08-101-4/+5
|\|
| * Improve the qmk lint readme check (#13941)Zach White2021-08-101-4/+5
| | | | | | | | | | * improve lint readme check * improve if
* | Merge remote-tracking branch 'origin/master' into developZach White2021-08-092-2/+5
|\| | | | | | | | | 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
| * make json imports more robust (#13928)Zach White2021-08-091-1/+4
| |
* | Add support for STM32F407x MCUs. (#13718)thpoll832021-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for STM32F407x MCUs. * Removing STMF407 MCU variation * Update quantum/mcu_selection.mk Remove options for dfu flashing Co-authored-by: Ryan <fauxpark@gmail.com> * DISABLE STM32_USB_USE_OTG1 * Update platforms/chibios/GENERIC_STM32_F407XE/configs/mcuconf.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Update platforms/chibios/GENERIC_STM32_F407XE/configs/mcuconf.h Co-authored-by: thomas.pollak <thomas.pollak@dynatrace.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* | [CLI] Make `qmk doctor` more lenient about system config (#13804)ruro2021-07-302-6/+12
| |
* | Port new_keyboard.sh to CLI (#13706)Ryan2021-07-302-5/+145
| | | | | | Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-07-301-1/+6
|\|
| * `qmk docs`: Add flag to open in browser (#13788)Ryan2021-07-301-1/+6
| | | | | | | | | | * `qmk docs`: Add flag to open in browser * Add docs
* | Remove references to info.json `width` and `height` in CLI (#13728)Ryan2021-07-295-11/+2
| |
* | CLI/Docs: Fix the format commands' name (#13668)Erovia2021-07-232-7/+7
| | | | | | | | | | | | | | PR #13296 changed the name of the `cformat` and `pyformat` commands to `format-c` and `format-py` respectively. This PR updates the documentation and some parts of the CLI to use the new names. Also add documentation for the new `format-text` subcommand, introduced in the same PR.
* | Move all our CLI file formatters to the format dir (#13296)Zach White2021-07-207-148/+240
| | | | | | | | | | | | | | | | | | * move all our file formatters to the format dir * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* | Merge remote-tracking branch 'origin/master' into developZach White2021-07-141-0/+1
|\| | | | | | | | | Resolved Conflicts: keyboards/checkerboards/nop60/info.json
| * switch to qmk-dotty-dict (#13460)Zach White2021-07-141-0/+1
| |
* | 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
* | CLI: Add git and venv info to doctor's output (#13405)Erovia2021-07-103-8/+111
| | | | | | | | Most of the checks are saved from zvecr's retired 'up/status' subcommand PR.
* | Adds support for STM32L412xB, STM32L422xB. (#13383)Nick Brassel2021-06-301-1/+1
| | | | | | | | | | | | | | * Adds support for STM32L412xB, STM32L422xB. * Add to list of supported MCUs. * Disable SPI1 by default.
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-06-271-0/+1
|\|
| * Doctor: print CLI version (#13356)Ryan2021-06-271-0/+1
| |
* | CLI: Add subcommand to generate version.h (#13151)Ryan2021-06-274-24/+73
| |
* | Optimize our jsonschema by using refs (#13271)Zach White2021-06-243-20/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-06-251-1/+2
|\|
| * add doctor to safe_commands (#13324)Zach White2021-06-241-1/+2
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-06-241-1/+1
|\|
| * expand the size of the textpad to allow for taller keyboards (#13319)Zach White2021-06-231-1/+1
| |
* | Remove the redundant pin name validation (#13251)Zach White2021-06-221-7/+1
| | | | | | | | | | * remove the redundant pin name validation * fix submodules
* | Refactor doctor.py into a directory (#13298)Zach White2021-06-226-49/+70
| |
* | allow LINE_PINxx for Teensy 4.x pins (#13247)Michael Stapelberg2021-06-191-0/+3
|/ | | fixes https://github.com/qmk/qmk_firmware/issues/13052
* Ensure that safe_commands always run (#13199)Zach White2021-06-146-41/+49
| | | | | * ensure that safe_commands always run * import the config subcommand in bin/qmk
* Allow limiting the multibuild based on keymap name. (#13066)Nick Brassel2021-06-091-13/+22
|
* `qmk multibuild`: Fix bug with Path objects (#13093)Ryan2021-06-031-1/+1
|
* CLI: Fix automagic (#13046)Erovia2021-05-301-6/+6
|
* 2021 May 29 Breaking Changes Update (#13034)James Young2021-05-297-33/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Per Key functionality for AutoShift (#11536) * LED Matrix: Reactive effect buffers & advanced indicators (#12588) * [Keyboard] kint36: switch to sym_eager_pk debouncing (#12626) * [Keyboard] kint2pp: reduce input latency by ≈10ms (#12625) * LED Matrix: Split (#12633) * [CI] Format code according to conventions (#12650) * feat: infinite timeout for leader key (#6580) * feat: implement leader_no_timeout logic * docs(leader_key): infinite leader timeout docs * Format code according to conventions (#12680) * Update ADC driver for STM32F1xx, STM32F3xx, STM32F4xx (#12403) * Fix default ADC_RESOLUTION for ADCv3 (and ADCv4) Recent ChibiOS update removed ADC_CFGR1_RES_10BIT from the ADCv3 headers (that macro should not have been there, because ADCv3 has CFGR instead of CFGR1). Fix the default value for ADC_RESOLUTION to use ADC_CFGR_RES_10BITS if it is defined (that name is used for ADCv3 and ADCv4). * Update ADC docs to match the actually used resolution ADC driver for ChibiOS actually uses the 10-bit resolution by default (probably to match AVR); fix the documentation accordingly. Also add both ADC_CFGR_RES_10BITS and ADC_CFGR1_RES_10BIT constants (these names differ according to the ADC implementation in the particular MCU). * Fix pinToMux() for B12 and B13 on STM32F3xx Testing on STM32F303CCT6 revealed that the ADC mux values for B12 and B13 pins were wrong. * Add support for all possible analog pins on STM32F1xx Added ADC mux values for pins A0...A7, B0, B1, C0...C5 on STM32F1xx (they are the same at least for STM32F103x8 and larger F103 devices, and also F102, F105, F107 families). Actually tested on STM32F103C8T6 (therefore pins C0...C5 were not tested). Pins F6...F10, which are present on STM32F103x[C-G] in 144-pin packages, cannot be supported at the moment, because those pins are connected only to ADC3, but the ChibiOS ADC driver for STM32F1xx supports only ADC1. * Add support for all possible analog pins on STM32F4xx Added ADC mux values for pins A0...A7, B0, B1, C0...C5 and optionally F3...F10 (if STM32_ADC_USE_ADC3 is enabled). These mux values are apparently the same for all F4xx devices, except some smaller devices may not have ADC3. Actually tested on STM32F401CCU6, STM32F401CEU6, STM32F411CEU6 (using various WeAct “Blackpill” boards); only pins A0...A7, B0, B1 were tested. Pins F3...F10 are inside `#if STM32_ADC_USE_ADC3` because some devices which don't have ADC3 also don't have the GPIOF port, therefore the code which refers to Fx pins does not compile. * Fix STM32F3xx