summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* [Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)Stefan Kerkmann2021-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* 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
| |
* | Enable CLI flashing via mdloader (#14729)Joel Challis2021-10-151-5/+9
| | | | | | | | | | | | | | * Enable CLI flashing via mdloader * remove flag * Update qmk flash help
* | Remove QWIIC_DRIVERS (#14174)Joel Challis2021-10-091-1/+1
| |
* | Purge uGFX. (#14720)Nick Brassel2021-10-071-0/+0
| | | | | | | | | | | | | | * Purge uGFX. * Remove remnants of visualizer. * Remove remnants of uGFX.
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-043-1/+20
|\|
| * Allow community layouts to be specified in info.json (#14682)Zach White2021-10-043-1/+20
| | | | | | | | | | * move the community layout detection to python * fixup tests
* | Change `MK66F18` -> `MK66FX1M0` (#14659)Ryan2021-09-301-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-09-278-19/+18
|\|
| * Cleanup issues identified by lgtm (#14459)Zach White2021-09-278-19/+18
| | | | | | | | | | * cleanup issues identified by lgtm * fix the git_status check
* | compiledb: query include paths from gcc directly. (#14462)Nick Brassel2021-09-201-2/+12
| | | | | | | | | | | | | | | | | | * Query include paths from gcc directly. * Change to -isystem * qmk format-python * tests
* | New CLI subcommand to create clang-compatible compilation database ↵Bao2021-09-163-4/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (`compile_commands.json`) (#14370) * pulled source from dev branch * missed a file from origin * formatting * revised argument names. relaxed matching rules to work for avr too * add docstrings * added docs. tightened up regex * remove unused imports * cleaning up command file. use existing qmk dir constant * rename parser library file * move lib functions into command file. there are only 2 and they aren't large * currently debugging... * more robustly find config * updated docs * remove unused imports * reuse make executable from the main make command * pulled source from dev branch * missed a file from origin * formatting * revised argument names. relaxed matching rules to work for avr too * add docstrings * added docs. tightened up regex * remove unused imports * cleaning up command file. use existing qmk dir constant * rename parser library file * move lib functions into command file. there are only 2 and they aren't large * currently debugging... * more robustly find config * updated docs * remove unused imports * reuse make executable from the main make command * remove MAKEFLAGS from environment for better control over process management * Update .gitignore Co-authored-by: Michael Forster <forster@google.com> * add a usage line to docs * doc change as suggested Co-authored-by: Nick Brassel <nick@tzarc.org> * rename command * remove debug print statements * generate-compilation-database: fix arg handling * generate-comilation-db: improve error handling * use cli.run() instead of Popen() Co-authored-by: Xton <cdewan@apple.com> Co-authored-by: Christon DeWan <cmdpix@mac.com> Co-authored-by: Michael Forster <forster@google.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Update ChibiOS-Contrib (#14419)Nick Brassel2021-09-131-0/+0
| |
* | Update ChibiOS-Contrib (#14408)Nick Brassel2021-09-131-0/+0
| |
* | Merge remote-tracking branch 'upstream/master' into developfauxpark2021-09-121-1/+0
|\|
| * Remove width, height and key_count from info.json (#14274)Ryan2021-09-121-1/+0
| |
| * Change USBasp and bootloadHID bootloaders to lowercase (#14354)Ryan2021-09-101-2/+2
| |
* | Remove bin/qmk (#14231)Zach White2021-08-295-7/+6
| | | | | | | | | | * Remove the bin/qmk script * remove bin/qmk from workflows
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-08-291-1/+7
|\|
| * ensure that the directory for sys.executable is in the user's path (#14229)Zach White2021-08-291-1/+7
| |
* | 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
|/
* 2021Q3 pre-merge `develop` changelog, keyboard aliases (#14198)Nick Brassel2021-08-291-0/+0
| | | | | | | | | | | | | * Initial changelog. * Data driven. * Submodule update. * Updated breaking changes docs. * Aliases. * Aliases.
* 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
* | Move USB Host Shield and Arduino core to `lib/` (#13973)Ryan2021-08-18181-0/+42435
| |
* | `--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>
* | Update ChibiOS-Contrib, mirroring script. (#13896)Nick Brassel2021-08-061-0/+0
| |
* | Bump gtest (#13885)Joel Challis2021-08-051-0/+0
| | | | | | | | | | * Bump gtest * Pin to latest release
* | Update LUFA Submodule (2021-07-30) (#13819)Drashna Jaelre2021-07-311-0/+0
| |
* | [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