summaryrefslogtreecommitdiffstats
path: root/quantum/config_common.h
Commit message (Collapse)AuthorAgeFilesLines
* clang-format changesskullY2019-08-301-269/+270
|
* AVR GPIO macro defines more readable (#5937)Takeshi ISHII2019-08-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | * A little easier to read the definition of the GPIO control macro for AVR. No change in build result. * Changed to not use GNU statement expression extension. No change in build result. * Modified split_common/serial.c to use qmk_firmware standard GPIO control macro. No change in build result. * fix PE6 -> E6 * remove some space * add some comment to config_common.h * Changed split_common/serial.c to use a newer version of qmk_firmware standard GPIO control macro.
* Add additional pins for Teensy 3.x and LCzvecr2019-06-011-0/+2
|
* Add new keyboard Plaid and ATMEGA328p support (#5379)Takuya Urakawa2019-03-121-0/+5
| | | | | | | | | | | | | | | * add plaid * Change usb vid/pid to free id from vusb Trivial fix for vusb core * update readme * update info.json default keymap * fix typo * Replace copyright
* Simplify split_common Code significantly (#4772)James Churchill2019-01-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Eliminate separate slave loop Both master and slave run the standard keyboard_task main loop now. * Refactor i2c/serial specific code Simplify some of the preprocessor mess by using common function names. * Fix missing #endif * Move direct pin mapping support from miniaxe to split_common For boards with more pins than sense--sorry, switches. * Reordering and reformatting only * Don't run matrix_scan_quantum on slave side * Clean up the offset/slaveOffset calculations * Cut undebounced matrix size in half * Refactor debouncing * Minor fixups * Split split_common transport and debounce code into their own files Can now be replaced with custom versions per keyboard using CUSTOM_TRANSPORT = yes and CUSTOM_DEBOUNCE = yes * Refactor debounce for non-split keyboards too * Update handwired/xealous to build using new split_common * Fix debounce breaking basic test * Dodgy method to allow a split kb to only include one of i2c/serial SPLIT_TRANSPORT = serial or SPLIT_TRANSPORT = i2c will include only that driver code in the binary. SPLIT_TRANSPORT = custom (or anything else) will include neither, the keyboard must supply it's own code if SPLIT_TRANSPORT is not defined then the original behaviour (include both avr i2c and serial code) is maintained. This could be better but it would require explicitly updating all the existing split keyboards. * Enable LTO to get lets_split/sockets under the line * Add docs for SPLIT_TRANSPORT, CUSTOM_MATRIX, CUSTOM_DEBOUNCE * Remove avr-specific sei() from split matrix_setup Not needed now that slave doesn't have a separate main loop. Both sides (on avr) call sei() in lufa's main() after exiting keyboard_setup(). * Fix QUANTUM_LIB_SRC references and simplify SPLIT_TRANSPORT. * Add comments and fix formatting.
* Adds Proton C Conversion (#4661)Jack Humbert2019-01-101-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | * adds proton c base * fixes custom matrix include * adds readme.md * initial proton coversion, no pin mapping * start of mcu selection * add pin mapping and sweet16 test * add at90 to list * disable backlight, fix d7 * update flag names * doc updates * proton c update for mcu selection
* Add support for Atmega32A to pin declarations and universal matrix (#4015)Jack Humbert2018-11-021-54/+102
| | | | | | | | | | | | | | | | | | * add computed pins from mcu type * update for atmega32a * doc typo * add atmega16 chips, link to references * remove avr include from config * exclude assembler in config.h includes * consolodate options, add 646 * fix typo in pindef
* Update quantum matrix to support both AVR and Chibios ARM (#3968)yiancar2018-09-281-51/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update quantum matrix to support both AVR and Chibios ARM - Addition of STM32 pin definitions - Created abstruction layer defines to control GPIO (This is a bit pointless for Chibios as we are creating a PAL ontop of a PAL but it is necessary for uniformity with AVR) - Modified matrix.c to use the above functions * minor ifdef fix * Rename of functions and docs - Added documentation. - Renamed functions according to Jack's spec. * Massdrop fix * Update matrix.c * Update quantum.h * Update quantum.h * Update quantum.h * Update internals_gpio_control.md
* Adds support for Planck Rev 6 (#2666)Jack Humbert2018-07-161-50/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * initial files for rev 6 with encoder * music map init, dip scan added * adds ws2812 driver for arm * flesh out dip and encoder support * adds default encoder res * adds default encoder res * start muse implementation * muse working with encoder as control * flip direction * try mouse wheel again * dont break other revs * dont break other revs * conditional autio * pwm ws driver (not working) * update build includes for chibios * update ws2812 driver/config * last commit for glasser code * working example * remove rgb for now * finish up rev6 * working encoder keycodes * add warnings to planck keymaps about the LAYOUT
* clean-up planck and preonic keymaps, move audio stuff aroundJack Humbert2017-07-231-0/+2
|
* Clarify the quantum license (#1042)skullydazed2017-03-281-0/+16
| | | | | | | | | | * Clarify the license for files we have signoff on * Update against the currently signed off files * Remove unused and not clearly licensed headers * Replace an #endif I accidentally removed while resolving merge conflicts
* Add new DIODE_DIRECTION optionNikolaus Wittenstein2017-02-051-2/+4
| | | | | | | | The previous two options were COL2ROW, ROW2COL; this adds CUSTOM_MATRIX to disable the built-in matrix scanning code. Most notably, this obviates the need to set MATRIX_ROW_PINS or MATRIX_COL_PINS.
* API Sysex fixesFred Sundvik2016-12-291-0/+2
| | | | | | | | Fix memory leaks by using stack instead of malloc Reduce memory usage by having less temporary bufffers Remove warnings by adding includes Decrease code size by 608 bytes (mostly due to not linking malloc) More robust handling of buffer overflows
* Merge branch 'master' of github.com:jackhumbert/qmk_firmware into wu5y7Jack Humbert2016-11-281-47/+1
|\
| * remove define checks. didn't work because of include ordering.Priyadi Iman Nurcahyo2016-11-261-118/+0
| |
| * add macro error when a required define is missingPriyadi Iman Nurcahyo2016-11-261-0/+118
| |
| * Fix unterminated ifndefPriyadi Iman Nurcahyo2016-11-261-0/+2
| |
| * PS2 pins configuration belongs to each keyboards config.hPriyadi Iman Nurcahyo2016-11-261-46/+0
| | | | | | | | | | | | Each keyboard might have different pin configuration. And keeping this here will trigger redefinition warning on keyboards that have PS2 defines.
| * Removed commentofples2016-11-251-2/+0
| |
| * Added missing endif for ifdef __AVR_ATmega32U4__ and removed the unnecessary ↵ofples2016-11-251-1/+1
| | | | | | | | one at the end of the file
* | cleaning up mididJack Humbert2016-11-211-49/+50
|/
* Added pin support for A0-A7IBNobody2016-08-251-8/+8
| | | | Vision Division - It works!
* NightlyIBNobody2016-08-211-0/+9
| | | | Only major change to qmk was the addition of A0-A7 pins for the AT90USB
* Backlight abstraction and other changes (#439)Jack Humbert2016-06-231-40/+40
| | | | | | | | | | | | | | | | | | | | * redoes matrix pins, abstracts backlight code for B5,6,7 * slimming down keyboard stuff, backlight breathing implemented * don't call backlight init when no pin * cleans up user/kb/quantum calls, keyboard files * fix pvc atomic * replaces CHANNEL with correct var in breathing * removes .hexs, updates readmes, updates template * cleans-up clueboards, readmes to lowercase * updates readme
* Optimize matrix scanning (#343)Eric Tang2016-05-231-61/+64
|
* added ergodoxJack Humbert2015-10-261-0/+116