summaryrefslogtreecommitdiffstats
path: root/tmk_core/common.mk
Commit message (Collapse)AuthorAgeFilesLines
* Refactor of USB code within split_common (#11890)Joel Challis2021-02-281-0/+1
| | | | | | | | | | | * Initial refactor of usb code within split_common * Add headers * Correct disable condition * Format * Align func name
* Overhaul bootmagic logic to have single entrypoint (#8532)Joel Challis2021-02-281-22/+0
| | | | | * Relocate bootmagic logic to have single entrypoint * Align init of layer state
* Refactor platform logic within print.h (#11863)Joel Challis2021-02-141-14/+5
| | | | | | | | | | | | | | | | | | | | | | | * Remove GCC check from debug * Remove platform logic from common.mk * Refactor platform logic within print.h * restore debug.c format * headers * Rename function pointer type * review comments * Update tmk_core/common/printf.c Co-authored-by: Nick Brassel <nick@tzarc.org> * Format Co-authored-by: Nick Brassel <nick@tzarc.org>
* Merge remote-tracking branch 'origin/master' into developQMK Bot2021-02-071-6/+0
|\
| * Migrate some tmk_core files to quantum (#11791)Joel Challis2021-02-071-6/+0
| | | | | | | | | | * Migrate some tmk_core files to quantum * Fix build errors
* | Migrate mousekey to quantum (#11804)Joel Challis2021-02-071-4/+0
| |
* | [Split] Sync Timer feature (#10997)XScorpion22020-12-011-0/+1
|/ | | A timer that is kept in sync between the halves of a split keyboard
* Add description in Bluetooth docs for requiring NKRO to be disabled (#10359)Peter Landoll2020-09-221-3/+7
|
* Output an error message if LINK_TIME_OPTIMIZATION_ENABLE is set but ↵David Cuthbert2020-09-171-0/+2
| | | | | | | | | LTO_ENABLE is not (#10217) * Output an error message if LINK_TIME_OPTIMIZATION_ENABLE is set but LTO_ENABLE is not. * Update common.mk Specify that LINK_TIME_OPTIMZATION_ENABLE has been renamed, not deprecated.
* Remove support for Adafruit EZ-Key (#10103)Ryan2020-08-291-6/+0
| | | | | | | | | * Remove support for Adafruit EZ-Key * Update docs/ja/feature_bluetooth.md Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com> Co-authored-by: Takeshi ISHII <2170248+mtei@users.noreply.github.com>
* Better handle LTO_ENABLE (#9832)Drashna Jaelre2020-08-291-6/+3
| | | | | | | | | * Better handle LTO_ENABLE Especially when calling from command line * Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE * Remove long for LTO from show_options.mk
* Disable NKRO on V-USB controllers (#9054)Drashna Jaelre2020-08-291-2/+6
| | | | | | | | | * Disable NKRO on V-USB controllers * not _currently_ supported text Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Additional cleanups for V-USB code (#9310)Ryan2020-08-291-4/+0
|
* 2020 May 30 Breaking Changes Update (#9215)James Young2020-05-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Branch point for 2020 May 30 Breaking Change * Migrate `ACTION_LAYER_TOGGLE` to `TG()` (#8954) * Migrate `ACTION_MODS_ONESHOT` to `OSM()` (#8957) * Migrate `ACTION_DEFAULT_LAYER_SET` to `DF()` (#8958) * Migrate `ACTION_LAYER_MODS` to `LM()` (#8959) * Migrate `ACTION_MODS_TAP_KEY` to `MT()` (#8968) * Convert V-USB usbdrv to a submodule (#8321) * Unify Tap Hold functions and documentation (#8348) * Changing board names to prevent confusion (#8412) * Move the Keyboardio Model01 to a keyboardio/ subdir (#8499) * Move spaceman keyboards (#8830) * Migrate miscellaneous `fn_actions` entries (#8977) * Migrate `ACTION_MODS_KEY` to chained mod keycodes (#8979) * Organizing my keyboards (plaid, tartan, ergoinu) (#8537) * Refactor Lily58 to use split_common (#6260) * Refactor zinc to use split_common (#7114) * Add a message if bin/qmk doesn't work (#9000) * Fix conflicting types for 'tfp_printf' (#8269) * Fixed RGB_DISABLE_AFTER_TIMEOUT to be seconds based & small internals cleanup (#6480) * Refactor and updates to TKC1800 code (#8472) * Switch to qmk forks for everything (#9019) * audio refactor: replace deprecated PLAY_NOTE_ARRAY (#8484) * Audio enable corrections (2/3) (#8903) * Split HHKB to ANSI and JP layouts and Add VIA support for each (#8582) * Audio enable corrections (Part 4) (#8974) * Fix typo from PR7114 (#9171) * Augment future branch Changelogs (#8978) * Revert "Branch point for 2020 May 30 Breaking Change"
* Revert "Fix conflicting types for 'tfp_printf' (#8269)"skullY2020-05-041-8/+1
| | | | This reverts commit e17b55e33ad5b3dcefcf7b828ac99aeb2daeeae2.
* Fix conflicting types for 'tfp_printf' (#8269)Joel Challis2020-05-031-1/+8
| | | | | | | | | | | | | * Refactor to use mpaland/printf * trim firmware size * remove keymap changes * run clang format * Fixup after rebase * fix up git-submodule command for printf
* Initial vusb console support (#8559)Joel Challis2020-05-031-0/+1
|
* Fix compile issues related to NO_ACTION_MACRO/FUNCTION and LTO_ENABLE (#8663)Konstantin Đorđević2020-04-091-2/+0
| | | | | | | | | | | | | | | | * Define NO_ACTION_MACRO/FUNCTION in header instead of makefile when LTO is enabled Currently, boards and keymaps that define NO_ACTION_MACRO/FUNCTION unconditionally will not compile with LTO_ENABLE (#8604). This fixes the issue by moving the definitions from common.mk to action.h, which enables us to check for previous definitions of those macros (this cannot be done in a makefile). * Remove LTO checks in templates Since now NO_ACTION_MACRO/FUNCTION are defined as needed in action.h (which is included by quantum.h), checking for LTO in keyboard and user code is no longer required. * Update LTO_ENABLE docs
* Align some ChibiOS build logic (#8461)Joel Challis2020-03-221-5/+0
| | | | | | | * Align some ChibiOS build logic * infer more makefile logic * Move bootloader logic to chibios file
* Add support for Bootmagic lite when using SPLIT_HAND_PIN (#8347)Joel Challis2020-03-211-0/+2
| | | | | | | | | * Add support for Bootmagic lite when using SPLIT_HAND_PIN * Deduplicate bootmagic_lite logic from within via * Revert location of defaults so that user overrides still work for now * Tidy up code slightly
* Initial arm->chibios pass - simplify some platform logic (#8450)Joel Challis2020-03-211-12/+2
|
* Unconditionally enable ChibiOS syscalls (#8268)Joel Challis2020-03-011-12/+2
| | | | | | * Enable syscalls all the time * fix whitespace
* 2020 February 29 Breaking Changes Update (#8064)James Young2020-02-291-0/+5
|
* Add customisable EEPROM driver selection (#7274)Nick Brassel2020-01-241-27/+3
| | | | | | | | | - uprintf -> dprintf - Fix atsam "vendor" eeprom. - Bump Kinetis K20x to 64 bytes, too. - Rollback Kinetis to 32 bytes as partitioning can only be done once. Add warning about changing the value. - Change RAM-backed "fake" EEPROM implementations to match eeconfig's current usage. - Add 24LC128 by request.
* Remove `KEYMAP_SECTION_ENABLE` (#7882)fauxpark2020-01-171-12/+0
|
* [Core] Add short form LTO_ENABLE (#7259)Drashna Jaelre2019-11-041-0/+3
| | | For drashna's sanity's sake
* Move tmk_core/common/backlight to quantum/backlight (#6710)Joel Challis2019-10-171-5/+0
| | | | | | | | | | | | * Move tmk_core/common/backlight to quantum/backlight * Add guards to backlight inclusion * Add guards to backlight inclusion * Update backlight guards on clueboard/60 * Use full paths to avoid vpath issues
* Add option to enable LTO easily (#5674)Drashna Jaelre2019-05-021-0/+7
| | | | | | | | * Add option to enable LTO easily and disable features that cause compiling errors with LTO * Add documentation about LTO option * Add to show_options
* Add Satisfaction75 to QMK, Enable EEPROM on stm32f072 (#5094)Andrew Kannan2019-02-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add stm32f072 base ck4x4 to handwired * add prints * Save these tries * Save changes again * Working hadron oled * OLEd working but ws2812b still iffy: * save another try * Encoder feature + OLED * RTC code * Implement clock setting mode * Whitespace * Encoder hooked up to working LED PWM code * Add missing files * eeprom changes * Save changes * Move i2c master * Move satisfaction75 under cannonkeys * Set proper default folder * Revert some core changes * Undo paved iris changes * Reorganize code for maintainability and prep for new features * Add starting code for clock OLED mode * Clock set mode finished * Add custom encoder modes * Actually add VIA keymap * Gate to only 072 * fix gate for only 072 * Update header guards and includes * Update i2c selection strategy * Update board.c to handle software reset to DFU
* Use a single endpoint for HID reports (#3951)James Laird-Wah2018-11-151-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Unify multiple HID interfaces into one This reduces the number of USB endpoints required, which frees them up for other things. NKRO and EXTRAKEY always use the shared endpoint. By default, MOUSEKEY also uses it. This means it won't work as a Boot Procotol mouse in some BIOSes, etc. If you really think your keyboard needs to work as a mouse in your BIOS, set MOUSE_SHARED_EP = no in your rules.mk. By default, the core keyboard does not use the shared endpoint, as not all BIOSes are standards compliant and that's one place you don't want to find out your keyboard doesn't work.. If you are really confident, you can set KEYBOARD_SHARED_EP = yes to use the shared endpoint here too. * unify endpoints: ChibiOS protocol implementation * fixup: missing #ifdef EXTRAKEY_ENABLEs broke build on AVR with EXTRAKEY disabled * endpoints: restore error when too many endpoints required * lufa: wait up to 10ms to send keyboard input This avoids packets being dropped when two reports are sent in quick succession (eg. releasing a dual role key). * endpoints: fix compile on ARM_ATSAM * endpoint: ARM_ATSAM fixes No longer use wrong or unexpected endpoint IDs * endpoints: accommodate VUSB protocol V-USB has its own, understandably simple ideas about the report formats. It already blasts the mouse and extrakeys through one endpoint with report IDs. We just stay out of its way. * endpoints: document new endpoint configuration options * endpoints: respect keyboard_report->mods in NKRO The caller(s) of host_keyboard_send expect to be able to just drop modifiers in the mods field and not worry about whether NKRO is in use. This is a good thing. So we just shift it over if needs be. * endpoints: report.c: update for new keyboard_report format
* Fix Spacing issue in makefile that breaks Terminal configDrashna Jaelre2018-11-061-1/+1
|
* Fix Terminal feature on ChibiOSDrashna Jaelre2018-11-061-1/+3
|
* Add Bootmagic Lite to QMK (#4215)Drashna Jaelre2018-10-271-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Preliminary additon of bootmagic lite functionality * Cleanup code * Clean up bootmagic code * Add documentation and clean up code * Make 'lite' an option for BOOTMAGIC_ENABLE * Update Templates with note about Bootmagic Lite option * Detect Debounce variable * Make sure debounce is a non-zero number * Capitalize Bootmagic * Capitalize bootmagic * Update wording * Re-add EEPROM reset, by popular demand And add eeprom-less version to drashna userspace for his sanity * Fix spacing * Set BOOTMAGIC_ENABLE to use full/lite/off And default yes to "full" for compatibility * Add Bootmagic lite info to templates * Remove text from makefiles * Cleanup of makefile * mention yes in bootmagic docs * Wordsmitthing the docs * Fix white spaces * Readd default bootmagic setting, because it's necessary
* stm32f1xx EEPROM emulation (#3914)Takuya Urakawa2018-10-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | * * Add stm32f1xx EEPROM emulation * Fix eeprom update compare bug Squashed commit of the following: commit b8f248ae08cec0cd81ecbb8854d9b39221d4d573 Author: hsgw <urkwtky@gmail.com> Date: Sat Sep 15 19:13:48 2018 +0900 fix EEPROM_update wrong compare commit d4ed4e6ea864e967a3e17f7edee4b0c3b4a25541 Author: hsgw <urkwtky@gmail.com> Date: Sat Sep 15 17:43:47 2018 +0900 eeprom fix initialization define commit b61aa7c04d70c64df3416d63e5da08b73b6053af Author: hsgw <urkwtky@gmail.com> Date: Sat Sep 15 16:33:40 2018 +0900 maybe working * Fix FLASH_KEY defines
* Massdrop keyboards console device support for hid_listenpatrickmt2018-10-101-0/+1
| | | | | | Added hid_listen USB device for arm_atsam USB protocol. Debug printing is now done through the console device (CONSOLE_ENABLE = yes) rather than the virtser device, for viewing in hid_listen. Function dpf(...) renamed to CDC_printf(...) and should now be called directly if intending to print to the virtual serial device.
* STM32 EEPROM Emulation (#3741)yiancar2018-08-291-1/+6
| | | | | | | | | | | | * STM32 EEPROM Emulation - Added EEPROM emulation libaries from libmaple and Arduino_STM32. https://github.com/rogerclarkmelbourne/Arduino_STM32 and https://github.com/leaflabs/libmaple. - Renamed teensy EEPROM library and added conditional selection of library. - Remapped EEPROM memory map for 16 byte blocks (as is with STM32f3xx MCUs). - Added EEPROM initialization in main.c of Chibios. - Added EEPROM format to clear the emulated pages when EEPROM is marked as invalid. * Fixed ifdef
* Massdrop keyboard support (#3780)patrickmt2018-08-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Massdrop SAMD51 Massdrop SAMD51 keyboards initial project upload * Removing relocated files Removing files that were relocated and not deleted from previous location * LED queue fix and cleaning Cleaned some white space or comments. Fix for LED I2C command queue. Cleaned up interrupts. Added debug function for printing numbers to scope through m15 line. * Factory programmed serial usage Ability to use factory programmed serial in hub and keyboard usb descriptors * USB serial number and bugfix Added support for factory programmed serial and usage. Incorporated bootloader's conditional compiling to align project closer. Fixed issue when USB device attempted to send before enabled. General white space and comment cleanup. * Project cleanup Cleaned up project in terms of white space, commented code, and unecessary files. NKRO keyboard is now using correct setreport although KBD was fine to use. Fixed broken linkage to __xprintf for serial debug statements. * Fix for extra keys Fixed possible USB hang on extra keys report set missing * I2C cleanup I2C cleanup and file renames necessary for master branch merge * Boot tracing and clocks cleanup Added optional boot debug trace mode through debug LED codes. General clock code cleanup. * Relocate ARM/Atmel headers Moved ARM/Atmel header folder from drivers to lib and made necessary makefile changes. * Pull request changes Pull request changes * Keymap and compile flag fix Keymap fix for momentary layer. Potential compile flag fix for Travis CI failure. * va_list include fix Fix for va_list compile failure * Include file case fixes Fixes for include files with incorrect case * ctrl and alt67 keyboard readme Added ctrl and alt67 keyboard readme files
* add syscalls.c if autoshift is enabled, to fix compile issue on ChibiOSU-LANDSRAAD\drashna2018-03-251-0/+3
|
* Rename ONEHAND_ENABLE to SWAP_HANDS_ENABLE for consistencyJoe Wasson2018-03-161-2/+5
|
* Move functionality from action_util to reportFred Sundvik2017-06-181-0/+1
| | | | | The functions also takes report_kebyoard_t parameters, so that they can be used elsewhere.
* Emulate eepromFred Sundvik2017-06-181-0/+4
|
* Rename native to testFred Sundvik2017-06-181-1/+1
|
* Empty implementation of bootloader, suspend and timerFred Sundvik2017-06-181-0/+2
|
* Use variable to disable usb check at startupyiancar2017-05-261-6/+14
| | | | | | Adds a define variable which when defined disables the usb startup check. Modified the makefile to separate above define from bluetooth dependancy
* Add RN42 Bluetooth module supportTravis La Marr2017-03-291-0/+5
| | | | Added support for sending HID keycodes over the RN42/reflashed HC05 module. Tested on OS X and iOS.
* Add BLE and EZKey module defines.Travis La Marr2017-03-241-0/+2
| | | | Also restored serial init back to original location. Was getting junk data.
* Refactor Bluetooth HandlingTravis La Marr2017-03-241-4/+8
| | | | | | | | | | | | | | | Refactored Bluetooth support to make adding new Bluetooth modules easier in the future. * Remove `OUT_BLE` key from QMK's keymap. `OUT_BT` is all we need now as there's no difference anymore. * Made BLUETOOTH_ENABLE build option legacy as not to break existing keymaps (Falls back to existing EZ Key support if on) * Removed `ADAFRUIT_BLE_ENABLE` build option * Created new build option `BLUETOOTH` with module option (Currently `AdafruitEZKey` & `AdafruitBLE`) * Moved all LUFA bluetooth key/mouse events under `BLUETOOTH_ENABLE` ifdef with selected modules output.
* Got ps2avrGB to work with the V-USB protocolLuiz Ribeiro2017-01-211-0/+8
|
* Merge pull request #921 from Wilba6582/raw_hidJack Humbert2016-12-051-0/+4
|\ | | | | Initial version of Raw HID interface
| * Initial version of Raw HID interfaceWilba65822016-12-011-0/+4
| |