summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2022-02-03Remove MATRIX_KEY_SAMPLE_DELAY for optical sn32f24xx keyboards (#217)edlf
2022-02-01[Redragon K580] add underglow (#212)dexter93
* [Redragon K580] add underglow * fix it * how did this get in here * remove underglow from keyboard data * index bump * fix the cursed underglow flip the values for accurate color * flags cleanup
2022-01-23sn32f2: inherit clocks from chibios (#203)dexter93
* Revert "TEMP: HACK: define clock for sn32. 48Mhz" This reverts commit db1a0f9910e83b1c1dc4c135038e5d998a5cab08. * inherit clocks from chibios needs https://github.com/SonixQMK/ChibiOS-Contrib/pull/38 * sn32f2xx: use tickless mode * pull up chibi * satisfy linter * Pull up Chibios-Contrib * more chibios-contrib * even more chibi * sn32f2: bump timedelta to 4 * frequency updates * hi, please boot * Revert "hi, please boot" This reverts commit 97cc1f94cc684873cdf90d0c1a8df43ac023e526. * Revert "sn32f2: bump timedelta to 4" This reverts commit ad7c0f9e5a5e9774ac42575e17761fe116653308. * testing: rgb effects * pull up chibios-contrib * matrix: here have some LSD * k556: here be drugs * a pinch of coke will do it * testing: shorter period * Revert "testing: shorter period" This reverts commit 4dd9aa8f8fdfed3290feda0215514d989847ea71. * remove the multipliers * matrix: revert to original state * rgb matrix: calculate the ticks from the frequency * remove redundant include * Ms * add correction value * it's S * use some hardcoded for now * bump the period * scale it down * scale it down more * testing: 20khz * testing: 2kz * shoot for 20khz, THEN calculate the period * flip it * match it * make sure the value is uint32 * testing: break the time machine * Revert "testing: break the time machine" This reverts commit 2f9a66adb055adc80d90930d2bafc18b0abcadb8. * ms * Pull up chibios-contrib * testing: back to hw systick * testing: back to s * testing: back to 16bit * testing: tickless * testing: timedelta 4 * chibi updates + back to 2 * more chibios * latest chibios commit * match the registers * testing: frequency * testing: more freq * testing: use ILRC for systick * testing: hack * testing: more ihrc * testing: more freq * testing: freq 2 * testing: freq 4 * test: harcode it * testing: timedelta * remove this for now * Revert "testing: timedelta" This reverts commit a6722c841e4f26b4d34d06b7303d21d2668e0459. * update configs * Revert "remove this for now" This reverts commit f344030ea531710b3988f8137c4ce42676fbd864. * workaround the chibios timer bug chThdSleep() fails when the interval does not just fit into the system timer this is noticeable with a resolution of 16bits in high ST frequencies * shared matrix: revert to original target frequency * Revert "workaround the chibios timer bug" This reverts commit 33affe54c93fffe8cb18039a2183681a6b2644e1. * Revert "testing: rgb effects" This reverts commit c112770a284203ed3cccee7fb14b89f2e8f0fd4b. * Revert "k556: here be drugs" This reverts commit b9b5aad64cf19daa40541fbd745322bba73ab9df.
2022-01-04fix merge issuesDimitris Mantzouranis
2022-01-04sn32: 24xb matrix: fix inclusionDimitris Mantzouranis
2022-01-04Sonix SN32 series supportDimitris Mantzouranis
2021-12-30[Bug] Fix analog joystick to mouse compilation (#15677)Dasky
2021-12-15[Core] Fix Sensor driver code (#15484)Drashna Jaelre
2021-12-08[Core] Add configuration of PMW3360 lift off distance (#15424)Xelus22
* sensor code add * update documentation * add default #define * Update drivers/sensors/pmw3360.c Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-11-25Tidy up adjustable ws2812 timing (#15299)Joel Challis
2021-11-24Remove use of __flash due to LTO issues (#15268)Joel Challis
2021-11-14Rework and expand Pointing Device support (#14343)Drashna Jaelre
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
2021-11-02haptic: Feature to disable it when usb port is not configured or suspended. ↵Purdea Andrei
(#12692) This also add support for specifying a LED pin to indicate haptic status, and also adds support for a haptic-enable pin, which is useful to turn off the boost converter on the solenoid driver.
2021-11-02[Bug] Fix unterminated ifdef in ISSI 3733 driver (#15014)Drashna Jaelre
2021-11-02Enable de-ghosting for RGB/LED matrix on all ISSI LED drivers (#14508)donicrosby
* Initial work for de-ghost enable * Dumb mistake with the redefine * Added Copywrite stuff on source files * Fixed whitespace errors * Added support for all ISSI LED drivers * Updated docs for support for ISSI LED driver pull-up pull-down * Applied clang format * Added 'boolean' flag to enable de-ghosting for the is31fl3731 IC * Fixed some of the grammer in the docs * Fixed comment placement and grammer of comment * Fixed whitespace errors from lint Co-authored-by: donicrosby <donicrosby1995@gmail.com>
2021-11-02Add a new led driver for Keychron's keyboards. (#14872)lalalademaxiya1
* Add a new led driver for Keychron's keyboards. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c/ckled2001.h. * Update ckled2001.c * Add a new led driver * Update ckled2001.c * Update ckled2001.c * Update ckled2001.c * Update ckled2001.c * Delete ckled2001.c * Create ckled2001.c * Update ckled2001.c * Update chibios-contrib Co-authored-by: keychron-dev <85598583+keychron-dev@users.noreply.github.com> Co-authored-by: lokher <lokher@gmail.com>
2021-11-02[Core] Change OLED task function to be boolean (#14864)Drashna Jaelre
* [Core] Add kb level callbacks to OLED driver * Update keyboards and keymaps * Update docs * Update userspace configs * Add fix for my keymap ... * update lefty
2021-11-01Manually format develop (#15003)Joel Challis
2021-10-30Enable configuration of PWM frequency for IS31FL3733B (#14983)Joel Challis
* Enable PWM frequency for IS31FL3733B * Document config option * clang
2021-10-24Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-10-24Tidy up ADNS9800 and PMW3360 firmware blobs (#14936)Ryan
2021-10-22Initial USB2422 driver (#14835)Joel Challis
2021-10-20Relocate PS2 code (#14895)Joel Challis
* Relocate ps2 protocol code * clang * Move makefile logic
2021-10-18[Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)Stefan Kerkmann
* Add support for RISC-V builds and GD32VF103 MCU * Add toolchain selection in chibios.mk based on the mcu selected in mcu_selection.mk * Reorder and added comments to chibios.mk to have a streamlined makefile * Add GD32VF103 mcu to possible targets for QMK. * Add STM32 compatibility for GD32VF103 MCU, this is hacky but more efficent then rewriting every driver. * Add GigaDevice DFU bootloader as flash target, please note that dfu-util of at least version 0.10 is needed. * Add analog driver compatibility * Add apa102 bitbang driver compatibility * Add ws2812 bitbang driver compatibility * Add eeprom in flash emulation compatibility * Allow faster re-builds with ccache * Add SiPeed Longan Nano to platform files * Add SiPeed Longan Nano Onekeys * Make quine compatible with other bootloaders * Support builds with picolibc * Add risc-v toolchain to arch and debian/ubuntu scripts
2021-10-09Remove QWIIC_DRIVERS (#14174)Joel Challis
2021-10-08Improve Adafruit BLE configuration defines (#14749)Ryan
* Improve Adafruit BLE configuration defines * Formatting
2021-10-07Purge uGFX. (#14720)Nick Brassel
* Purge uGFX. * Remove remnants of visualizer. * Remove remnants of uGFX.
2021-09-21Relocate Adafruit BLE code (#14530)Ryan
2021-09-15Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-15[Bug] Fix IS31fl3741 driver to accept 1 or 2 addresses (#14451)Drashna Jaelre
Co-authored-by: Joel Challis <git@zvecr.com>
2021-09-14Refactor use of STM32_SYSCLK (#14430)Joel Challis
* Refactor use of STM32_SYSCLK * clang
2021-09-05[Core] Add `is_oled_scrolling` (#14305)JayceFayne
2021-08-24[Core] Refactor OLED to allow easy addition of other types (#13454)Xelus22
* add docs * core changes * update keyboards to new OLED * updated users to new OLED * update layouts to new OLED * fixup docs * drashna's suggestion * fix up docs * new keyboards with oled * core split changes * remaining keyboard files * Fix The Helix keyboards oled options * reflect develop Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
2021-08-21[Core] Fix copypasta issue with pmw3360 sensor config (#14106)Drashna Jaelre
2021-08-20Improve pmw3360 sensor and make it more hardware agnostic (#14097)Drashna Jaelre
2021-08-21Fix up compilation issues. (#14095)Nick Brassel
2021-08-19[Core] Speed up pimoroni trackball driver (#13823)Dasky
2021-08-17Relocate platform specific drivers (#13894)Joel Challis
* Relocate platform specific drivers * Move stm eeprom * Tidy up slightly
2021-08-13Fix pmw3360 code to only output debug info if mouse debugging is enabled ↵Drashna Jaelre
(#13993)
2021-07-31__flash? (#13799)Joel Challis
2021-07-31Move some led drivers to common folder (#13749)Joel Challis
* Move some led drivers to common folder
2021-07-31[develop] Fix pimoroni trackball read address (#13810)Dasky
2021-07-27Align AW20216 driver (#13712)Joel Challis
* Align AW20216 driver * Update drivers/awinic/aw20216.h Co-authored-by: Ryan <fauxpark@gmail.com> * Review comments * formatting fixes * stop if start failed? * review comments Co-authored-by: Ryan <fauxpark@gmail.com>
2021-07-25[Bug] Include gpio.h in solenoid driver for GPIO Control functions (#13716)Drashna Jaelre
2021-07-25Haptic: driver-> feature (#13713)Joel Challis
2021-07-15Dual RGB Matrix IS31FL3737 driver support to address #13442 (#13457)Chris Cullin
* initial commit * removed changes to write_pwm_buffer * backward compatbility added * fixed issue with backward compatibility * documentation update * removed unneccessary comment. branched from master * updated per comments #13457 * removed blank line * cformat on diff files
2021-07-12Enable g_is31_leds PROGMEM for RGB Matrix IS31FL3737 driver (#13480)Chris Cullin
2021-07-03AW20216 use register increment for framebuffer flushes (#13430)Gigahawk
2021-07-02[Core] Unite half-duplex and full-duplex serial drivers (#13081)Stefan Kerkmann
* Unite half-duplex and full-duplex serial driver. * Add full duplex operation mode to the interrupt based driver * Delete DMA UART based full duplex driver * The new driver targets #11930 * Fix freezes with failing transactions in half-duplex * Increase default serial TX/RX buffer size to 128 bytes * Correctly use bool instead of size_t Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-06-23Allow settable SPI divisor for AW20216 driver, set default to 4 (#13309)Gigahawk