15379 Commits (dbd65d01b656e0e43511da4b144dc3408f3046d1)
 

Author SHA1 Message Date
Purdea Andrei dbd65d01b6
Fix how USB queue overflow is handled in chibios. (#12576)
* 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
5 years ago
Albert Y c7ca67a036
Add RGB matrix suspend wake function for Planck/rev6 (#12290)
* 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>
5 years ago
Nick Brassel b88498ba85
Fix CLI incorrectly following `DEFAULT_FOLDER` (#12529)
* Attempt to sort out incorrectly following DEFAULT_FOLDER.

* Fix CI checks.

* qmk pyformat
5 years ago
Leon Anavi 0c50a9eae9
[Keymap] Add Git keymap for ANAVI Macro Pad 8 (#12436)
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>
5 years ago
gkeyboard 35944df7b0
Add lm60n keyboard (#12408)
Add lm60n keyboard
5 years ago
Matthew Dias 2a45d99059
Add m3n3van rev2 (#12405)
* Add m3n3van rev2

* Add via support
5 years ago
Christian Fehmer 06f8cb1b8a
Add VIA support for Filco Majestouch 2 /w The Tiger Lily (#12401) 5 years ago
Pavlos Vinieratos b2b075c123
not accessible and not needed anyway for a test keymap (#12366) 5 years ago
SonOfAres 54dc6b7bf2
adding keyboard (#12414)
* 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>
5 years ago
George Wietor ffa1507c2c
VIA support for Planck Rev6 (#9144)
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>
5 years ago
rainkeebs 4f2afaa6fb
Delilah keyboard added (#12638)
* 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>
5 years ago
MechMaster48 0b6d8150e4
Personal keymap for dztech DZ60RGB plus README.md (#12485)
* Personal keymap and README to go along with it.

* Noticed typo in README and removed name from comment in keymap

* Added GPL copyright notice
5 years ago
Joshua Coffey 054adbaf1e
Update for the dodger keymap for the Planck (#12456) 5 years ago
Drashna Jaelre 6b5e349d7e
Add additional info to PR Checklist (#12630)
Co-authored-by: Nick Brassel <nick@tzarc.org>
5 years ago
Joel Challis 1cecd593c8
Fix for gcc10 teensy_lc eeprom build warning (#12587) 5 years ago
Brandon Claveria 2bccb7132d
[Keyboard] Siris (#12415)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Swiftrax <swiftrax@gmail.com>
5 years ago
mechlovin 0d5458a7ad
[Keyboard] add adelais rev4 (#12443) 5 years ago
Felix Jen cce9ddff80
[Keyboard] Added BKS65 Solder PCB (#12451)
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
Christiano Haesbaert d330203486
[Keyboard] Add amigopunk, a handwired 75% ALPS (#12489)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
kb-elmo 45a557641d
[Keyboard] Matrix 1.2og AVR PCB - VIA support (#12534) 5 years ago
Mikkel Jeppesen 271c7d4923
[Keyboard] Added support for the older no_led revision (#12563) 5 years ago
duoshock 54bad99e0e
[Keyboard] Update ISO Macro vendor ID to meet VIA requirement (#12564)
Co-authored-by: online <33636898+online@users.noreply.github.com>
5 years ago
kb-elmo 9a3ba6874c
[Keyboard] fix bella debounce (#12568) 5 years ago
yynmt 5f670fbdc4
[Keyboard] Add Acperience12 macropad (#12573)
Co-authored-by: yynmt <yynmt@yynmt.com>
5 years ago
Dimitris Papavasiliou bd07120d33
[Keyboard] Fix and improve SPI transport in the Lagrange (#12606)
Co-authored-by: Dimitris Papavasiliou <dpapavas@gmail.com>
5 years ago
AlisGraveNil 4ff16fe73e
[Keyboard] doodle macropad - 03/14 (#12243)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
5 years ago
mechlovin 21c147c11b
[Keyboard] Refactor IF87_rev1 (#12574) 5 years ago
tszaboo 752f5d6eb6
[Keyboard] Fixing files for Orto4exent (#12607)
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
obosob b6c353db0c
[Keyboard] Set OLED_DISPLAY_128X64 for Arch-36 (#12609)
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
GLozares 666944df2e
[Keyboard] Add millipad keypad and default keymap (#12522) 5 years ago
Xelus22 3d37afd495
[Keyboard] Pachi Mini 32u4 (#12533)
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
Joel Challis f778ede8bd
Initial firmware for Forever65 (#12572) 5 years ago
yiancar 8405d28670
[Keyboard] Carbo65 (#12406)
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
Jos Boersema f93ad79f41
[Keymap] Minifan minor issues (#12592) 5 years ago
kiwikey dffa089173
[Keyboard] Add Wanderland - An Alice-layout keyboard (#12516)
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
Jaehee 3990c0f43d
[Keyboard] Add jkdlab/binary_monkey (#12374)
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago
peepeetee 20f35afd53
Fix bm68rgb led map (#12503) 5 years ago
AaronVerDow 00eea387fc
[Keymap] Iracing replay keymap (#12461)
Co-authored-by: Aaron VerDow <aaron@verdow.com>
5 years ago
Robert Verst 2274631c8f
[Keymap] Fix handling of RV_LOCK and RV_SNAP for windows (#12498)
Co-authored-by: Robert Verst <robert.verst@tobit.com>
5 years ago
jack 81be065fa5
[Keyboard] VIA Support for LCK75 (#12402) 5 years ago
Wilba 53a35c0d0c
[Keyboard] Update RAMA WORKS M50-A (#12459) 5 years ago
Michael Stapelberg cfbd9ba0e7
eclipse: recommend changing the default project make target (#12447)
This is required for example for quickly iterating with a debugger, where
Eclipse will build the project automatically.

It’s also shorter than the previous steps, which I think might not have been
updated since
https://qmk.fm/changes/2017-09-08-making-from-root-and-no-more-makefiles
5 years ago
Benedict Tan 5581ea8809
[Keyboard] Update dz60rgb default keymap (#12488)
The keymap for this PCB as of April 5, 2020 has a 4rth, largely superfluous layer, creating a total of 5 layers.

When ported to VIA, this results in a layer that users can access but cannot edit. I propose removing this layer completely along with it's access from the default.
5 years ago
Sergey Vlasov fe9bd0afb9
Fix F303 audio output on A4 with the dac_basic driver (#12480)
The dac_basic driver did not work properly with `#define AUDIO_PIN A4`
(instead of configuring the A4 pin, the driver actually was switching
the A5 pin to analog mode, breaking any other usage of that pin in
addition to emitting a distorted signal on the improperly configured
A4 pin).  Fix the code to configure the A4 pin as intended.
5 years ago
Michael Stapelberg 17c880b076
[Keymap] add kinesis/keymaps/stapelberg (#12430) 5 years ago
Alexander Kagno ef6802ca60
New keyboard keymap, small keymap updates to mm2 keymap (#12310)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Alex <alex@turncommerce.com>
5 years ago
Wilba c7adb7a352
[Keyboard] Add wilba.tech WT60-G2 (#12395) 5 years ago
Wilba 10dfc8d92f
[Keyboard] Add wilba.tech WT65-FX (#12394) 5 years ago
Wilba c7214e1d13
[Keyboard] Add wilba.tech WT65-F (#12393) 5 years ago
Eric Wood 94d9d2bb31
[Keyboard] Add handwired/frankie_macropad (#12349)
Co-authored-by: Ryan <fauxpark@gmail.com>
5 years ago