summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-251-0/+4
|\
| * Do not leak weak mods from tap dance to the interrupting keypress (#12471)Sergey Vlasov2021-04-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Tap dance callbacks may register weak mods; one case when it happens is when a tap dance registers a key with modifiers. When the tap dance is interrupted by pressing another key, these weak mods could affect the interrupting key (normally any stale weak mods are cleared at the start of action_exec() when handling a keypress event, but the tap dance interrupt check code is called later, and the weak mods left by that code were not cleared). Add another clear_weak_mods() call to preprocess_tap_dance() to make sure that the interrupting keypress is not affected by unrelated weak mods from the previous tap dance. Fixes #12445.
* | Add initial support for tinyuf2 bootloader (when hosted on F411 blackpill) ↵Nick Brassel2021-04-2514-3/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#12600) * Add support for jumping to tinyuf2 bootloader. Adds blackpill UF2 example. * Update flashing.md * Update chconf.h * Update config.h * Update halconf.h * Update mcuconf.h
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-251-2/+2
|\|
| * Format code according to conventions (#12681)github-actions[bot]2021-04-251-2/+2
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-253-21/+33
|\|
| * Fix how USB queue overflow is handled in chibios. (#12576)Purdea Andrei2021-04-253-21/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix how USB queue overflow is handled in chibios. This commit reverts PR 12472 (commit c823fe2d3f23ed090e36ce39beed4c448298bd2f), and it implements the original intent of the commit in a better way. The original intent of the above mentioned commit was to not deadlock the keyboard when console is enabled, and hid_listen is not started. The above mentioned commit had a few drawbacks: 1) When a lot of data was printed to the console, the queue would get full, and drop data, even if hid_listen was running. (For example having matrix debug enabled just didn't work right at all) 2) I believe the function in which this was implemented is used by all other USB endpoints, so with the above change, overflow, and data loss could happen in other important functions of QMK as well. This commit implements deadlock prevention in a slightly similar way to how it's done on AVR. There is an additional static local variable, that memorizes whether the console has timeouted before. If we are in the timeouted=false state, then we send the character normally with a 5ms timeout. If it does time out, then hid_listen is likely not running, and future characters should not be sent with a timeout, but those characters should still be sent if there is space in the queue. The difference between the AVR implementation and this one is that the AVR implementation checks the queue state directly, but this implementation instead attempts to write the character with a zero timeout. If it fails, then we remain in the timeouted=true state, if it succeeds, then hid_listen started removing data from the queue, so we can go out of the timeouted=true state. * Added comment explaining the timeouted logic to console flow control. * Console flow control: refactor chibios flowcontrol code to make it more readable, and rename the timeouted variable to timed_out on both chibios and lufa. Changed comments to says timed_out is an approximation of listener_disconnected, to make it clear that it's not the same thing * fix typo
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-252-0/+14
|\|
| * Add RGB matrix suspend wake function for Planck/rev6 (#12290)Albert Y2021-04-252-0/+14
| | | | | | | | | | | | | | | | | | | | * Add RGB matrix suspend wake function for Planck/rev6 * Update suggested definition to allow user override. Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: filterpaper <filterpaper@localhost> Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-251-7/+12
|\|
| * Fix CLI incorrectly following `DEFAULT_FOLDER` (#12529)Nick Brassel2021-04-251-7/+12
| | | | | | | | | | | | | | * Attempt to sort out incorrectly following DEFAULT_FOLDER. * Fix CI checks. * qmk pyformat
* | Update ADC driver for STM32F1xx, STM32F3xx, STM32F4xx (#12403)Sergey Vlasov2021-04-252-80/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix default ADC_RESOLUTION for ADCv3 (and ADCv4) Recent ChibiOS update removed ADC_CFGR1_RES_10BIT from the ADCv3 headers (that macro should not have been there, because ADCv3 has CFGR instead of CFGR1). Fix the default value for ADC_RESOLUTION to use ADC_CFGR_RES_10BITS if it is defined (that name is used for ADCv3 and ADCv4). * Update ADC docs to match the actually used resolution ADC driver for ChibiOS actually uses the 10-bit resolution by default (probably to match AVR); fix the documentation accordingly. Also add both ADC_CFGR_RES_10BITS and ADC_CFGR1_RES_10BIT constants (these names differ according to the ADC implementation in the particular MCU). * Fix pinToMux() for B12 and B13 on STM32F3xx Testing on STM32F303CCT6 revealed that the ADC mux values for B12 and B13 pins were wrong. * Add support for all possible analog pins on STM32F1xx Added ADC mux values for pins A0...A7, B0, B1, C0...C5 on STM32F1xx (they are the same at least for STM32F103x8 and larger F103 devices, and also F102, F105, F107 families). Actually tested on STM32F103C8T6 (therefore pins C0...C5 were not tested). Pins F6...F10, which are present on STM32F103x[C-G] in 144-pin packages, cannot be supported at the moment, because those pins are connected only to ADC3, but the ChibiOS ADC driver for STM32F1xx supports only ADC1. * Add support for all possible analog pins on STM32F4xx Added ADC mux values for pins A0...A7, B0, B1, C0...C5 and optionally F3...F10 (if STM32_ADC_USE_ADC3 is enabled). These mux values are apparently the same for all F4xx devices, except some smaller devices may not have ADC3. Actually tested on STM32F401CCU6, STM32F401CEU6, STM32F411CEU6 (using various WeAct “Blackpill” boards); only pins A0...A7, B0, B1 were tested. Pins F3...F10 are inside `#if STM32_ADC_USE_ADC3` because some devices which don't have ADC3 also don't have the GPIOF port, therefore the code which refers to Fx pins does not compile. * Fix STM32F3xx ADC mux table in documentation The ADC driver documentation had some errors in the mux table for STM32F3xx. Fix this table to match the datasheet and the actual code (mux settings for B12 and B13 were also tested on a real STM32F303CCT6 chip). * Add STM32F1xx ADC pins to the documentation * Add STM32F4xx ADC pins to the documentation
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-252-0/+167
|\|
| * [Keymap] Add Git keymap for ANAVI Macro Pad 8 (#12436)Leon Anavi2021-04-252-0/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git keymap for ANAVI Macro Pad 8 with the following shortcuts. On the first row from left to right: - git status - git log - git pull - git push On the second row from left to right: - git diff - git add - git commit - FN key to switch to the 2nd layout and control lights Reduce the number of supported RGB animations and effects in config.h to shrink the firmware size and fit it on the device. Signed-off-by: Leon Anavi <leon@anavi.org>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-2511-0/+1045
|\|
| * Add lm60n keyboard (#12408)gkeyboard2021-04-2511-0/+1045
| | | | | | Add lm60n keyboard
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-2510-0/+367
|\|
| * Add m3n3van rev2 (#12405)Matthew Dias2021-04-2510-0/+367
| | | | | | | | | | * Add m3n3van rev2 * Add via support
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-254-2/+74
|\|
| * Add VIA support for Filco Majestouch 2 /w The Tiger Lily (#12401)Christian Fehmer2021-04-254-2/+74
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-251-10/+0
|\|
| * not accessible and not needed anyway for a test keymap (#12366)Pavlos Vinieratos2021-04-251-10/+0
| |
* | Format code according to conventions (#12680)github-actions[bot]2021-04-251-2/+2
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | feat: infinite timeout for leader key (#6580)Daniel Rodríguez Rivero2021-04-253-2/+25
| | | | | | | | | | * feat: implement leader_no_timeout logic * docs(leader_key): infinite leader timeout docs
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-2211-0/+393
|\|
| * adding keyboard (#12414)SonOfAres2021-04-2211-0/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adding keyboard * Update keyboards/iriskeyboards/readme.md - picture size Co-authored-by: Ryan <fauxpark@gmail.com> * Delete iriskeyboards.json, it belongs in VIA repo * Update info.json * Update readme.md * Update keyboards/iriskeyboards/keymaps/default/keymap.c Removing unnecessary layers Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-2211-4/+115
|\|
| * VIA support for Planck Rev6 (#9144)George Wietor2021-04-2211-4/+115
| | | | | | | | | | Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: George Wietor <george@LIGHT-GRAY.local> Co-authored-by: Jack Humbert <jack.humb@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-229-0/+240
|\|
| * Delilah keyboard added (#12638)rainkeebs2021-04-229-0/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | * Delilah keyboard added * Apply suggestions from code review Co-authored-by: Drashna Jaelre <drashna@live.com> * removed unnecessary lines as per review * removed unnecessary lines as per review Co-authored-by: Drashna Jaelre <drashna@live.com>
* | [CI] Format code according to conventions (#12650)github-actions[bot]2021-04-222-19/+19
| | | | | | Co-authored-by: QMK Bot <hello@qmk.fm>
* | LED Matrix: Split (#12633)Ryan2021-04-222-6/+56
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-212-0/+94
|\|
| * Personal keymap for dztech DZ60RGB plus README.md (#12485)MechMaster482021-04-212-0/+94
| | | | | | | | | | | | | | * Personal keymap and README to go along with it. * Noticed typo in README and removed name from comment in keymap * Added GPL copyright notice
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-203-168/+74
|\|
| * Update for the dodger keymap for the Planck (#12456)Joshua Coffey2021-04-203-168/+74
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-201-0/+9
|\|
| * Add additional info to PR Checklist (#12630)Drashna Jaelre2021-04-201-0/+9
| | | | | | Co-authored-by: Nick Brassel <nick@tzarc.org>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-201-1/+1
|\|
| * Fix for gcc10 teensy_lc eeprom build warning (#12587)Joel Challis2021-04-201-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-209-0/+554
|\|
| * [Keyboard] Siris (#12415)Brandon Claveria2021-04-209-0/+554
| | | | | | | | Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Swiftrax <swiftrax@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-2018-0/+543
|\|
| * [Keyboard] add adelais rev4 (#12443)mechlovin2021-04-209-0/+155
| |
| * [Keyboard] Added BKS65 Solder PCB (#12451)Felix Jen2021-04-209-0/+388
| | | | | | Co-authored-by: Ryan <fauxpark@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-207-0/+336
|\|
| * [Keyboard] Add amigopunk, a handwired 75% ALPS (#12489)Christiano Haesbaert2021-04-207-0/+336
| | | | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-204-18/+92
|\|
| * [Keyboard] Matrix 1.2og AVR PCB - VIA support (#12534)kb-elmo2021-04-204-18/+92
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-04-208-17/+57
|\|