Commit Graph

10010 Commits

Author SHA1 Message Date
skullY 128bde1be1 readability enhancements 2019-09-26 10:08:39 +09:00
skullY ffca0ecd0a Add support for passing files at the command line 2019-09-26 10:08:39 +09:00
skullY 56443ee486 CLI command to format C code 2019-09-26 10:08:39 +09:00
Mikkel Jeppesen 0c67055ae1 Removed prescaler define from avr i2c, as it was impossible to use (#6617) 2019-09-26 10:08:39 +09:00
Drashna Jaelre 327a6e0f55 Fix Redefinition of OLED_TIMEOUT (#6628) 2019-09-26 10:08:39 +09:00
Drashna Jaelre 5ecd526d13 Update submodule check to include LUFA (#6661)
As LUFA is now a submodule, we should be checking it.
2019-09-17 11:39:43 +09:00
skullY f8fe33acfa clang-format changes 2019-09-17 11:39:43 +09:00
skullY c339d67068 add lufa as a submodule 2019-09-17 11:39:43 +09:00
Drashna Jaelre 07cfca1beb Fix the LUFA lib to use a submodule instead of just files (#6245)
* 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-17 11:39:43 +09:00
skullY f6e500e199 Fix vusb compiling after clang-format 2019-09-17 11:39:43 +09:00
skullY 7ee98d5265 Have clang ignore the code in bootloader_size.c 2019-09-17 11:39:43 +09:00
skullydazed 338c36dbae Enforce clang-format (#6293)
* Enforce clang-format on commit for core files

* forgot about tests
2019-09-17 11:39:43 +09:00
fauxpark 0d1d10edfd LUFA USB descriptor cleanup (#4871)
* 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-17 11:39:43 +09:00
Drashna Jael're fc8a27497f Re-Add TAB and Non-US Backslash to special charactcetr range for AutoShift 2019-09-13 06:54:41 +09:00
Florian Didron 468290f373 chore: set CONSOLE_ENABLE = no 2019-09-04 11:01:38 +09:00
Florian Didron da2ec386d8 chore: set COMMAND_ENABLE = no 2019-09-04 11:01:38 +09:00
Florian Didron 8b7047a62c feat: adds some icelandic chars 2019-09-02 20:07:32 +09:00
XScorpion2 09c4e8ac5d Added OLED Display autoscroll during periods of OLED data inactivity (#6546)
* Added OLED Display autoscroll during periods of OLED data inactivity.

* Fixing compile errors

* Feedback from review
2019-08-28 14:56:14 +09:00
skullydazed ca5162b90e Refactor qmk compile-json to qmk compile (#6592) 2019-08-28 14:55:37 +09:00
Drashna Jaelre a75e0b2374 Fix Typo in :flash target for missing bootloader (#6615) 2019-08-28 14:54:06 +09:00
Joel Challis cfbb03645e Add 'bootloadHID' flash target (#5587)
* 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-28 14:54:06 +09:00
Joel Challis 592f65d280 Align flashing behaviour of dfu-util (#6578)
* Align flashing retry logic of dfu-util

* Align bootloader wait messages

Co-Authored-By: Drashna Jaelre <drashna@live.com>
2019-08-28 14:54:06 +09:00
Drashna Jaelre 7651b3dd73 Add a universal flash command for cli (#6224)
* 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-28 14:54:06 +09:00
Joel Challis 3d3154b29c Relocate pca9555 driver to core (#6563)
* Move pca9555 files to central location

* Get pca9555 boards compiling

* Slight alignment of rules.mk
2019-08-28 14:53:17 +09:00
Takeshi ISHII ac52955ff2 AVR GPIO macro defines more readable (#5937)
* 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-28 14:52:34 +09:00
Drashna Jael're ef5cdd2262 Increment EEPROM Magic Number due to EEPROM init issues
Specifically, the magic value may be initialized, but the range added for the CTRL-GUI feature is not
2019-08-28 14:49:46 +09:00
Drashna Jaelre aa074cf592 Fixup Bootmagic code (#6386) 2019-08-28 14:49:46 +09:00
Stephen Wanhella e5224082f1 Added keycodes for swapping and unswapping the Control and OS keys (#6110)
* 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-28 14:49:46 +09:00
fauxpark dbd4de0174 Add ATmega32U2 to mcu_selection.mk (#6561) 2019-08-28 14:49:01 +09:00
fauxpark d52ad98f4a Remove backslashes from template keymap (#6548) 2019-08-28 14:48:38 +09:00
Danny 4b766cec2e Add support for different encoder pinout for right half of split keyboard (#6521)
* Add support for different encoder pinouts for split keyboard

* Update documentation for new encoder pinout feature
2019-08-28 14:47:57 +09:00
Joel Challis ba5c46267c Add an alternative method for keyboard discovery to speed up build (#6073)
* 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-28 14:47:26 +09:00
Drashna Jaelre fd63ea595f Restore brightness 2019-08-28 14:46:51 +09:00
Drashna Jaelre 3489ebb1c1 use full brightness instead 2019-08-28 14:46:51 +09:00
Drashna Jaelre e7b95fba58 Fix Indicator LEDs brightness 2019-08-28 14:46:51 +09:00
Florian Didron 8f065c420b chore: move led shutdown logic in rgb_matric.c 2019-08-17 02:42:35 +00:00
Florian Didron 76ba4c4fa5 fix: do not turn off leds when usb suspend is not set 2019-08-17 02:42:35 +00:00
Florian Didron 96a09786d8 chore: set rgb sleep by default for the Shine 2019-08-15 23:41:32 +00:00
Florian Didron 5f2b255bb1 chore: set rgb suspend to default 2019-08-15 23:41:32 +00:00
Florian Didron 7215cb932b fix: shutdown all leds before suspend 2019-08-15 23:40:31 +00:00
Florian Didron a587846d97 fix: eeconfig init timning issue on the Planck 2019-08-15 23:40:15 +00:00
Florian Didron 2db33bc5e1 feat: force eeprom reset on flash 2019-08-15 01:56:15 +00:00
Joel Challis 87487abd05 Fix LT() crashing some ARM keyboards (#6529) 2019-08-14 00:50:25 +00:00
Drashna Jaelre b188634e6f Delete PULL_REQUEST_TEMPLATE.md 2019-08-13 10:51:33 +09:00
Drashna Jaelre a6dfd85e60 Update spacing in editorconfig file
For sanity's sake
2019-08-13 10:51:33 +09:00
fauxpark ce6f145802 Mask off TD() parameter properly (#6143)
* Mask off TD() parameter properly

* More parentheses
2019-08-13 10:51:08 +09:00
fauxpark b6e465be96 Add some defaults for ATmega32A to mcu_selection.mk (#6253)
* Add some defaults for ATmega32A to mcu_selection.mk

* Remove boilerplate from templates

* Relax INTERRUPT_CONTROL_ENDPOINT and PROGRAM_CMD

* Apply suggestions from code review

Co-Authored-By: Drashna Jaelre <drashna@live.com>
2019-08-13 10:50:27 +09:00
fauxpark 36a0c2b456 Extend allowed range of tappable keycodes to include modifiers (#5809)
* 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
2019-08-13 10:49:55 +09:00
fauxpark 86c9a1a384 Rename QK_TMK(_MAX) to QK_BASIC (#6509) 2019-08-13 10:49:14 +09:00
fauxpark 562884a328 Improve backlight PWM pin support (#6202)
* Improve backlight PWM pin support

* I accidentally an equals sign

* Another typo

* Order by pin number

* Throw an error if backlight pin is C4 or C5 on 16/32U4

* Use else for clarity

* Minor alignment adjustments
2019-08-13 10:48:29 +09:00