summaryrefslogtreecommitdiffstats
path: root/tmk_core
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixing wrapping math logic for timer_expired functions (#6746)XScorpion22019-09-231-2/+2
|
* Actually use correct bootloader not found message (#6695)Drashna Jaelre2019-09-082-3/+3
|
* Move Bootloader not found message to global variable (#6688)Drashna Jaelre2019-09-082-3/+3
| | | | | | | | * Move Bootloader not found message to global variable * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Adafruit BLE: Set SPI2X bit only when F_CPU is 8MHz (#6671)fauxpark2019-09-071-2/+3
|
* Banish some more magic numbers (#6662)fauxpark2019-09-072-19/+13
|
* Make USB polling rate configurable with a define (#6668)fauxpark2019-09-061-3/+7
|
* Fix battery level code in adafruit_ble.cpp (#6648)bwhelm2019-09-042-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix battery level code in adafruit_ble.cpp The code in tsk_core/protocol/lufa/adafluit_ble.cpp that polls the battery level for the Adafruit feather BLE controller reads the regulated voltage, not the raw voltage coming from the battery. To do that, the Adafruit Feather docs say you should read from pin A9: https://learn.adafruit.com/adafruit-feather-32u4-basic-proto/power-management#measuring-battery-4-9. (See also https://learn.adafruit.com/adafruit-feather-32u4-bluefruit-le/pinouts#logic-pins-2-9.) I'm not sure why, but analogRead(9); doesn't read the correct pin. Checking all available analog pins experimentally, it turns out that analogRead(7); returns the correct value. So the code above should read: state.vbat = analogRead(7); * Update tmk_core/protocol/lufa/adafruit_ble.cpp Co-Authored-By: Drashna Jaelre <drashna@live.com> * Remove old comment * Fix linking error * Remove `#ifdef` around `#include analog.h`. * Really fix linking error
* clang-format changesskullY2019-08-30229-18026/+15513
|
* Fix the LUFA lib to use a submodule instead of just files (#6245)Drashna Jaelre2019-08-301-11/+15
| | | | | | | | | | | | * Remove LUFA files * Update descriptions for newer version of LUFA * Create PR6245.md * Fix CDC(Serial) type errors * Fix missed merge conflict for AUDIO_DTYPE_CSInterface
* Fix vusb compiling after clang-formatskullY2019-08-301-0/+2
|
* Have clang ignore the code in bootloader_size.cskullY2019-08-301-1/+2
|
* LUFA USB descriptor cleanup (#4871)fauxpark2019-08-302-875/+875
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix indentation * Fix braces * Expand descriptor headers * Align descriptor elements * Nicer formatting * Tidy up preprocessor statements * Remove VERSION_BCD redefine - LUFA_VERSION_INTEGER is currently 0x170418 * Tidy up comments * Tweak ordering of HID report elements (no functional changes) * We don't need all of these newlines * Move default USB_MAX_POWER_CONSUMPTION closer to where it makes sense * Ask nicely * Add some more comments * Change indentation back to 4 spaces * Add changelog entry
* Decrement EECONFIG magic numberDrashna Jaelre2019-08-271-1/+3
| | | | | This will manually wipe the EEPROM. This is a hacky solution for when new ranges are added or moved around. A better (more complicated) solution would be to zero out everything, not just known ranges. But for now, this is a hacky solution that will work.
* Fix Typo in :flash target for missing bootloader (#6615)Drashna Jaelre2019-08-261-1/+1
|
* Added OLED Display autoscroll during periods of OLED data inactivity (#6546)XScorpion22019-08-252-4/+14
| | | | | | | | * Added OLED Display autoscroll during periods of OLED data inactivity. * Fixing compile errors * Feedback from review
* Add 'bootloadHID' flash target (#5587)Joel Challis2019-08-241-0/+15
| | | | | | | | | | | | | | * Add 'bootloadHID' flash target * Prep for flash target * Add :flash support * Align bootloader wait messages Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update template to suggest use of :flash
* Align flashing behaviour of dfu-util (#6578)Joel Challis2019-08-221-16/+6
| | | | | | | | * Align flashing retry logic of dfu-util * Align bootloader wait messages Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Additional changes for Layer State typedef compatibility (#5906)Drashna Jaelre2019-08-211-1/+4
| | | | | | | | | | | | | | | | * Additional changes for Layer State typedef compatibility * Replace biton32 with get_highest_layer in docs * Change additional layer structure code * Fix uGFX reference issue * Remove dynamic_keymap check * Where did all these extra spaces come from Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Added keycodes for swapping and unswapping the Control and OS keys (#6110)Stephen Wanhella2019-08-213-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add MAGIC_SWAP_CONTROL_LGUI and MAGIC_UNSWAP_CONTROL_LGUI keycodes Key codes to swap and unswap the control and windows/cmd keys * Fix issues with pull request #6110 Renamed swap/unswap lctl and lgui key codes, added key codes to swap/unswap rctl and rgui, and moved new bool inside keycode_config.h struct to the end * Move new keycodes to the end of the enum (#6110) * add cases for swapped control and OS keys to mod_config (#6110) * Add new keycodes to feature_bootmagic.md (#6110) * Add R+L swap codes to keep in parity with AG_* codes * Extend Magic range check to include new magic codes * Update audio docs * Combine 2 byte ranges into 1 word for EECONFG Fix names for Keymap config EEPROM * Update docs/feature_bootmagic.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/feature_bootmagic.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/feature_bootmagic.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update docs/feature_bootmagic.md Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Remove superfluous JTAG disable code (#6445)fauxpark2019-08-202-4/+9
| | | | | | | | | | | | | | | | | | * Remove superfluous JTAG disable code * 32A has differently named register * Accidentally some operators * 32A also has different JTAG pins * Wrap disable_jtag() in an ifndef * Document this new define * Rename the define, it conflicts with a LUFA thing Also, move the ifndef wrapping to the call in keyboard_setup()
* Add a universal flash command for cli (#6224)Drashna Jaelre2019-08-204-44/+81
| | | | | | | | | | | | | | | | | | | | * Add universal flash command * Add bootloader info to I:C boards * Add support for ATSAM * Add messages for flash target * Message cleanup * Add USB ASP Flashing target * Make usbasp target more universal * Add phoney target for usbasp * Clarify error message when bootloader isn't matched
* Fix LT() crashing some ARM keyboards (#6529)Joel Challis2019-08-131-2/+2
|
* Extend allowed range of tappable keycodes to include modifiers (#5809)fauxpark2019-08-082-16/+25
| | | | | | | | | | | | * Extend allowed range of tappable keycodes to include modifiers * Get rid of the magic numbers altogether * Remove some more magic numbers * Extract LM() functionality from ACT_LAYER_TAP * Use ACTION() macro everywhere
* Removed print call to resolve #6364 (#6413)Jake Grossman2019-07-311-2/+2
| | | | | | | | * Change print to dprintf to avoid buffer overflow * Add stdio header for dprintf * Fix included headers
* Add support for TAP_CODE_DELAY to Hold-Tap keys (#5400)Drashna Jaelre2019-07-221-7/+12
| | | | | | * Add support for TAP_CODE_DELAY to Hold-Tap keys * Better handling for tap code delay and caps version
* Update IS_COMMAND definitions to use MOD_MASK_SHIFT (#6348)Konstantin Đorđević2019-07-201-1/+1
| | | | | | | | | | | | * Update IS_COMMAND definition in templates to use MOD_MASK_SHIFT * Update IS_COMMAND in docs * Update IS_COMMAND default definition in tmk_core * Update table in Command docs based on suggestion Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Extend maximum number of backlight levels to 31 (#6351)fauxpark2019-07-161-3/+4
|
* Expand bootloader target to support most AVR boards (#6255)Drashna Jaelre2019-07-161-1/+5
| | | | | | | | * Update the :bootloader target to pass along correct hardware info * Update make scripts to properly grab the settings (a big thanks to @yanfali) * Remove LUFA debug warnings
* Make Caps Lock delay more reasonable (#6199)Drashna Jaelre2019-07-161-1/+1
| | | | | | | | | | | | | | * Make Caps Lock delay more reasonable * Update documentation * Update docs/config_options.md Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com> * Update docs/config_options.md Co-Authored-By: Konstantin Đorđević <vomindoraan@gmail.com>
* Store backlight breathing state in EEPROM (#6105)fauxpark2019-07-162-3/+71
| | | | | | | | | | | | * Store backlight breathing state in EEPROM * Reduce backlight_config.level from 6 bits to 4 (max 15 "on" levels) * Error out if BACKLIGHT_LEVELS is > 15 * Remove mention of default backlight pin in rules.mk template * Remove pointless comment
* Adding rgb matrix speed into eeprom storage. (#5965)XScorpion22019-07-162-4/+5
| | | | | | | | | | | | | | | | | Zeroing out spd in eeconfig_init_quantum Switched to block read & update Update tmk_core/common/eeconfig.h Co-Authored-By: Drashna Jaelre <drashna@live.com> Fixing init compile error Update eeconfig.c Dead / Missing API cleanup alignment
* Skip unsupported firmware check message in silent mode (#5765)Drashna Jaelre2019-07-151-1/+1
|
* add 'objs-size' target into tmk_core/avr.mk (#5490)Takeshi ISHII2019-07-151-0/+3
|
* Usbasploader bootloader option addition (#6304)yiancar2019-07-152-34/+47
| | | | | | | | | | | | | | | | | | | | | | * Added USBasp bootloader option for USBasploader * author comment * ifdef fix :) * Add usbasp target * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com> * Update docs/flashing.md Co-Authored-By: fauxpark <fauxpark@gmail.com>
* Display firmware size percentage (#6307)fauxpark2019-07-111-0/+1
|
* Fix chibios so the dfu-suffix is only applied once. (#6270)skullydazed2019-07-072-6/+8
|
* Fixes compile errors for massdrop keyboardsChris Dosé2019-06-031-2/+1
|
* Copy avr teensy flash logic to arm (#6016)zvecr2019-05-301-0/+13
|
* Fix TO() and DF() calling layer_state_set_[kb,user] twice (#6003)fauxpark2019-05-291-2/+2
|
* Fix bit count calculation for iterating layersRyan Caltabiano2019-05-181-1/+1
|
* Typedef'ed layer_state_t to uint32_t (#3637)Alex Ong2019-05-175-40/+48
| | | | | | | | | | | | | | | | | | | | * Typedef'ed layer_state_t to uint32_t. This enables future work with layer_state_t to uint8_t for optimization purposes. * Removed accidental xeal60 commit * Revert to egyptian brackets, added sizeof(layer_state_t) so when layer_state_t is redefined it will automagically work. * Add additional typedefs * Add checks for setting layer state * Update tmk_core/common/action_layer.h Co-Authored-By: alex-ong <the.onga@gmail.com> * Revert commit.
* Make delay for Capslock in Hold-Tap functions configurable (#5497)Drashna Jaelre2019-05-161-1/+9
| | | | | | | | * Increase delay for Hold-Tap register for CAPSLOCK Because it seems that the 80ms delay wasn't too much * Screw it, make the caps delay a define and make it configurable
* Cleanup/rgb matrix (#5811)XScorpion22019-05-101-3/+0
| | | | | | | | | | | | | | | | | | | | | | * clean up rgb matrix extern usage Moved rgb matrix boiler plate into macros Rebased onto typing heatmap pr * Fixing the reversed frame buffer access in digital rain * Fixing digital rain & typing heatmap if keyreactive effects are not enabled * Apply suggestions from code review Co-Authored-By: Drashna Jaelre <drashna@live.com> * Adding parenthesizes to DRIVER_LED_TOTAL where necessary * Updated docs * added notes about parentheses
* rgb_led struct conversion (aka: Per led (key) type rgb matrix effects - part ↵XScorpion22019-05-071-4/+5
| | | | | | | | | | | | | | | | 2) (#5783) * Initial conversion of the rgb_led struct * Converting last keyboard & updating effects to take advantage of the new structure * New struct should not be const * Updated docs * Changing define ___ for no led to NO_LED * Missed converting some keymap usages of the old struct layout
* [Keyboard] Sol keyboard conversion to split common (#5773)XScorpion22019-05-061-0/+19
| | | | | | | | | | | | | | | | | | | | | | * Split common conversion * Updated serial and encoder pins * Fixing default folder until r2 * Fixing oled driver on slave split common * Fixing keymap compile errors * Fixing oled inactivity timer on slave split common * Hoisted oled driver task, init, & activity to keyboard.c * Update keyboards/sol/config.h Co-Authored-By: XScorpion2 <rcalt2vt@gmail.com> * Remove TAPPING_FORCE_HOLD
* Re-fix Mousekey Movements (#5740)Drashna Jaelre2019-05-061-0/+4
| | | | | | | | | | * Re-fix Mousekey Movements After the new movement model was instroduced, it broke diagonal momement, again. Reapplying fix from #3147 to both old and new acceleration method. * Make diagonal mouse report checks more readable Co-Authored-By: drashna <drashna@live.com>
* Add DFU Suffix for ARM boards (#5763)Drashna Jaelre2019-05-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add DFU Suffix for ARM boards * Blindly flash DFU SUFFIX ARGS for now * Fix commented out check * Fix DFU Suffix Argument check Thank you jack! * Update Travis CI Scripts to include dfu-util So we can get dfu-suffix as well * Manually add dfu-suffix package * Use external repo for newer version of dfu-util One that includes dfu-suffix * Update .travis.yml * Silence unnecessary output from dfu-suffix
* Add option to enable LTO easily (#5674)Drashna Jaelre2019-05-021-0/+7
| | | | | | | | * Add option to enable LTO easily and disable features that cause compiling errors with LTO * Add documentation about LTO option * Add to show_options