aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
Commit message (Collapse)AuthorAgeFilesLines
* I2C driver docs (#4298)yiancar2018-11-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | * I2C driver docs - Added I2C driver docs. - Changed arm master i2c driver to have a weak i2c_init as it is impossible to account for all possible port configuration in the STM32 world. * Update docs/i2c_driver.md Co-Authored-By: yiancar <yiangosyiangou@cytanet.com.cy> * Update docs/i2c_driver.md Co-Authored-By: yiancar <yiangosyiangou@cytanet.com.cy> * Update docs/i2c_driver.md Co-Authored-By: yiancar <yiangosyiangou@cytanet.com.cy> * Update docs/i2c_driver.md Co-Authored-By: yiancar <yiangosyiangou@cytanet.com.cy> * GPIO release fix
* Remove all of the deprecated RGB definesDrashna Jaelre2018-10-221-3/+0
| | | | Fixes #3641
* DC01 updates and I2C avr speed overwrite (#4088)yiancar2018-10-081-0/+2
| | | | | | | | | * DC01 updates and I2C avr speed overwrite - General updating of DC01 - Made F_SCL define in AVR I2C driver overwritable from config.h * Update drivers/avr/i2c_master.c
* RAMA M6-B and IS31FL3218 driver (#4021)Wilba65822018-09-302-0/+126
| | | | | | | | | | | | | | | | | | | | * Initial RAMA M6-B commit. * Moved IS31FL3218 driver, minor cleanups * Refactor, added dynamic keymap. * Added dynamic keymaps to RAMA M6-A * Refactor M6-A and M6-B to use common code. * Formatting * Cleanup * Cleanup * Changes from review
* RAMA U80-A, wilba.tech WT60-A, WT65-A, WT80-A, IS31FL3736 driver (#3925)Wilba65822018-09-272-0/+478
| | | | | | | | | | | | | | * Initial commit of RAMA U80-A * Initial commit of RAMA U80-A * Moved IS31FL3736 driver, minor cleanups * Superficial stuff * Review changes * Refactored to use common code.
* RGB Matrix refactoring to open up for new drivers (#3913)James Laird-Wah2018-09-272-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rgb_matrix: use a driver ops struct This is intended to avoid #ifdef proliferation on adding more drivers, eg. model01, which use different architectures. * rgb_matrix: document driver struct members * rgb_matrix: remove unused LED testing code * rgb_matrix: don't build into IS31x drivers unless being used * rgb_matrix: refactor make config options This ensures that the necessary files are included for any custom RGB_MATRIX_ENABLE value, without having to add entries here for specific boards. This particularly affects model01 because its controller is integrated and won't be used anywhere else, so it's preferable not to put it in common_features.mk. This now validates the value of RGB_MATRIX_ENABLE. It was necessary to fix an error in ergodox_ez rules.mk using the wrong comment separator, yielding an invalid value. * IS31x drivers: don't write the control registers all the time This is only needed when they are changed. This is done in init() and board- or keymap-specific code is free to make further changes. * rgb_matrix: move structs from chip drivers to rgb_matrix_drivers.c This approach is specific to the rgb_matrix functionality, so keep it neatly separated from the raw chip drivers.
* ISSI31FL3733 driver (#3679)yiancar2018-08-286-41/+550
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ISSI31FL3733 driver - Addapted IS31 driver for the above driver * fix my branch * ISSI31FL3733 driver - Inclusion of above ISSI led driver * IS31fl3733 driver - Added correct function for control registers * Finalized support for ISSI31fl3733 led driver - Finalized and tested driver. - Modified i2c_master for arm due to declaration mistake. - Fixed spaces/tabs in quantum.h file. - Fixed spaces/tabs in common_features.mk file. - Removed unnecessary includes from rgb_matrix.c file. - Added local definitions for MIN and MAX macros in rgb_matrix.c file. - Adjusted chevron effect. - Added necessary define (RGB_3733_MATRIX_ENABLE) for makefile. - Added necessary C define (ISSI3733) to aid with inclusion of the correct header file. - Added documentation for the new driver. * Driver structure update - Changed rule includes to be more condensed (RGB_MATRIX_ENABLE = IS31FL3731) and (RGB_MATRIX_ENABLE = IS31FL3733) - Updated documentation - Reverted to the use of differently named functions for each driver and selecting the needed ones within rgb_matrix.c * ISSI Drivers refractoring - Moved issi drivers in a dedicated folder - Updated documentation * I2C library fix I released the special pins incorrectly before. It is now fixed.
* Rgb matrix arm (#3648)yiancar2018-08-155-271/+422
| | | | | | | | | | | * Addition of I2C master driver for STM32, Generalization of ISSI3731 driver - Addition of an i2c_master driver for STM32 to replicate expectations of AVR driver. - Moved ISSI3731 driver one level up to make it accesible by both architectures. - Renamed ISSI3731 functions to a more general name for preparation of other ISSI drivers. - Added compiler directives where necessary to differenciate each architecture. * converted tabs to spaces
* DC01 keyboard addition (#3428)yiancar2018-07-184-142/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DC01 initial commit - Addition of directories - Left readme * Initial commit of left half * Initial files for right half * arrow * i2c adjustments * I2C slave and DC01 refractoring - Cleaned up state machine of I2C slave driver - Modified DC01 left to use already pressent I2C master driver - Modified DC01 matrixes * Fixed tabs to spaces * Addition of Numpad * Add keymaps - Orthopad keymap for numpad module - Numpad keymap for numpad module - ISO, ANSI and HHKB version of keymap for right module * Minor matrix.c fixes * Update Readmes
* Integrating Peter Fleury's HD44780 LCD library (#3209)Max Audron2018-07-152-0/+963
| | | | | | | | | | | | | | | | | | | | | | | | * integrated Peter Fleury's LCD library for HD44780 LCDs * fixed typo * cleanup finished * add documentation * added HD44780 documentation * removed keyboard from .gitmodules * resolved merge conflict * removed edit of kira75s rules.mk made by merge * moved hd44780 to drivers/avr * Added licence info to hd44780 files * Added link to hd44780 docs.
* Add I2C slave libraryyiancar2018-07-152-0/+119
| | | | - Add I2C slave library for general use.
* remove comment codeJack Humbert2018-06-231-1/+0
|
* adds immediate i2c return, fixes ez matrix codeJack Humbert2018-06-232-6/+9
|
* refactor, non-workingJack Humbert2018-06-224-108/+147
|
* start updating i2c for timeoutsJack Humbert2018-06-202-71/+46
|
* adds timeout to avr i2cJack Humbert2018-06-124-42/+115
|
* revert some attempts, update i2cJack Humbert2018-06-121-1/+1
|
* i2c fixJack Humbert2018-05-152-21/+28
|
* Rgb matrix fixes, I2C library can now retry if it has failed (#2943)yiancar2018-05-145-339/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added Modular keyboards L,R and NUM Created code modules for the 3 modules of the modular keyboard. Original idea by MechboardsUK. Uses i2c implementation similar to lets split * Remove modular from master This is to fix incorrect branching * General fixes for RGB_matrix - Complited speed support for all effects - Fixed raindrop effects to initialized after toggle - Fixed raindrop effects to use all available LEDs - Fixed effect step reverse function - Moved RGB_MATRIX_SOLID_REACTIVE under correct flag * Documentation update for RGBmatrix * More doc updates * I2C library can now retry if it has failed - Replaced the original TWIlib by LFKeyboard's modified version - Allows for an extra argument on TWITransmitData, if blocking is set to 1 function will retry to transmit on failure. Good for noisy boards. * RGB Matrix, use alternative I2C library TWIlib seems to be hanging for me sometimes probably due to ISR routine. I have used i2c_master as a good alternative. Note: this commit is for Wilba6582 to verify before merge * Update rgb_matrix.c * RGB matrix cleanup - Remove TWIlib
* Adds IS31FL3731 RGB Matrix Implementation (#2910)Jack Humbert2018-05-084-0/+786
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adds is31fl3731 rgb matrix implementation * fix build script for force pushes * allow bootloader size to be overwritten * adds planck light implementation * split led config into 2 arrays * idk * betterize register handling * update planck implementation * update planck * refine rgb interface * cleanup names, rgb matrix * start documentation * finish up docs * add effects list * clean-up merge * add RGB_MATRIX_SKIP_FRAMES * add support for at90usb1286 to bootloader options
* Update whitefox to use the K-Type teensy workaroundKaleb Elwert2018-04-033-0/+491
|
* update to driver separationJack Humbert2017-09-151-17/+1
|
* fix implementation issues from SSD1306 clean up, added rotation (#1494)ishtob2017-07-122-8/+9
| | | | | | | | | | * moved OLED update task to keymap * fix splitting render display to keymap * Added rotation option for OLED, fixed splitting display render update to keymap * issues with attribute
* clean up ssd1306 implementationJack Humbert2017-07-112-160/+91
|
* update drivers to exclude lets_split includeJack Humbert2017-07-111-1/+0
|
* Start mvoing hardware drivers to /drivers/ (#1433)Jack Humbert2017-07-108-0/+1679
| | | | | | | | | | | | * start driver isolation * update nyquist and orthodox boards * update atreus62 * move drivers to avr * update avr conditional
* Add template board filesFred Sundvik2017-07-102-0/+223
|
* Rename board files to lowercaseFred Sundvik2017-07-102-2/+2
|
* Make it easier to use driversFred Sundvik2017-07-104-10/+8
|
* Fixup mixed tabs/spacesFred Sundvik2017-07-104-151/+151
|
* Remove ergodox from gdisp driver namesFred Sundvik2017-07-109-6/+6
|
* Move GDISP drivers to /drivers/ugfxFred Sundvik2017-07-107-0/+747