summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-03Reduce PROGMEM usage for sendstring LUT (#8109)Ted M Lin
* Reduce PROGMEM usage for keycode map Bit-pack the keycode bool array to gain back a small amount of flash space. The trade-off is an increase in runtime instructions when running macros. It does make the code a bit harder to read, as well as maintain. For configs that use send_string() et al, it saves ~100 bytes. * Switch to macro and common definition Rewrite the array declarations so both the unpacked (original) and packed LUT arrays can use the same value definitions. This is done by defining a macro that "knows what to do". This makes the code much easier to read and maintain. * Fix macro typos and improve perf Pack the bits in a more efficient order for extraction. And also fix the copy/paste error in the macro... * Switch fully to packed LUT Some minor reformatting. Compile tested all sendstring_xyz.h to make sure they were converted properly. Also checked that an unconverted version would generate a compile error. * Apply whitespace suggestions from code review Co-Authored-By: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-03-01[Docs] Update ISP Flashing guide (#8149)Drashna Jaelre
* [Docs] Update ISP Flashing guide * Apply suggestions from code review AKA why you shouldn't write docs at 2am Co-Authored-By: fauxpark <fauxpark@gmail.com> Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com> * Update workding for planck-qmk-dfu Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
2020-03-02Rewrite the Bathroom Epiphanies Frosty Flake matrix and LED handling (#8243)Dustin L. Howett
* Keyboard: revamp frosty-flake leds This commit transitions bpiphany/frosty_flake to led_update_{kb,user} and rewrites the AVR bit twiddling logic to use the standard QMK GPIO API. * Keyboard: rewrite frosty_flake's matrix reader to be a lite custom matrix This commit replaces frosty_flake's custom matrix and debounce logic with a "lite" custom matrix. In addition to being somewhat clearer, this allows a consumer of the flake board to choose their own debouncing algorithm. The one closest to the implementation originally in use is sym_g, but this opens us up to supporting eager_pk and eager_pr. The original matrix code was 18 columns for 8 rows, but using a single row read and unpacking the bits into individual columns. To simplify, I've changed the key layout to be 8C 18R instead of 18C 8R: this lets us use a single read directly into the matrix _and_ drop down to a uint8_t instead of a uint32_t for matrix_row_t. Since we're no longer implementing our own debouncing and row unpacking, we save ~400 bytes on the final firmware image. Fully tested against a CM Storm QFR hosting the flake -- this commit message was written using the new matrix code. Firmware Sizes (assuming stock configuration as of 42d6270f2) Matrix+Debounce Size (bytes) --------------- ------------ original 17740 new + sym_g 17284 new + eager_pr 18106 new + eager_pk 18204 I expect that there are some scanning speed benefits as well. * Keyboard: update frosty_flake's UNUSED_PINS * Keyboard: Remove meaningless weak redefinitions from frosty These are not necessary (and all of them already live somewhere in Quantum).
2020-03-01Add onekey keymap for testing reset to bootloader. (#8288)Nick Brassel
2020-03-01Get the direction right on the S75 encoder (#8287)Andrew Kannan
2020-03-01Prune out pure software pwm && custom driver && remove wrapping ↵Joel Challis
BACKLIGHT_PIN (#8041)
2020-03-02Make a fix to savage65 and tmov2 for via (#8286)Andrew Kannan
2020-03-01format code according to conventions [skip ci]QMK Bot
2020-03-02Short term fix for conflicting types for 'tfp_printf' (#8157)Joel Challis
2020-03-01Fix recent clang-format breaking quantum.c (#8282)Joel Challis
2020-03-01format code according to conventions [skip ci]QMK Bot
2020-03-01Remove duplicate BRTG case (#8277)Ryan
2020-03-01Clean up includes for glcdfont headers (#7745)Ryan
* Clean up includes for glcdfont headers * Remove pragma once, most of these are not headers * Missed these
2020-02-29Fix the Breaking Changes doc againJames Young
WHAT YEAR IS IT?!
2020-02-29[Docs] translated 'feature_tap_dance.md' to japanese. (#8137)s-show
* complete translation. * Update docs/ja/feature_tap_dance.md Update the file based on the suggestions. * Update docs/ja/feature_tap_dance.md Update the file based on the suggestions. * Apply suggestions from code review Update the file based on the suggestions. * Apply suggestions from code review Update the file based on the suggestions (Part 2). * Apply suggestions from code review Update the file based on the suggestions (Part 3). * Apply suggestions from code review Update the file based on the suggestions (Part 3). * Apply suggestions from code review Update the file based on the suggestions (Part 4). * Apply suggestions from code review Update the file based on the suggestions (Part 5). ご提案いただいた修正案は全て確認できました。 続いて、コメント行の調整、「打つ・叩く」の変更、その他の修正を行います。 * fixed typo. * Update the file based on the suggestions (Part 6). * Update the file based on the suggestions (Part 7). * Fixed sentence. * Update docs/ja/feature_tap_dance.md Update the file based on the suggestions (Part 8). * Update the file based on the suggestions (Part 9). Co-Authored-By: Takeshi ISHII <2170248+mtei@users.noreply.github.com> Co-Authored-By: shela <shelaf@users.noreply.github.com>
2020-03-01PWM DMA based RGB Underglow for STM32 (#7928)Joel Challis
* Add pwm ws2812 driver * Add docs for pwm ws2812 driver * Update ws2812_pwm for ChibiOS 19 Co-Authored-By: Nick Brassel <nick@tzarc.org> Co-authored-by: Nick Brassel <nick@tzarc.org>
2020-02-29Add VIA support to Prime_M. Clean up all files (#8247)holtenc
* Add VIA support for Prime_L * Update keyboards/primekb/prime_l/v1/config.h * Add prime_exl_plus keyboard * Temporary removal of prime_exl_plus * Add Prime_EXL Plus, including VIA support * Update keyboards/handwired/prime_exl_plus/readme.md * Update keyboards/handwired/prime_exl_plus/readme.md * Update keyboards/handwired/prime_exl_plus/readme.md * Update keyboards/handwired/prime_exl_plus/rules.mk * Update keyboards/handwired/prime_exl_plus/info.json * Update keyboards/handwired/prime_exl_plus/info.json * Update keyboards/handwired/prime_exl_plus/info.json * Update keymap.c * correct spacing of keymaps and layout macro. move indicator logic from user space to keyboard space * further corrections to keymaps and layout macro. * Update keyboards/handwired/prime_exl_plus/prime_exl_plus.c * Update keyboards/handwired/prime_exl_plus/prime_exl_plus.c * Update keyboards/handwired/prime_exl_plus/prime_exl_plus.c * Update keyboards/handwired/prime_exl_plus/prime_exl_plus.c * Update prime_exl_plus.c * small edit to prime_exl_plus.c * Add via support to Prime_M and clean things up * Update rules.mk * Update keyboards/primekb/prime_m/readme.md * Update keyboards/primekb/prime_m/readme.md * Update keyboards/primekb/prime_m/config.h
2020-03-01Track master branches for lib/chibios, lib/chibios-contrib, lib/ugfx. (#8273)Nick Brassel
2020-03-01Allow for ChibiOS 20.x (master), as well as enabling ChibiOS-Contrib HAL. ↵Nick Brassel
(#8272)
2020-03-01Use nano specs (#8270)Joel Challis
2020-03-01Unconditionally enable ChibiOS syscalls (#8268)Joel Challis
* Enable syscalls all the time * fix whitespace
2020-02-29Breaking Changes documentation fixesJames Young
2020-02-292020 February 29 Breaking Changes Update (#8064)James Young
2020-02-27Update Breaking Changes checklistJames Young
2020-02-27Update Breaking Changes timelineJames Young
I've been working from one timeline while the docs said something different.
2020-02-27Fix MCU rule for Wete (#8254)James Young
Including the `xB` suffix prevents qmk_compiler (and thus QMK Configurator) from compiling firmware for the Wete. Rolling this change back until we work out a long-term solution for the suffixes.
2020-02-27Add support for delays in send_string. (#8244)Nick Brassel
2020-02-27Add community layout support to KBD67 MKIIRGB v2 (#8249)Brandon Schlack
2020-02-26Fixed OS detection such that OSX doesn't take over the world (#8248)Mikkel Jeppesen
2020-02-25[Keyboard] Add Prime_EXL Plus to handwired (#8238)holtenc
* Add VIA support for Prime_L * Update keyboards/primekb/prime_l/v1/config.h * Add prime_exl_plus keyboard * Temporary removal of prime_exl_plus * Add Prime_EXL Plus, including VIA support * Update keyboards/handwired/prime_exl_plus/readme.md * Update keyboards/handwired/prime_exl_plus/readme.md * Update keyboards/handwired/prime_exl_plus/readme.md * Update keyboards/handwired/prime_exl_plus/rules.mk * Update keyboards/handwired/prime_exl_plus/info.json * Update keyboards/handwired/prime_exl_plus/info.json * Update keyboards/handwired/prime_exl_plus/info.json * Update keymap.c * correct spacing of keymaps and layout macro. move indicator logic from user space to keyboard space * further corrections to keymaps and layout macro. * Update keyboards/handwired/prime_exl_plus/prime_exl_plus.c * Update keyboards/handwired/prime_exl_plus/prime_exl_plus.c * Update keyboards/handwired/prime_exl_plus/prime_exl_plus.c * Update keyboards/handwired/prime_exl_plus/prime_exl_plus.c * Update prime_exl_plus.c * small edit to prime_exl_plus.c
2020-02-25format code according to conventions [skip ci]QMK Bot
2020-02-25New feature: PERMISSIVE_HOLD_PER_KEY (#7994)ridingqwerty
* Implement 'PERMISSIVE_HOLD_PER_KEY' * Document 'PERMISSIVE_HOLD_PER_KEY' Co-authored-by: GeorgeKoenig <35542036+GeorgeKoenig@users.noreply.github.com>
2020-02-25Split - Avoid race condition during matrix_init_quantum (#8235)Joel Challis
* Avoid race condition during matrix_init_quantum * spelling is hard
2020-02-25Acheron VIA support (#8204)Joel Challis
* Update acheron USB IDs * Add shark via keymap * Update austin via keymap * Fix eeprom build error * 3 layers fit
2020-02-25`send_unicode_string()`: Add support for code points > 0xFFFF (#8236)Ryan
2020-02-24[Keyboard] Add Wete (#8229)Ramon Imbao
* [Keyboard] Add Wete * Fix width and height in Wete info.json * Use default board files, core backlight, and disable RTC * Disable I2C, SPI. Minor corrections * Keymap typo update * Add LAYOUT_all to info.json * Remove extra spaces in README, delete matrix_*_kb functions * Fix layout errors in wete.h, and some minor corrections * Actually fix LAYOUT_all in info.json
2020-02-25Improvements to extrakey HID descriptors (#8156)Ryan
2020-02-24Hineybush h87a lock indicators (#8237)MechMerlin
* move lighting code from VIA into the keyboard's .c file so that every keymap can access it * after some serious conversations with default and wkl, they agreed to let me modify their keymaps. They weren't too happy
2020-02-24Add VIA support for Prime_L (#8233)holtenc
* Add VIA support for Prime_L * Update keyboards/primekb/prime_l/v1/config.h Co-Authored-By: Drashna Jaelre <drashna@live.com> * Add prime_exl_plus keyboard * Temporary removal of prime_exl_plus Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-02-24Hub16 - Bug removal + clean up code (#8227)Josh Johnson
* bugfixes + cleaned up code * typo * Update keyboards/hub16/keymaps/no_mod/keymap.c Co-Authored-By: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
2020-02-23[Keyboard] ai03 Equinox (#8224)ai03
Re-attempt to add Equinox with newer Via changes * Add nox * Tweak based on previous pullrequests * Add necessary descriptions * Modernize Via config * Modernize old files with massive blocks of unneeded options * Fix missing bootmagic * Update keyboards/ai03/equinox/equinox.h * Update keyboards/ai03/equinox/keymaps/default/keymap.c * Update keyboards/ai03/equinox/keymaps/via/keymap.c * Update keyboards/ai03/equinox/keymaps/via/readme.md * Update keyboards/ai03/equinox/readme.md * Update keyboards/ai03/equinox/readme.md * Update keyboards/ai03/equinox/readme.md * Update keyboards/ai03/equinox/info.json * Update keyboards/ai03/equinox/keymaps/default/keymap.c * Update keyboards/ai03/equinox/keymaps/default/keymap.c * Update keyboards/ai03/equinox/keymaps/proto_via/keymap.c * Update keyboards/ai03/equinox/keymaps/proto_via/keymap.c * Update keyboards/ai03/equinox/keymaps/proto_via/keymap.c * Update keyboards/ai03/equinox/keymaps/proto_via/keymap.c * Update keyboards/ai03/equinox/keymaps/via/keymap.c * Update keyboards/ai03/equinox/keymaps/via/keymap.c * Update keyboards/ai03/equinox/keymaps/via/keymap.c * Fix indents * Update keyboards/ai03/equinox/keymaps/proto_via/rules.mk * Update keyboards/ai03/equinox/rules.mk
2020-02-24[Keyboard] Add zfrontier/big_switch (#8205)carlxia
* add zfrontier/big_switch * Update keyboards/zfrontier/big_switch/config.h Co-Authored-By: Ryan <fauxpark@gmail.com> * Update keyboards/zfrontier/big_switch/config.h Co-Authored-By: Ryan <fauxpark@gmail.com> * Update keyboards/zfrontier/big_switch/keymaps/longtap/keymap.c Co-Authored-By: Ryan <fauxpark@gmail.com> * add overriding keymap makefile * Update keyboards/zfrontier/big_switch/keymaps/longtap/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/zfrontier/big_switch/keymaps/default/keymap.c Co-Authored-By: Drashna Jaelre <drashna@live.com> * remove redundant defines * taplong no longer needed Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-02-24Gingham Update (#8225)yiancar
2020-02-24A proper `send_string()` for the Unicode feature (#8155)Ryan
2020-02-24Rollback PR #7967 in preference of fixing I2C start/stop properly, in a ↵Nick Brassel
followup PR. (#8173)
2020-02-23Add mouse support to SEND_STRING (#8223)Joel Challis
* Add mouse support to SEND_STRING * add short forms
2020-02-23Add link to "Useful functions" in macro docs (#7446)Jez Cope
* Add link to "Useful functions" in macro docs Help people find additional features they can activate within a macro * Update docs/feature_macros.md Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-authored-by: skullydazed <skullydazed@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
2020-02-22New functionality for cformat (#7893)Akaash Suresh
Fixing complexity remove lambda PR review fixes #1 Removing unneccesary string substitution Handle -a and specified files Complexity rewrite, use pathlib
2020-02-22Update main.c (#8198)yiancar
2020-02-22format code according to conventions [skip ci]QMK Bot