Ryan
208ebf54a9
WS2812 API rework ( #24364 )
...
* Begin WS2812 API rework
* Move RGBW conversion, clean up color.h, fix RGBW for AVR bitbang
* Formatting & update PS2AVRGB I2C driver (untested)
* Tested ARM bitbang RGB+RGBW
* Tested ARM SPI RGB - RGBW not working
* Tested ARM PWM RGB+RGBW
* Tested RP2040 PIO driver RGB+RGBW
* Update RGBLight
* Formatting
* Fix BM60HSRGB rev2
* Fix oddforge/vea
* Fix 1k and XD002 RGBLite
* Fix model_m/mschwingen
* Fix handwired/promethium
* Rename `WS2812_LED_TOTAL` for BM60HSRGB
* Fix work_louder boards
* Fix dawn60
* Fix rgbkb/pan
* Fix neson_design/700e and n6
* Fix ergodox_ez/shine
* ergodox_ez/shine: invert indices for left half
* Fix matrix/abelx
* Fix matrix/m20add
* Remove custom rgblight driver for matrix/noah - should be done with lighting layers
* Fix LED indexes for RGBLight split
* Rename `convert_rgb_to_rgbw()` to `ws2812_rgb_to_rgbw()`
* Update WS2812 API docs
* `ergodox_ez/shine`: simplify LED index calculation
* LED/RGB Matrix: Add weak function for LED index resolution
* Bandaid fix for RGB Matrix splits not using WS2812
* `steelseries/prime_plus`: redo custom RGBLight driver
* Update keyboards/steelseries/prime_plus/rgblight_custom.c
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
---------
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2024-10-06 21:01:07 +13:00
Ryan
0ff53b2498
Rename RGBW
define to WS2812_RGBW
( #23585 )
2024-04-28 00:36:54 +10:00
Ryan
f7cf40fa77
Add init function to RGBLight driver struct ( #23076 )
2024-03-18 22:03:27 +11:00
Ryan
569b0c70be
WS2812 PWM: prefix for DMA defines ( #23111 )
...
* WS2812 PWM: prefix for DMA defines
* Add backward compatibility defines
2024-03-02 17:16:47 +00:00
Drashna Jaelre
7ed3138e5f
Remove PWM advanced check for WS2812 driver ( #22830 )
2024-01-05 12:27:55 +00:00
Ryan
41bd4e35a0
Clean up RGB LED type ( #21859 )
2023-09-04 01:19:59 +01:00
Ryan
b6d9409d2f
drivers: remove direct quantum.h
includes ( #21473 )
2023-07-09 20:03:50 +10:00
Ryan
47966dc2a6
Migrate rgblight.pin
and RGB_DI_PIN
to ws2812.pin
( #20303 )
2023-04-06 18:00:54 +10:00
Thomas Kriechbaumer
c4f99f06ab
ws2812: replace RGBLED_NUM with driver-owned constant to decouple driver from RGBLEDs/RGBMATRIX defines ( #18036 )
2022-10-21 08:17:51 +11:00
Joel Challis
463fb72d29
Partially revert some WB32 specific changes ( #18038 )
2022-08-14 20:48:44 +01:00
yiancar
dfc92d8f7b
Fix buffer size for WS2812 PWM driver ( #17046 )
...
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Sergey Vlasov <sigprof@gmail.com>
Co-authored-by: yiancar <yiancar@gmail.com>
2022-08-13 18:36:34 -07:00
Joy Lee
c02d7ae86f
Added ws2812_pwm support for WB32 MCU. ( #17142 )
...
Co-authored-by: Joy <chang.li@westberrytech.com>
2022-08-13 18:21:46 -07:00
QMK Bot
63646e8906
Format code according to conventions ( #16322 )
2022-02-12 18:29:31 +00:00
Joel Challis
5e9c29da0d
Tidy up adjustable ws2812 timing ( #15299 )
2021-11-25 19:35:06 +00:00
Drashna Jaelre
7c10d00ca6
Add RGBW support to PWM and SPI drivers for ChibiOS ( #14327 )
...
* Add RGBW support to PWM and SPI drivers for ChibiOS
* Apply suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-18 17:28:57 +10:00
Stefan Kerkmann
efde8d657a
Use opendrain pin with external pullup again ( #14474 )
2021-09-17 12:12:20 +01:00
Joel Challis
84dba25533
Make ChibiOS PAL interactions less STM32 specific - Round 2 ( #14456 )
2021-09-16 08:18:58 +10:00
Joel Challis
a78f0e8a0b
Refactor use of _STM32_ defines ( #14439 )
2021-09-15 11:19:51 +10:00
Joel Challis
0ca4a56a04
Refactor use of STM32_SYSCLK ( #14430 )
...
* Refactor use of STM32_SYSCLK
* clang
2021-09-14 12:18:36 +10:00
Joel Challis
1bb7af4d44
Relocate platform specific drivers ( #13894 )
...
* Relocate platform specific drivers
* Move stm eeprom
* Tidy up slightly
2021-08-17 23:43:09 +01:00