summaryrefslogtreecommitdiff
path: root/lib/python
AgeCommit message (Collapse)Author
2022-01-23[CI] Add quick build workflow, add whitelist/blacklist support in ↵tmas
build_all.py (#206) * Add argparse, add arguments for whitelist, blacklist, and debug mode * When in debug mode, print a message * Parse whitelist/blacklist, output filenames and contents if debug enabled * Add should_include function to determine if a line should be included, apply whitelist/blacklist if enabled * Add quick build workflow and empty file to hold quickbuild list * Use blacklist for quick build * Remove unnecessary parentheses * Use lowercase filename * Whitelist is probably better than blacklist for quick build * Add common testing keyboards to whitelist * Fix indents * Still had some messed up indents! * More formatting fixes * Change delimiters to semicolon to hopefully appease the py linter * Delimiter is semicolon, no need to escape slash * Update build_all.py Co-authored-by: dexter93 <d3xter93@gmail.com>
2022-01-15CI: move build in one scriptDimitris Mantzouranis
2022-01-15CI: fine tune the weird stuffDimitris Mantzouranis
2022-01-14CI: automatically build all platform keyboardsDimitris Mantzouranis
no more explicit defines
2022-01-14Aukey KM-G12 (#194)Luca Mazzilli
* [Aukey KM-G12] add support https://github.com/SonixQMK/qmk_firmware/issues/15 status leds: - fixed LED_PIN_ON_STATE - fixed LED_SCROLL_LOCK_PIN Key Matrix: - using COL2ROW - adjusted row 5: KC_SPC is on col 6 and have 3 KC_NO before and after - fixed ISO layout (removed \ under enter and shifted all led config index) - rgb keymaps aligned to the Aukey km-g12 default - moved RESET to FN+R (esc is mapped to RGB toggle) RGB matrix: Row 4 contains a led under numpad plus, row 6 contains 6 led under the spacebar and 1 under numpad enter. All the other underglow leds are un row 7 and row 8 ( to compile i had to force also keys matrix to 8. I'm not sure why but it seems that g_led_config is inited on MATRIX_ROWS and not LED_MATRIX_ROWS). - using SN32F24xB - adjusted KC_SPC led position (col 6) - underglow: D4 (red), B15 (blue), D3 (green) controls led marked as DL1, DL25 to DL36 and DL43 to DL50 while D5 (red), A15 (blue), D6 (green) controls DL2-24. - marked underglow with LED_FLAG_UNDERGLOW = 2 - marked modifiers with LED_FLAG_MODIFIER | LED_FLAG_KEYLIGHT = 5 - mapped underglow X and Y in a square (left, top, right, bottom) Added UNUSED_PINS C13 C14, for reference * [Aukey KM-G12] fixed underglow square coordinates and indexes * [Aukey KM-G12] added to build * updated build_all.py searched for specific rules.mk containing SN32F2: git grep -rl 'SN32F2' -- 'keyboards/*.mk' then filtered the results with a regex, cleaned the string (keyboards, rules.mk): find keyboards/ -type f -name "rules.mk" | grep -E 'keychron\/c|keychron\/k|redragon\/k|ajazz|aukey|sharkoon|smartduck|spcgear|marvo|womier|flashquark|ffc61|gmmk|akko' | sed -e 's/keyboards\///g' | sed -e 's/\/rules.mk//g'
2022-01-10 CI: build 240 keyboardsDimitris Mantzouranis
2022-01-06Revert "debug time"Dimitris Mantzouranis
This reverts commit 86011a73a76b88a44ac00859812590533073d3cd.
2022-01-06debug timeDimitris Mantzouranis
2022-01-05sn32: disable 240 keyboards buildDimitris Mantzouranis
TODO: migrate board configs under platform
2022-01-05CI: build all sonixDimitris Mantzouranis
2022-01-05ci: build sn32_masterDimitris Mantzouranis
2022-01-04Add Sonix SN32 chips in constantsDimitris Mantzouranis
2022-01-03Refix "No C files in filelist: None" (#15728)Joel Challis
2022-01-03Fix "No C files in filelist: None" (#15560)Joel Challis
* Fix "No C files in filelist: None" * Align other commands * force absolute paths
2021-12-30Fix compilation-database command under MSYS (#15652)Joel Challis
* Fix compilation-database command under MSYS * Add comment
2021-12-09Add test filter to 'qmk pytest' (#15432)Joel Challis
* Add test filter to 'qmk pytest' * Bodge for some test filters not resolving qmk * Update docs
2021-11-29Fix 'format-c --core-only' matching keyboard level folders (#15337)Joel Challis
2021-11-28Changelog 2021q4 (#15325)Nick Brassel
* Changelog. * Remove the asymmetric encoder PR from listing due to revert. * More docs * More docs * More docs * Links to changelog, updated schedule, slotted in 2 weeks of testing at the end so that there's no ambiguity with PR merge dates. * Clarify keyboard moves. * Fix dates * Sidebar * Fixup dates. * Fixup dates. * Wording.
2021-11-27Westberrytech pr (#14422)Joy Lee
* Added support for WB32 MCU * Modified eeprom_wb32.c * Remove the eeprom_wb32-related code
2021-11-23Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-23qmk format-python - filter for Python files (#15271)Joel Challis
* qmk format-python filter all files * filter changed files too
2021-11-22Macros in JSON keymaps (#14374)Zach White
* macros in json keymaps * add advanced macro support to json * add a note about escaping macro strings * add simple examples * format json * add support for language specific keymap extras * switch to dictionaries instead of inline text for macros * use SS_TAP on the innermost tap keycode * add the new macro format to the schema * document the macro limit * add the json keyword for syntax highlighting * fix format that vscode screwed up * Update feature_macros.md * add tests for macros * change ding to beep * add json support for SENDSTRING_BELL * update doc based on feedback from sigprof * document host_layout * remove unused var * improve carriage return handling * support tab characters as well * Update docs/feature_macros.md Co-authored-by: Nick Brassel <nick@tzarc.org> * escape backslash characters * format * flake8 * Update quantum/quantum_keycodes.h Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-11-19Merge remote-tracking branch 'origin/master' into developDrashna Jael're
2021-11-18[CLI] `list-keymaps`/`list-layouts`: Check keyboard passed in (#15204)Ryan
* [CLI] `list-keymaps`/`list-layouts`: Check keyboard passed in * Update lib/python/qmk/cli/list/keymaps.py Co-authored-by: Joel Challis <git@zvecr.com> * Update lib/python/qmk/cli/list/layouts.py Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Joel Challis <git@zvecr.com>
2021-11-18[cli] Export list of `develop` PRs to be merged into `master` (#13944)Nick Brassel
* Add developer-only command for exporting the list of PRs associated with a merge to `develop`. * qmk pytest * Imports. * Remove dependencies from requirements file, manually handle. * Reduce complexity, qmk generate-api taking too long so relying on CI
2021-11-17Add diff logic to python format subcommand (#15156)Joel Challis
* Add diff logic to python format subcommand * Update test * Add in filter per format-c * fix tests * Update new workflow
2021-11-14Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-14Partially reinstate CI formatting process (#15155)Joel Challis
* Partially reinstate CI formatting process * Fix exit code on clean run * Fix exit code on clean run
2021-11-05Merge remote-tracking branch 'upstream/master' into developNick Brassel
2021-11-04Fixup actions. (#15057)Nick Brassel
2021-11-05CLI: Add 'cd' subcommand (#12584)Erovia
* CLI: Add 'cd' subcommand Go to your qmk_firmware dir with ease. * Fix for Windows and do not run if already under QMK Home * Make flake8 happy * Fix prompt for Windows * Make flake8 happy once again * I'll get it right eventually * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * Add subcommand to __init__.py and fixup after rebase * Update Windows code to use milc's run * Unify the subshell starting with os.execl * Exit with error msg when output is redirected to non-TTY. * Revert Windows-specific code Co-authored-by: Ryan <fauxpark@gmail.com>
2021-11-05Remove `BOOTMAGIC_ENABLE = lite` option (#15002)James Young
* remove BOOTMAGIC_ENABLE=lite setting * change keyboard BOOTMAGIC_ENABLE rules Edits keyboard-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keyboard BOOTMAGIC_ENABLE inline comments Edits keyboard-level BOOTMAGIC_ENABLE inline comments to "Enable Bootmagic Lite". * change keymap BOOTMAGIC_ENABLE rules Edits keymap-level instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. * change keymap BOOTMAGIC_ENABLE inline comments Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * change layout/user BOOTMAGIC_ENABLE rules/comments Edits instances of `BOOTMAGIC_ENABLE = lite` to `BOOTMAGIC_ENABLE = yes`. Edits/adds keymap-level BOOTMAGIC_ENABLE inline comments to read "Enable Bootmagic Lite". * update non-rules.mk BOOTMAGIC_ENABLE references in keyboards/ * remove docs references to Full Bootmagic * convert data-driven Bootmagic Lite instances * remove Bootmagic Lite bodge from data-driven generation * Merge remote-tracking branch 'upstream/develop' into rm/bootmagic-full_q4a * update docs/ja/config_options.md per mtei * update docs/faq_misc.md per mtei Remove remaining Full Bootmagic reference.
2021-11-04Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-05Refactor new-keyboard to be python3.7 compatible (#14707)Mikkel Jeppesen
* Use copy_tree from distutils for python 3.7 support * Bump python version in docs * Changed new-keyboard to use printf-style format strings * Use username for manunfacturer / maintainer * Update lib/python/qmk/cli/new/keyboard.py Co-authored-by: Zach White <skullydazed@drpepper.org> Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-11-05Map `PRODUCT` define to `keyboard_name` (#14372)Ryan
* Map `PRODUCT` define to `keyboard_name` * Fix tests * Fix last test
2021-11-04Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-11-05`qmk docs`: Run `docsify serve` if available (#15056)Ryan
2021-10-31Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-10-31[CLI] Fix broken layout rendering in `qmk info` by '\n' (#14970)Mateusz Ż
2021-10-18Split out HAPTIC_ENABLE to have separate DRIVER option (#14854)Joel Challis
* DRIVER -> ENABLE * Update generic_features.mk Co-authored-by: Ryan <fauxpark@gmail.com> * Update common_features.mk Co-authored-by: Ryan <fauxpark@gmail.com>
2021-10-18[Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)Stefan Kerkmann
* Add support for RISC-V builds and GD32VF103 MCU * Add toolchain selection in chibios.mk based on the mcu selected in mcu_selection.mk * Reorder and added comments to chibios.mk to have a streamlined makefile * Add GD32VF103 mcu to possible targets for QMK. * Add STM32 compatibility for GD32VF103 MCU, this is hacky but more efficent then rewriting every driver. * Add GigaDevice DFU bootloader as flash target, please note that dfu-util of at least version 0.10 is needed. * Add analog driver compatibility * Add apa102 bitbang driver compatibility * Add ws2812 bitbang driver compatibility * Add eeprom in flash emulation compatibility * Allow faster re-builds with ccache * Add SiPeed Longan Nano to platform files * Add SiPeed Longan Nano Onekeys * Make quine compatible with other bootloaders * Support builds with picolibc * Add risc-v toolchain to arch and debian/ubuntu scripts
2021-10-16Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-10-16Try to clarify "number of elements in info.json does not match" error (#14844)Ryan
2021-10-15Enable CLI flashing via mdloader (#14729)Joel Challis
* Enable CLI flashing via mdloader * remove flag * Update qmk flash help
2021-10-09Remove QWIIC_DRIVERS (#14174)Joel Challis
2021-10-04Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-10-04Allow community layouts to be specified in info.json (#14682)Zach White
* move the community layout detection to python * fixup tests
2021-09-30Change `MK66F18` -> `MK66FX1M0` (#14659)Ryan
2021-09-27Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-27Cleanup issues identified by lgtm (#14459)Zach White
* cleanup issues identified by lgtm * fix the git_status check