qmk_firmware/keyboards/handwired
Aldehir Rojas 4f2f21dc05
Rewrite APA102 support (#10894)
* Rewrite APA102 support

The APA102 source was broken by commit 16a15c1cfc as it did not include the
quantum header. This commit addresses that, as well as other issues with
transferring bytes over the SPI interface, i.e. it was not setting the
clock pin back to low after sending a bit.

The deviation when sending the end frame is kept, but updated to the
latest from the referenced project.

Finally, these changes expose the global LED brightness parameter
of the APA102. Brightness values are configurable through
`APA102_DEFAULT_BRIGHTNESS` and `APA102_MAX_BRIGHTNESS`.

* Fix typo in led brightness extern

* Move driver out of AVR directory and add delay for ARM

* Experimental APA102 support on AVR and ARM

Co-authored-by: Alde Rojas <hello@alde.io>

* Refactor apa102_send_byte() calls to a loop

* Implement io_wait function for ARM

* Move APA102 drivers to own directory, fix copyright notice

* Add APA102 keymap to handwired/onekey

* Simplify RGBLIGHT_ENABLE/DRIVER option handling

Co-authored-by: Mikkel Jeppesen <2756925+Duckle29@users.noreply.github.com>
2020-12-30 00:28:49 +00:00
..
2x5keypad Fix compile issues from the error page (#11314) 2020-12-28 20:06:07 -08:00
3dp660 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
6key Add 6key to keyboards/handwired (#11226) 2020-12-30 00:03:35 +00:00
6macro Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
42 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
108key_trackpoint Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
412_64 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
aek64 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
aplx2 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
aranck Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
arrow_pad Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
atreus50 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
bdn9_ble Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
bento Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
bluepill Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
boss566y/redragon_vara Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
brain Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
cans12er Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
chiron Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
ck4x4 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
cmd60 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
co60 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
colorlice Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
curiosity Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
d48 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
dactyl Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
dactyl_left Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
dactyl_manuform [Keyboard] Fix Dactyl Manuform with Trackball info.json (#11298) 2020-12-26 01:38:31 +11:00
dactyl_promicro Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
dactyl_rah Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
daishi Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
datahand Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
ddg_56 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
eagleii Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
fc200rt_qmk Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
fivethirteen Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
floorboard Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
frenchdev Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
freoduo Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
fruity60 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
gamenum Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
hacked_motospeed Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
heisenberg Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
hexon38 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
hnah40 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
hnah40rgb Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
hnah108 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
ibm122m Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
jn68m Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
jopr Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
jot50 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
jotanck Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
jotpad16 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
jtallbean Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
juliet Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
k8split Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
k_numpad17 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
kbod Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
ks63 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
leftynumpad Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
lovelive9 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
magicforce61 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
magicforce68 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
mechboards_micropad Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
minorca Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
ms_sculpt_mobile Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
myskeeb Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
nicekey Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
not_so_minidox Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
novem Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
numpad20 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
obuwunkunubi/spaget Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
onekey Rewrite APA102 support (#10894) 2020-12-30 00:28:49 +00:00
ortho5x13 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
owlet60 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
p65rgb Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
p1800fl Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
pilcrow Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
pill60 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
postageboard Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
prime_exl Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
prime_exl_plus Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
prkl30 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
promethium Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
pterodactyl Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
pteron Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
pteron38 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
pteron44 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
qc60 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
reddot Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
retro_refit Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
riblee_f401 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
riblee_f411 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
rs60 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
selene Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
sick68 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
sick_pad Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
slash Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
sono1 [Keyboard] add ASkeyboard Sono1 (#11114) 2020-12-22 10:10:56 -08:00
space_oddity Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
splittest Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
steamvan Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
sticc14 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
stream_cheap Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
swiftrax add nodu keyboard (#11233) 2020-12-30 00:03:09 +00:00
symmetric70_proto Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
symmetry60 Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
t111 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
tennie Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
terminus_mini Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
trackpoint Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
traveller Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
tritium_numpad Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
twadlee/tp69 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
unk Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
videowriter Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
wabi Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
woodpad Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
wulkan Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
xealous Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
xealousbrown Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00
z150 Merge remote-tracking branch 'origin/master' into develop 2020-12-21 14:39:10 +00:00
zergo Initial list of keyboards to exclude from CI (#11213) 2020-12-21 15:38:39 +01:00