summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-26Setup a python test frameworkskullY
2019-09-26Update docker_build.sh: indentation fix, error echo function (#6659)Konstantin Đorđević
* Replace spaces with tab in docker_build.sh * Use errcho instead of echo >&2
2019-09-26Make USB polling rate configurable with a define (#6668)fauxpark
2019-09-26Add 16U2, 16U4 and USB646 to mcu_selection.mk (#6566)fauxpark
2019-09-26Fix battery level code in adafruit_ble.cpp (#6648)bwhelm
* 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
2019-09-26Add Dip Switch as a core feature (#6140)Drashna Jaelre
* Add Dip Switches as a core feature * Add documentation for Dip Switch feature * Update Preonic Rev3 to use new feature and remove custom matrix * Apply suggestions from code review Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Remove custom matrix line completely Rather than just disabling it Co-Authored-By: fauxpark <fauxpark@gmail.com> * DIP changes Co-Authored-By: fauxpark <fauxpark@gmail.com> * Use better check for DIP Switch configuration * Add to show features * Add bitmask callback for dip switch * Fix OLKB Boards dip switch config * Update docs to include bitmask example * Fix comments/documentation Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fix issues with docs and use example from @tuzonghua * Fix wording Co-Authored-By: fauxpark <fauxpark@gmail.com> * Fix example to use proper formatting Bad, BAAAAAAD drashna!!! * Handle dip switch initialization better
2019-09-26Add `dfu-programmer` to `pacman -S` (#6619)Cory Watson
* Add `dfu-programmer` to `pacman -S` (#6618) `dfu-programmer` now resides at `extra/dfu-programmer` and is no longer in the AUR * Add `--needed` option to `pacman -S` for efficiency * Fix * Update util/linux_install.sh Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
2019-09-26Fix msys2 not installing any packages because it can't find clang (#6655)fauxpark
2019-09-26readability enhancementsskullY
2019-09-26Add support for passing files at the command lineskullY
2019-09-26CLI command to format C codeskullY
2019-09-26Removed prescaler define from avr i2c, as it was impossible to use (#6617)Mikkel Jeppesen
2019-09-26Fix Redefinition of OLED_TIMEOUT (#6628)Drashna Jaelre
2019-09-17Update submodule check to include LUFA (#6661)Drashna Jaelre
As LUFA is now a submodule, we should be checking it.
2019-09-17clang-format changesskullY
2019-09-17add lufa as a submoduleskullY
2019-09-17Fix the LUFA lib to use a submodule instead of just files (#6245)Drashna Jaelre
* 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
2019-09-17Fix vusb compiling after clang-formatskullY
2019-09-17Have clang ignore the code in bootloader_size.cskullY
2019-09-17Enforce clang-format (#6293)skullydazed
* Enforce clang-format on commit for core files * forgot about tests
2019-09-17LUFA USB descriptor cleanup (#4871)fauxpark
* 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
2019-09-13Re-Add TAB and Non-US Backslash to special charactcetr range for AutoShiftDrashna Jael're
2019-09-04chore: set CONSOLE_ENABLE = noFlorian Didron
2019-09-04chore: set COMMAND_ENABLE = noFlorian Didron
2019-09-02feat: adds some icelandic charsFlorian Didron
2019-08-28Added OLED Display autoscroll during periods of OLED data inactivity (#6546)XScorpion2
* Added OLED Display autoscroll during periods of OLED data inactivity. * Fixing compile errors * Feedback from review
2019-08-28Refactor `qmk compile-json` to `qmk compile` (#6592)skullydazed
2019-08-28Fix Typo in :flash target for missing bootloader (#6615)Drashna Jaelre
2019-08-28Add 'bootloadHID' flash target (#5587)Joel Challis
* 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
2019-08-28Align flashing behaviour of dfu-util (#6578)Joel Challis
* Align flashing retry logic of dfu-util * Align bootloader wait messages Co-Authored-By: Drashna Jaelre <drashna@live.com>
2019-08-28Add a universal flash command for cli (#6224)Drashna Jaelre
* 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
2019-08-28Relocate pca9555 driver to core (#6563)Joel Challis
* Move pca9555 files to central location * Get pca9555 boards compiling * Slight alignment of rules.mk
2019-08-28AVR GPIO macro defines more readable (#5937)Takeshi ISHII
* A little easier to read the definition of the GPIO control macro for AVR. No change in build result. * Changed to not use GNU statement expression extension. No change in build result. * Modified split_common/serial.c to use qmk_firmware standard GPIO control macro. No change in build result. * fix PE6 -> E6 * remove some space * add some comment to config_common.h * Changed split_common/serial.c to use a newer version of qmk_firmware standard GPIO control macro.
2019-08-28Increment EEPROM Magic Number due to EEPROM init issuesDrashna Jael're
Specifically, the magic value may be initialized, but the range added for the CTRL-GUI feature is not
2019-08-28Fixup Bootmagic code (#6386)Drashna Jaelre
2019-08-28Added keycodes for swapping and unswapping the Control and OS keys (#6110)Stephen Wanhella
* 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>
2019-08-28Add ATmega32U2 to mcu_selection.mk (#6561)fauxpark
2019-08-28Remove backslashes from template keymap (#6548)fauxpark
2019-08-28Add support for different encoder pinout for right half of split keyboard ↵Danny
(#6521) * Add support for different encoder pinouts for split keyboard * Update documentation for new encoder pinout feature
2019-08-28Add an alternative method for keyboard discovery to speed up build (#6073)Joel Challis
* Add an alternative method for keyboard discovery to speed up build * Chain MAKEFLAGS for docker_build.sh * Slight improvement to number of items sent to sort * Remove debug line * Fix line escape
2019-08-28Restore brightnessDrashna Jaelre
2019-08-28use full brightness insteadDrashna Jaelre
2019-08-28Fix Indicator LEDs brightnessDrashna Jaelre
2019-08-17chore: move led shutdown logic in rgb_matric.cFlorian Didron
2019-08-17fix: do not turn off leds when usb suspend is not setFlorian Didron
2019-08-15chore: set rgb sleep by default for the ShineFlorian Didron
2019-08-15chore: set rgb suspend to defaultFlorian Didron
2019-08-15fix: shutdown all leds before suspendFlorian Didron
2019-08-15fix: eeconfig init timning issue on the PlanckFlorian Didron
2019-08-15feat: force eeprom reset on flashFlorian Didron