summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-05-092-12/+30
|\
| * Allow MAKE environment override for 'qmk clean' (#12473)Joel Challis2021-05-092-12/+30
| |
* | New command: qmk console (#12828)Zach White2021-05-082-0/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * stash poc * stash * tidy up implementation * Tidy up slightly for review * Tidy up slightly for review * Bodge environment to make tests pass * Refactor away from asyncio due to windows issues * Filter devices * align vid/pid printing * Add hidapi to the installers * start preparing for multiple hid_listeners * udev rules for hid_listen * refactor to move closer to end state * very basic implementation of the threaded model * refactor how vid/pid/index are supplied and parsed * windows improvements * read the report directly when usage page isn't available * add per-device colors, the choice to show names or numbers, and refactor * add timestamps * Add support for showing bootloaders * tweak the color for bootloaders * Align bootloader disconnect with connect color * add support for showing all bootloaders * fix the pyusb check * tweaks * fix exception * hide a stack trace behind -v * add --no-bootloaders option * add documentation for qmk console * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * pyformat * clean up and flesh out KNOWN_BOOTLOADERS Co-authored-by: zvecr <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Fix comment parsing (#12750)Zach White2021-05-031-1/+1
| | | | | | Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-05-022-0/+12
|\|
| * Shim cli to new keyboard script (#12780)Joel Challis2021-05-022-0/+12
| | | | | | | | | | | | | | * Shim cli to new keyboard script * Shim cli to new keyboard script * Add docs
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-05-021-1/+1
|\|
| * Fix unused import in recent generation code (#12781)Joel Challis2021-05-021-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-05-012-0/+61
|\|
| * Allow <keyboard>.h to be optional when going data driven (#12706)Joel Challis2021-05-012-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | * Allow <keyboard>.h to be optional when going data driven * Remove stub files as no longer required * Rename function * Remove include of layouts.h for now * Take advantage of type=keyboard_folder * Take advantage of type=keyboard_folder - kb should still be mandatory
* | Add STM32L433 and L443 support (#12063)Xelus222021-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial L433 commit * change to XC * fix L433 * disable all peripherals * update system and peripheral clocks * 433 change * use its own board files * revert its own board files * l433 specific change * fix stm32l432xx define * remove duplicate #define * fix bootloader jump * move to L443xx and add i2c2, spi2, usart3 to mcuconf.h * move to L443 * move to L443 * fix sdmmc in mcuconf.h * include STM32L443 * add L443 * Include L443 in compatible microcontrollers Co-authored-by: Nick Brassel <nick@tzarc.org> * Include L443 in compatible microcontrollers Co-authored-by: Nick Brassel <nick@tzarc.org> * Update config bootloader jump description Co-authored-by: Nick Brassel <nick@tzarc.org> * Update ChibiOS define reasoning Co-authored-by: Nick Brassel <nick@tzarc.org> * Update quantum/mcu_selection.mk Co-authored-by: Nick Brassel <nick@tzarc.org> * fix git conflict Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Add support for MCU = STM32F446 (#12619)Purdea Andrei2021-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for MCU = STM32F446 * Update platforms/chibios/GENERIC_STM32_F446XE/configs/config.h Co-authored-by: Nick Brassel <nick@tzarc.org> * Restore mcuconf.h to the one used by RT-STM32F446RE-NUCLEO64 * stm32f446: update mcuconf.h and board.h for 16MHz operation, with USB enabled, and other peripherals disabled. Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-251-7/+12
|\|
| * Fix CLI incorrectly following `DEFAULT_FOLDER` (#12529)Nick Brassel2021-04-251-7/+12
| | | | | | | | | | | | | | * Attempt to sort out incorrectly following DEFAULT_FOLDER. * Fix CI checks. * qmk pyformat
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-1519-85/+138
|\|
| * Add support for tab completion (#12411)Zach White2021-04-1419-85/+138
| | | | | | | | | | | | | | * Add support for tab completion * make flake8 happy * Add documentation
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-081-2/+2
|\|
| * `qmk chibios-confmigrate`: Make `-i` and `-r` required (#12515)Ryan2021-04-081-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-021-1/+1
|\|
| * `qmk doctor`: Fix WSL /mnt check (#12466)Ryan2021-04-021-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-021-4/+9
|\|
| * qmk doctor: Display macOS and Windows versions, and add WSL warning for /mnt ↵Ryan2021-04-021-4/+9
| | | | | | | | (#12441)
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-301-1/+1
|\|
| * Format code according to conventions (#12437)github-actions[bot]2021-03-311-1/+1
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-301-1/+1
|\|
| * Allow for clang-format up to v20. (#12407)Nick Brassel2021-03-311-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-271-1/+1
|\|
| * add utf-8 encoding to the open() call (#12388)Zach White2021-03-271-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-2514-107/+309
|\|
| * Add a `qmk format-json` command that will format JSON files (#12372)Zach White2021-03-2514-107/+309
| | | | | | | | | | | | | | | | | | | | | | * Add a command to format json files * change to work after rebase * add test for qmk format-json * add documentation for qmk format-json * Update lib/python/qmk/cli/format/json.py
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-251-5/+5
|\|
| * [CI] Format code according to conventions (#12363)github-actions[bot]2021-03-241-5/+5
| | | | | | | | | | | | | | | | | | | | * Format code according to conventions * Update lib/python/qmk/cli/generate/api.py * Update lib/python/qmk/cli/generate/api.py Co-authored-by: QMK Bot <hello@qmk.fm> Co-authored-by: Zach White <skullydazed@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-2417-106/+171
|\|
| * Add support for qmk_configurator style aliases (#11954)Zach White2021-03-2417-106/+171
| | | | | | | | | | | | | | | | | | * 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
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-231-1/+9
|\|
| * use layout aliases when processing info.json (#12333)Zach White2021-03-221-1/+9
| |
* | Consistently use bin/qmk when that script is called (#12286)Zach White2021-03-181-1/+1
| | | | | | | | | | * Pass QMK_BIN down to build_keyboard.mk * choose the correct qmk script
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-181-5/+11
|\|
| * `qmk doctor`: Don't run udev checks under WSL (#12231)Ryan2021-03-191-5/+11
| |
* | core: add support for MK66F18 (Teensy 3.6) micro controller (#12258)Michael Stapelberg2021-03-171-1/+1
| | | | | | This is in preparation for https://github.com/qmk/qmk_firmware/pull/10171
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-091-1/+1
|\|
| * Fix typo in `get_git_version()` (#12182)Ryan2021-03-101-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-03-091-13/+4
|\|
| * improve detection of community layout supportZach White2021-03-091-13/+4
| |
* | Begin the process of deprecating bin/qmk in favor of the global cli (#12109)Zach White2021-03-072-2/+3
|/ | | | | * Begin the process of deprecating bin/qmk in favor of the global cli * Correctly set the qmk bin
* `qmk generate-rules-mk`: add `--escape` switch for makefile logic (#12101)Ryan2021-03-041-1/+5
|
* Migrate make_dfu_header to CLI (#12061)Joel Challis2021-02-282-0/+60
| | | | | | | | | | | | | * Migrate make_dfu_header to CLI * lint fixes * Update lib/python/qmk/cli/generate/dfu_header.py Co-authored-by: Ryan <fauxpark@gmail.com> * Rename object Co-authored-by: Ryan <fauxpark@gmail.com>
* Fix generated file output while target exists (#12062)Joel Challis2021-02-286-9/+9
|
* Fix compile errors (#12048)Zach White2021-02-271-2/+3
| | | | | * fix compile errors * fix broken json files
* Fix develop (#12039)Zach White2021-02-279-30/+56
| | | | | | | | | 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