aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core
Commit message (Collapse)AuthorAgeFilesLines
* format code according to conventions [skip ci]QMK Bot2020-01-242-3/+2
|
* Add customisable EEPROM driver selection (#7274)Nick Brassel2020-01-247-48/+51
| | | | | | | | | - uprintf -> dprintf - Fix atsam "vendor" eeprom. - Bump Kinetis K20x to 64 bytes, too. - Rollback Kinetis to 32 bytes as partitioning can only be done once. Add warning about changing the value. - Change RAM-backed "fake" EEPROM implementations to match eeconfig's current usage. - Add 24LC128 by request.
* format code according to conventions [skip ci]QMK Bot2020-01-211-4/+4
|
* Fix lock LEDs for ChibiOS when using shared endpoints (#7877)fauxpark2020-01-211-15/+12
| | | | | | | | * Fix lock LEDs for ChibiOS when using shared endpoints * Tweak comments * Doesn't need to be uint16 anymore
* Remove tmk_core gitignore and gitmodulesfauxpark2020-01-192-13/+0
|
* Run clang-format manually to fix recently changed files (#7934)Joel Challis2020-01-191-1/+1
| | | | | | | | * Run clang-format manually to fix recently changed files * Run clang-format manually to fix recently changed files - revert template files * Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
* Move rgblight and backlight task to common location (#7733)Joel Challis2020-01-194-11/+10
|
* Implement and document TAPPING_FORCE_HOLD_PER_KEY (#7859)ridingqwerty2020-01-171-2/+11
| | | | | | | | | | * Implement and document TAPPING_FORCE_HOLD_PER_KEY * Added "record" parameter to "get_tapping_force_hold" * Correct typo -- remove 'IGNORE_' from 'IGNORE_TAPPING_FORCE_HOLD_PER_KEY' Co-authored-by: GeorgeKoenig <35542036+GeorgeKoenig@users.noreply.github.com>
* Cleanup check for PERMISSIVE_HOLD (#7861)Drashna Jaelre2020-01-171-1/+1
| | | | | | | | * Fix bug in PERMISSIVE_HOLD check caused by #5009 (aka, me) * Remove check for per key
* Remove `KEYMAP_SECTION_ENABLE` (#7882)fauxpark2020-01-174-551/+0
|
* chibios/usb_main: re-check USB status in send_keyboard after sleeping the ↵xyzz2020-01-131-7/+14
| | | | | | | | thread (#7784) * chibios/usb_main: re-check USB status in send_keyboard after sleeping the thread * change send_keyboard to only have 1 exit point
* Fix KEYBOARD_SHARED_EP on ChibiOS (#7860)Joel Challis2020-01-131-1/+1
|
* Add per-key IGNORE_MOD_TAP_INTERRUPT feature (#7838)zk-phi2020-01-101-2/+10
| | | | | | | | | | | * Implement IGNORE_MOD_TAP_INTERRUPT_PER_KEY - Add configurable option IGNORE_MOD_TAP_INTERRUPT_PER_KEY - Add function get_ignore_mod_tap_interrupt iff the option is enabled Unless IGNORE_MOD_TAP_INTERRUPT_PER_KEY is defined, this patch does not affect the resulting binary. * Add documentation for IGNORE_MOD_TAP_INTERRUPT_PER_KEY
* Move some common matrix code to a common location (#7699)Joel Challis2020-01-041-5/+2
| | | | | | | | | | * Move some common matrix code to a common location * Refactor some 'custom_matrix_helper' logic to use custom matrix lite * Fix build for kinesis/stapelberg - abuse of vpath was picking up matrix.c from core when custom matrix was enabled * Add validation for CUSTOM_MATRIX
* VIA Configurator Refactor (#7268)Wilba2020-01-032-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | * VIA Refactor * Remove old code * review changes * review changes * Fix cannonkeys/satisfaction75/prototype:via build * Add via.h to quantum.h * Move backlight init to after backlight config load * Merge branch 'master' into via_refactor_pr * Update user's rules.mk to new way of enabling VIA * Added id_switch_matrix_state * Review changes
* Fix typo in action.c (#7757)xyzz2020-01-021-1/+1
|
* Add central location for ChibiOS defines (#7542)Joel Challis2019-12-211-0/+24
| | | | | | | | | | * Add central location for chibios defines * Add central location for chibios defines - actually add files this time.... * Add Copyright header * Update include order to resolve i2cv1 build errors
* [Core] Optimize matrix processing (#7621)Drashna Jaelre2019-12-161-4/+5
| | | Backport of tmk/tmk_keyboard@ad6059adc7039a54d1db75da783068654906a679
* remove SERIAL_SOFT_DEBUG macro (#7625)Drashna Jaelre2019-12-131-2/+1
| | | | | | SERIAL_SOFT_DEBUG can be defined in the `config.h` Backported from tmk/tmk_keyboard@c74eee6327c5995456ba004d70b9663cf485d9f8 x
* Fix ChibiOS USB config for chips which support OTGv1 (#7564)Joel Challis2019-12-141-55/+69
| | | | | | | | | | * Align endpoint config as per rest of file (fixes #4783) * Add comments about explicit order use * Update tmk_core/protocol/chibios/usb_main.c Co-Authored-By: fauxpark <fauxpark@gmail.com>
* core: Fix build config in protocol.mk (#7620)Drashna Jaelre2019-12-131-14/+13
| | | Backports commits from tmk_keyboard
* Fix FORCE_NKRO handling (#7601)Joel Challis2019-12-111-0/+1
|
* Remove mbed files (#7605)Joel Challis2019-12-1112-498/+1
| | | | | | | | * Remove mbed files * Remove mbed files - fix comment * Remove mbed logic blocks
* Use `clock_prescale_set()` from avr-libc (#7540)fauxpark2019-12-111-5/+2
| | | | | | * Use `clock_prescale_set()` from avr-libc * Remove outdated FAQ info
* Set proper AVR part for USBasp avrdude flashing (#7552)fauxpark2019-12-071-1/+1
| | | | | | | | | | * Set proper AVR part for USBasp avrdude flashing * Remove `PROGRAM_CMD` stuff from rules.mk as they should not be needed anymore * Missed the Plaid readme * Remove PROGRAM_CMD from Mysterium
* Set proper ASCII character for KC_NUHS in iWRAP code (#7434)fauxpark2019-12-081-1/+1
|
* Remove vusb 'reset to bootloader' hid message due to security implications ↵Joel Challis2019-11-251-12/+1
| | | | (#7456)
* Remove CR when computing BOOTLOADER_SIZE. (#7453)a_p_u_r_o2019-11-242-2/+2
|
* Add 4-character aliases for sendstring keycodes (#7409)fauxpark2019-11-221-1/+0
| | | | | | | | * Add 4-character aliases for sendstring keycodes * Remove pointless mail keycode redefinition * Forgot brightness keycodes
* Run clang-format manually to fix recently changed fileszvecr2019-11-178-19/+22
|
* Add support for configurable polling interval and power usage o… (#7336)fauxpark2019-11-151-3/+12
| | | | | | * Add support for custom polling interval and power usage on V-USB boards * Use 1ms as default for now
* Fix chibios when mouse and nkro disabled (#7312)Joel Challis2019-11-101-16/+6
|
* Fix LAYER_STATE_8BIT compile issues (#7304)Joel Challis2019-11-083-3/+3
|
* Support RGBLIGHT_SLEEP when ChibiOS boards suspend (#7280)Jonathan Rascher2019-11-081-0/+26
| | | | Copypasta from the AVR suspend implementation with a Teensy-specific hack removed
* ARM - ws2812 bitbang (#7173)Joel Challis2019-11-071-0/+8
| | | | | | | | | | | | | | | | | | | | * Initial ARM bitbang ws2812 driver * Unify chibios platform to run rgblight_task * Remove 'avr only' comments from ws2812 docs * Remove 'avr only' comments from ws2812 docs * Unify chibios platform to run rgblight_task - review comments * Remove debug flags from keymap * Add comments from review * Add defines for STM32L0XX * Attempt to get arm ws2812 working on multiple gcc versions
* New and improved lock LED callbacks (#7215)fauxpark2019-11-063-0/+21
| | | | | | | | | | * New and improved lock LED callbacks * Include stdbool * Update documentation * Use full function signatures and add keyboard-level example
* Un-clang-format usb_descriptor.h (#7216)fauxpark2019-11-041-347/+701
| | | Preserves readability of the file, making it easier to understand and modify.
* Fixes #7256: USB descriptor to identify correctly as MIDI device. (#7258)Christopher2019-11-051-1/+1
|
* [Core] Add short form LTO_ENABLE (#7259)Drashna Jaelre2019-11-041-0/+3
| | | For drashna's sanity's sake
* rgblight_task logic fixes (#7214)Joel Challis2019-10-302-3/+3
|
* Refactor ps2avrgb i2c ws2812 to core (#7183)Joel Challis2019-10-291-0/+9
| | | | | | | | | | | | | | | | | | | | * Refactor ps2avrgb i2c ws2812 to core * Refactor jj40 to use ws2812 i2c driver * Refactor ps2avrgb template to use ws2812 i2c driver * Add ws2812 stub files * clang-format and driver config * Add ws2812 driver docs * Fix default config values * Update tmk_core/protocol/vusb/main.c Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Move tmk_core/common/backlight to quantum/backlight (#6710)Joel Challis2019-10-178-265/+19
| | | | | | | | | | | | * Move tmk_core/common/backlight to quantum/backlight * Add guards to backlight inclusion * Add guards to backlight inclusion * Update backlight guards on clueboard/60 * Use full paths to avoid vpath issues
* Fix bug in `do_code16()` (#6935)fauxpark2019-10-162-4/+28
| | | | | | * Fix bug in `do_code16()` * Remove qk_ mods functions
* Add binary support to tinyprintf (#7024)Joel Challis2019-10-151-0/+9
|
* Port DEBUG_MATRIX_SCAN_RATE to core (#7029)Joel Challis2019-10-151-0/+24
| | | | | | | | | | * Port DEBUG_MATRIX_SCAN_RATE to core * Remove duplicate DEBUG_MATRIX_SCAN_RATE implementations * Remove duplicate DEBUG_MATRIX_SCAN_RATE implementation from handwired/xealous * Add console logic from ergodox_ez
* Reorder Raw HID interface to match what the USB spec expects (#6801)fauxpark2019-10-082-18/+18
|
* ARM - Initial backlight support (#6487)Joel Challis2019-10-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move AVR backlight to own file, add borrowed ARM implementation * Tiny fix for backlight custom logic * Remove duplicate board from rebase * Fix f303 onekey example * clang-format * clang-format * Remove backlight keymap debug * Initial pass of ARM backlight docs * Initial pass of ARM backlight docs - resolve todos * fix rules validation logic * Add f072 warning * Add f072 warning * tidy up breathing in backlight keymap * tidy up breathing in backlight keymap * add missing break to backlight keymap
* Wrap util.h functions in `extern "C"` (#6762)fauxpark2019-10-041-0/+8
|
* ARM split - Add support for dfu-util EE_HANDS flashing (#6543)Joel Challis2019-09-272-0/+25
| | | | | | | | | | | | * Initial stab at some fake dfu-util-split-left behaviour * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com> * Clang format fixes * Fake eeprom init for both left and right hand
* ARM split - Add bootmagic/magic keycodes for setting handedness (#6545)Joel Challis2019-09-244-2/+34
| | | | | | | | | | * Add docs on bootmagic/magic keycodes for setting handedness * Clang format fixes * Maintain backwards compatibility * Maintain backwards compatibility