summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ChibiOS: add support for HID Programmable Buttons (#15787)Thomas Weißschuh2022-02-043-1/+36
| | | | | | | | | | * ChibiOS: add support for HID Programmable Buttons Fixes #15596 * Enable SHARED_ENDPOINT when PROGRAMMABLE_BUTTON is enabled The Programmable Button driver expects the shared EP to be enabled. So enforce this invariant.
* Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-042-3/+3
|\
| * [Bug] fix Pachi RGB Rev2 RGB positioning (#16182)Xelus222022-02-042-3/+3
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-041-1/+1
|\|
| * [Keymap] Fix OLED font path in default Rhymestone keymap (#16197)jack2022-02-041-1/+1
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-0412-2/+877
|\|
| * [Keyboard] Add VIA keymap to AMAG23 (#16206)Ian McLinden2022-02-042-0/+55
| |
| * [Keyboard] TKC Portico75 (#15114)TerryMathews2022-02-0410-2/+822
| | | | | | | | Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jael're <drashna@live.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-041-2/+2
|\|
| * [Docs] feature_macro.md: minor formatting fix (#16205)IskandarMa2022-02-051-2/+2
| |
* | Skip categorisation of PR if it's only for code formatting. (#16215)Nick Brassel2022-02-051-1/+11
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-043-82/+101
|\|
| * MTBKeys MTB60 Solder Layout Macro Refactor (#16195)James Young2022-02-043-82/+101
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-0410-143/+153
|\|
| * FJLabs 7V Hotswap: refactor LAYOUT_75_all macro (#16213)James Young2022-02-045-68/+69
| |
| * Meow65: rename LAYOUT to LAYOUT_65_ansi_blocker (#16214)James Young2022-02-045-75/+84
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-044-74/+126
|\|
| * MechanicKeys Mini Ashen 40: refactor LAYOUT macro (#16192)James Young2022-02-044-74/+126
| | | | | | | | | | | | | | * info.json: apply friendly formatting * move Backspace argument/keycode to top row * info.json: correct maintainer field
* | Format code according to conventions (#16211)QMK Bot2022-02-041-7/+5
| |
* | [Core] Add Pixel Flow RGB matrix effect (#15829)Albert Y2022-02-054-0/+55
| | | | | | | | | | | | | | | | | | | | | | * Initial PIXEL FLOW matrix effect commit * Commit suggested use of rgb_matrix_check_finished_leds Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Code change support for split RGB Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-044-55/+0
|\|
| * Revert "[Core] Add Pixel Flow RGB matrix effect (#15829)" (#16209)Nick Brassel2022-02-054-55/+0
| | | | | | This reverts commit e8fa329073d8752cad9b11b90287fd20f130ac6f.
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-044-0/+55
|\|
| * [Core] Add Pixel Flow RGB matrix effect (#15829)Albert Y2022-02-054-0/+55
| | | | | | | | | | | | | | | | | | | | | | * Initial PIXEL FLOW matrix effect commit * Commit suggested use of rgb_matrix_check_finished_leds Co-authored-by: Sergey Vlasov <sigprof@gmail.com> * Code change support for split RGB Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
* | Initial migration of suspend callbacks (#16067)Joel Challis2022-02-056-116/+61
| | | | | | | | | | * Initial migration of suspend logic * Add header
* | ChibiOS timer fixes (#16017)Sergey Vlasov2022-02-051-23/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * chibios/timer: Move the 16-bit timer handling into a separate function Extract the code which effectively makes a 32-bit tick counter from a possibly 16-bit ChibiOS system timer into a separate function. Does not really change the behavior of the timer API, but makes the actions done in `timer_clear()` and `timer_read32()` more obvious. * chibios/timer: Rename some variable to better reflect their role * chibios/timer: Fix 32-bit tick counter overflow handling The QMK timer API implementation for ChibiOS used a 32-bit tick counter (obtained from the ChibiOS system timer) and then converted the value to milliseconds to produce the timer value for QMK. However, the frequency of the ChibiOS timer is above 1000 Hz in most cases (values of 10000 Hz or even 100000 Hz are typically used), and therefore the 32-bit tick counter was overflowing and wrapping around much earlier than expected (after about 5 days for 10000 Hz, or about 12 hours for 100000 Hz). When this wraparound happened, the QMK timer value was jumping back to zero, which broke various code dealing with timers (e.g., deferred executors). Just making the tick counter 64-bit to avoid the overflow is not a good solution, because the ChibiOS code which performs the conversion from ticks to milliseconds may encounter overflows when handling a 64-bit value. Adjusting just the value converted to milliseconds to account for lost 2**32 ticks is also not possible, because 2**32 ticks may not correspond to an integer number of milliseconds. Therefore the tick counter overflow is handled as follows: - A reasonably large number of ticks (the highest multiple of the ChibiOS timer frequency that fits into uint32_t) is subtracted from the tick counter, so that its value is again brought below 2**32. The subtracted value is chosen so that it would correspond to an integer number of seconds, therefore it could be converted to milliseconds without any loss of precision. - The equivalent number of milliseconds is then added to the converted QMK timer value, so that the QMK timer continues to count milliseconds as it was before the tick counter overflow. * chibios/timer: Add a virtual timer to make 16-bit timer updates more reliable The code which extends the 16-bit ChibiOS system timer to a 32-bit tick counter requires that it is called at least once for every overflow of the system timer (otherwise the tick counter can skip one or more overflow periods). Normally this requirement is satisfied just from various parts of QMK code reading the current timer value; however, in some rare circumstances the QMK code may be blocked waiting for some event, and when this situation is combined with having a rather high timer frequency, this may result in improper timekeeping. Enhance the timer reliability by adding a ChibiOS virtual timer which invokes a callback every half of the timer overflow period. The virtual timer callback can be invoked even when the normal QMK code is blocked; the only requirement is that the timer interrupts are enabled, and the ChibiOS kernel is not locked for an excessive time (but the timer update will eventually work correctly if the virtual timer handling is not delayed by more than a half of the timer overflow period). Keeping a virtual timer always active also works around a ChibiOS bug that can manifest with a 16-bit system timer and a relatively high timer frequency: when all active virtual timers have delays longer than the timer overflow period, the handling of virtual timers stops completely. In QMK this bug can result in a `wait_ms()` call with a delay larger than the timer overflow period just hanging indefinitely. However, when the timer update code adds a virtual timer with a shorter delay, all other virtual timers are also handled properly.
* | Update outputselect to use platform connected state API (#16185)Joel Challis2022-02-041-11/+2
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-044-76/+97
|\|
| * MTBKeys MTB60 Hotswap Layout Macro Refactor (#16194)James Young2022-02-044-76/+97
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-0438-0/+2011
|\|
| * [Keyboard] Add Keyboards GL516s (#14950)Salicylic-acid32022-02-0438-0/+2011
| | | | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-044-13/+16
|\|
| * Mokey xox70hot: rename LAYOUT to LAYOUT_tkl_nofrow_ansi_tsangan (#16193)James Young2022-02-034-13/+16
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-041-1/+1
|\|
| * Point out that deferred execution needs to be enabled in rules.mk (#16196)Nick Brassel2022-02-041-1/+1
| |
* | Ensure `version.h` is recreated each build. (#16188)Nick Brassel2022-02-042-6/+8
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-031-0/+1
|\|
| * Fix axis inversion (#16179)Richard2022-02-031-0/+1
| |
* | Create a build error if no bootloader is specified. (#16181)Nick Brassel2022-02-033-3/+10
| | | | | | | | | | | | | | | | | | * Create a build error if no bootloader is specified. * Update builddefs/bootloader.mk Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-025-313/+449
|\|
| * Fix a couple of mismatched info.json layout names (#16164)Ryan2022-02-025-313/+449
| | | | | | | | | | | | | | * Fix a couple of mismatched info.json layout names * Fix layouts * Clean up layouts
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-020-0/+0
|\|
| * Fixup line endings for kt60-M.Nick Brassel2022-02-031-17/+17
| |
* | Format code according to conventions (#16169)QMK Bot2022-02-021-17/+17
| |
* | Fixup builds so that teensy EEPROM knows which MCU it's targeting. (#16168)Nick Brassel2022-02-021-0/+3
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-0211-0/+331
|\|
| * [Keyboard] Add keyten kt60-M (#16150)Ivan Gromov2022-02-0111-0/+331
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2022-02-023-52/+106
|\|
| * [Keymap] Add MacOS layer (#16151)Andre Brait2022-02-013-52/+106
| | | | | | Co-authored-by: Drashna Jaelre <drashna@live.com>
* | Fix issues with Python Tests (#16162)Drashna Jaelre2022-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | * Reformat python due to yapf changes * Fix pytest keymap list test * revert formatting * Use contra, because, well https://www.reddit.com/r/MechanicalKeyboards/comments/8riofq/did_i_kill_my_contra/