summaryrefslogtreecommitdiffstats
path: root/quantum/config_common.h
AgeCommit message (Collapse)AuthorFilesLines
2019-03-12Add new keyboard Plaid and ATMEGA328p support (#5379)Takuya Urakawa1-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
2019-01-17Simplify split_common Code significantly (#4772)James Churchill1-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.
2019-01-10Adds Proton C Conversion (#4661)Jack Humbert1-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
2018-11-02Add support for Atmega32A to pin declarations and universal matrix (#4015)Jack Humbert1-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
2018-09-28Update quantum matrix to support both AVR and Chibios ARM (#3968)yiancar1-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
2018-07-16Adds support for Planck Rev 6 (#2666)Jack Humbert1-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
2017-07-23clean-up planck and preonic keymaps, move audio stuff aroundJack Humbert1-0/+2
2017-03-29Clarify the quantum license (#1042)skullydazed1-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
2017-02-06Add new DIODE_DIRECTION optionNikolaus Wittenstein1-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.
2016-12-29API Sysex fixesFred Sundvik1-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
2016-11-29Merge branch 'master' of github.com:jackhumbert/qmk_firmware into wu5y7Jack Humbert1-47/+1
2016-11-26remove define checks. didn't work because of include ordering.Priyadi Iman Nurcahyo1-118/+0
2016-11-26add macro error when a required define is missingPriyadi Iman Nurcahyo1-0/+118
2016-11-26Fix unterminated ifndefPriyadi Iman Nurcahyo1-0/+2
2016-11-26PS2 pins configuration belongs to each keyboards config.hPriyadi Iman Nurcahyo1-46/+0
Each keyboard might have different pin configuration. And keeping this here will trigger redefinition warning on keyboards that have PS2 defines.
2016-11-25Removed commentofples1-2/+0
2016-11-25Added missing endif for ifdef __AVR_ATmega32U4__ and removed the unnecessary ↵ofples1-1/+1
one at the end of the file
2016-11-22cleaning up mididJack Humbert1-49/+50
2016-08-25Added pin support for A0-A7IBNobody1-8/+8
Vision Division - It works!
2016-08-22NightlyIBNobody1-0/+9
Only major change to qmk was the addition of A0-A7 pins for the AT90USB
2016-06-24Backlight abstraction and other changes (#439)Jack Humbert1-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
2016-05-24Optimize matrix scanning (#343)Eric Tang1-61/+64
2015-10-26added ergodoxJack Humbert1-0/+116