summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix QMK_BUILDDATE (#11641)Zach White2021-01-201-1/+1
|
* Generate version.h when compiling json files (#11581)Zach White2021-01-171-3/+55
| | | | | | | | | * generate version.h when compiling json files * make flake8 happy * fix formatting and verbose * quiet up the compile output
* Improve the compile and flash subcommands (#11334)Zach White2021-01-165-26/+133
| | | | | | | | | | | | | | | | | | | * add support for --clean to compile and flash * compile standalone JSON keymaps without polluting the tree * Add support for passing environment vars to make * make flake8 happy * document changes to qmk compile and flash * add -e support to json export compiling * Fix python 3.6 * honor $MAKE * add support for parallel builds
* Migrate python tests away from onekey (#11367)Joel Challis2021-01-054-51/+57
| | | | | | | * Migrate python tests away from onekey * Add stub files to stop lint complaints * Make all the pytest keymaps compile
* Return the make exit code for qmk compile and flash (#11402)Zach White2021-01-022-2/+4
|
* [CLI] Add stdin support for json2c command (#11289)LongerHV2020-12-294-35/+70
| | | | | | | | | | | | | | | * Implement stdin for json2c command * Refactor * Handle json decode error * Add stdin support for c2json cli command * Refactor to prevent code duplication * Change exit(1) to return False in c2json command * Remove unused import
* `qmk fileformat`: only print complaints, and fix some of them (#11278)Ryan2020-12-241-1/+1
|
* Split of the doctor codebase (#11255)Erovia2020-12-213-285/+308
| | | Co-authored-by: Ryan <fauxpark@gmail.com>
* Doctor: add check for .git folder (#11208)Ryan2020-12-201-0/+18
| | | 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-192-4/+8
|
* simplify qmk doctor to make room for #11208 (#11242)Zach White2020-12-181-13/+17
|
* CLI-ify rgblight_breathing_table_calc.c (#11174)Ryan2020-12-163-0/+87
| | | | Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com> Co-authored-by: Zach White <skullydazed@drpepper.org>
* CI automated format fixes (#11179)Joel Challis2020-12-111-1/+1
| | | | | * Format all C files for now, till diff logic works within CI * Fix recursion of dos2unix
* Fix warning logic when running 'qmk format -a' (#11177)Joel Challis2020-12-101-2/+2
|
* CI: Add workflow for codebase formatting (#7382)Joel Challis2020-12-102-0/+14
| | | | | | | | | * Add workflow for codebase formatting * stash * review comments * Swap to a more complete push action
* Reduce travis load by replacing an exclusive grep with an inclusive grep ↵Zach White2020-11-301-1/+1
| | | | | | | (#10964) * add -n to avoid compiling * switch to an include rather than exclude strategy
* 2020 November 28 Breaking Changes Update (#11053)James Young2020-11-286-1010/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Branch point for 2020 November 28 Breaking Change * Remove matrix_col_t to allow MATRIX_ROWS > 32 (#10183) * Add support for soft serial to ATmega32U2 (#10204) * Change MIDI velocity implementation to allow direct control of velocity value (#9940) * Add ability to build a subset of all keyboards based on platform. * Actually use eeprom_driver_init(). * Make bootloader_jump weak for ChibiOS. (#10417) * Joystick 16-bit support (#10439) * Per-encoder resolutions (#10259) * Share button state from mousekey to pointing_device (#10179) * Add hotfix for chibios keyboards not wake (#10088) * Add advanced/efficient RGB Matrix Indicators (#8564) * Naming change. * Support for STM32 GPIOF,G,H,I,J,K (#10206) * Add milc as a dependency and remove the installed milc (#10563) * ChibiOS upgrade: early init conversions (#10214) * ChibiOS upgrade: configuration file migrator (#9952) * Haptic and solenoid cleanup (#9700) * XD75 cleanup (#10524) * OLED display update interval support (#10388) * Add definition based on currently-selected serial driver. (#10716) * New feature: Retro Tapping per key (#10622) * Allow for modification of output RGB values when using rgblight/rgb_matrix. (#10638) * Add housekeeping task callbacks so that keyboards/keymaps are capable of executing code for each main loop iteration. (#10530) * Rescale both ChibiOS and AVR backlighting. * Reduce Helix keyboard build variation (#8669) * Minor change to behavior allowing display updates to continue between task ticks (#10750) * Some GPIO manipulations in matrix.c change to atomic. (#10491) * qmk cformat (#10767) * [Keyboard] Update the Speedo firmware for v3.0 (#10657) * Maartenwut/Maarten namechange to evyd13/Evy (#10274) * [quantum] combine repeated lines of code (#10837) * Add step sequencer feature (#9703) * aeboards/ext65 refactor (#10820) * Refactor xelus/dawn60 for Rev2 later (#10584) * add DEBUG_MATRIX_SCAN_RATE_ENABLE to common_features.mk (#10824) * [Core] Added `add_oneshot_mods` & `del_oneshot_mods` (#10549) * update chibios os usb for the otg driver (#8893) * Remove HD44780 References, Part 4 (#10735) * [Keyboard] Add Valor FRL TKL (+refactor) (#10512) * Fix cursor position bug in oled_write_raw functions (#10800) * Fixup version.h writing when using SKIP_VERSION=yes (#10972) * Allow for certain code in the codebase assuming length of string. (#10974) * Add AT90USB support for serial.c (#10706) * Auto shift: support repeats and early registration (#9826) * Rename ledmatrix.h to match .c file (#7949) * Split RGB_MATRIX_ENABLE into _ENABLE and _DRIVER (#10231) * Split LED_MATRIX_ENABLE into _ENABLE and _DRIVER (#10840) * Merge point for 2020 Nov 28 Breaking Change
* CLI: Udev related fixes and improvements (#10736)Erovia2020-11-162-93/+118
|
* CI: Add docs build and deploy workflow (#7448)Joel Challis2020-11-102-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add docs build and deploy workflow * Remove old travis docs workflow * update to cli command * Tidy up for review * formatting * Update to pass style checks * Update lib/python/qmk/cli/docs.py Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com> * Review comments - build->generate, use of verbose * Add docs * Update to match recent actions * Run within base_container * Convert cli to generate-docs * Convert cli to generate-docs - restore old file * Convert cli to generate-docs * Update docs Co-authored-by: skullydazed <skullydazed@users.noreply.github.com>
* New command: qmk lint (#10761)Zach White2020-11-074-16/+112
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* CLI: Add `qmk clean` (#10785)Ryan2020-11-043-0/+23
|
* `qmk info`: Add `--ascii` flag (#10793)Ryan2020-11-023-14/+52
| | | | | | | | | | | | | | | * `qmk info`: Add `--ascii` flag * Fix typo * Force ASCII for Windows/MSYS2 * Make it gooder * Remove redundant windows check * ...And this too * Make pytest work on Windows
* Generate api data on each push (#10609)Zach White2020-10-2514-125/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* c2json: Fix TypeError on MSYS2 (#10709)Ryan2020-10-231-1/+2
|
* Fix CLI warning for Massdrop udev rule (#10691)Ryan2020-10-201-1/+1
|
* Improve ANSI support and --no-color (#10537)Zach White2020-10-173-31/+76
| | | | | | | | | | | * Improve ANSI support and --no-color * tweak when levelname gets stripped of ansi * sync with latest milc * make questions work with both milc versions * pyformat
* [CLI] Remove check for Input Club boards (#10636)Ryan2020-10-181-2/+0
|
* CLI: Fix stripping of `ANY` from Configurator exports (#10585)Erovia2020-10-091-0/+2
| | | 058737f broke it ¯\_(ツ)_/¯
* CLI: Fix MCU lists for `qmk info` (#10574)Ryan2020-10-092-7/+6
|
* [CLI] Add c2json (#8817)Erovia2020-10-067-35/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Basic keymap parsing finally works * Add 'keymap.json' creation to the qmk.keymap module * Add tests and fix formatting * Fix/exclude flake8 errors * Convert keymap.c to valid keymap.json * Fix some errors * Add tests * Finalize keymap.json creation, add json template * Add docs * Move pygments to the standard requirements * Add support for nameless layers, fix tests * Fix things after rebase * Add missing 'keymap' value. * Fix missing layer numbers from advanced keycodes Buckwich noticed that if the advanced keycode / layer toggling key contains a number, it goes missing. Now we properly handle them. Thx for noticing! * Apply suggestions from code review * fixup tests Co-authored-by: Zach White <skullydazed@drpepper.org> Co-authored-by: skullY <skullydazed@gmail.com>
* 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>
* CLI: update subcommands to use return instead of exit() (#10323)Ryan2020-10-069-18/+20
|
* Consolidate udev rules into a single file (#9693)Ryan2020-09-271-12/+45
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Consolidate udev rules into a single file * Update rules in doctor.py * Simplify doctor rule checking * Fix errors * Add TMK "FEED" VID to list of deprecated udev rules * A comma would be nice * Split rules back up into bootloaders * Link to docs page in "missing" case * Add Pololu VID * Be more specific about Caterina devices, and add LilyPad PID
| * Be more specific about Caterina devices, and add LilyPad PIDfauxpark2020-09-191-5/+16
| |
| * Add Pololu VIDfauxpark2020-09-191-1/+3
| |
| * Link to docs page in "missing" casefauxpark2020-09-191-1/+1
| |
| * Split rules back up into bootloadersfauxpark2020-09-191-34/+41
| |
| * A comma would be nicefauxpark2020-09-191-1/+1
| |
| * Add TMK "FEED" VID to list of deprecated udev rulesfauxpark2020-09-191-0/+1
| |
| * Fix errorsfauxpark2020-09-191-11/+11
| |
| * Simplify doctor rule checkingfauxpark2020-09-191-35/+32
| |
| * Update rules in doctor.pyfauxpark2020-09-191-9/+24
| |
* | Add logic for AT90USBxx7 where needed (#10203)Ryan2020-09-271-1/+1
| |
* | CLI/Doctor: Print QMK_HOME (#10398)Ryan2020-09-241-0/+3
| |
* | Add STM32F401/F411 to ARM_PROCESSORS (#10362)Ryan2020-09-181-1/+1
|/
* Update vusb to match 3rd endpoint. (#9020)yiancar2020-08-291-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * Update vusb to match 3rd endpoint. - With the addition of https://github.com/qmk/v-usb/pull/1 a 3rd endpoint (endpoint4) becomes available. - We can assign mouse/extrakeys to that endpoint as its a desirable feature and leave rawhid and console to compete for the 2nd endpoint. NOTE: The version of vusb.c in future branch is older than master. Just remember that it will need a #error if both raw_hid and console are enabled at the same time. * Final Fixes * Update tmk_core/protocol/vusb/vusb.c * Update tmk_core/protocol/vusb/vusb.c * Update tmk_core/protocol/vusb/usbconfig.h * Update tmk_core/protocol/vusb/usbconfig.h * Update tmk_core/protocol/vusb/usbconfig.h * Update tmk_core/protocol/vusb/usbconfig.h * Updated vusb submodule to latest commit
* Add `st-flash` flash target (#9964)Sergey Vlasov2020-08-291-0/+1
| | | | | | | | * Add `st-flash` flash target Add support for flashing the firmware via the `st-flash` utility from the STLink Tools package (https://github.com/stlink-org/stlink). * Add `st-flash` to the `qmk flash -b` output
* Initial work for consolidation of ChibiOS platform files (#8327)Nick Brassel2020-08-291-2/+2
| | | | | | | | | | | | | | | | | * Initial work for consolidation of board files and default ChibiOS configs. * Migrate F401/F411 black pills for testing. * Add early init bootloader jump flag. * Add support for I2C in order to use i2c_scanner keymap. * Add F401/F411 HSE bypass to get things booting. * Exempt "hooked" ChibiOS conf files from updater script. * Fix up ordering for bootloader_defs file check. * Match previous $(KEYBOARD_PATHS) value for Proton-C, updated for all board configs.
* Add debug logging to `run()` (#9986)Ryan2020-08-281-0/+3
|
* Remove `DESCRIPTION` (#9732)Ryan2020-07-161-1/+0
|