summaryrefslogtreecommitdiffstats
path: root/tmk_core
Commit message (Collapse)AuthorAgeFilesLines
...
* | Remove sysex API (#14723)Ryan2021-10-062-52/+0
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-10-061-2/+2
|\|
| * Added semicolons to rules.mk to allow symlinks from /bin/sh to /bin/zsh to ↵remanifest2021-10-061-2/+2
| | | | | | | | | | complete the filesize check without error. (#14718) Co-authored-by: John Beard <jbeard@pipelinerx.com>
* | massdrop alt/ctrl: support saving into nvm (#6068)Alexandre d'Alton2021-09-301-4/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * support saving into SmartEEPROM Signed-off-by: Alexandre d Alton <alex@alexdalton.org> * atsam: update smarteeprom implementation - Use define for SmartEEPROM buffer address - Check buffer overflow - Do not perform operation when timeout occurs Signed-off-by: Alexandre d'Alton <alex@alexdalton.org> * return 0 instead of ff for invalid address or timeout Signed-off-by: Alexandre d'Alton <alex@alexdalton.org> * clang-format * Add extra bounds checks Co-authored-by: zvecr <git@zvecr.com>
* | Added power tracking api (#12691)Purdea Andrei2021-09-303-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add power tracking API to lufa and chibios targets * power.c: Pass through power state to the notify function * power: added notify_power_state_change_user too. * making it pass the PR linter * Add a POWER_STATE_NO_INIT state, that we start in before calling power_init(); * Rename *power* to *usb_power* * removing stray newline * Rename usb_power* to usb_device_state* * Update quantum/usb_device_state.h Co-authored-by: Drashna Jaelre <drashna@live.com> * Fix comment * usb_device_state.h: Don't include quantum.h, only the necessary headers. Co-authored-by: Drashna Jaelre <drashna@live.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-09-292-5/+15
|\|
| * [Core] Fix "6kro enable" and clarify naming (#14563)Drashna Jaelre2021-09-292-5/+15
| | | | | | | | | | | | | | | | | | | | | | * Fix USB_6KRO_ENABLE compilation errors * Add info to docs * Rename define to be more accurate * Remove unused rule * Refixe docs
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-09-281-1/+1
|\|
| * Move "firmware size check skipped" note to message.mk (#14632)Ryan2021-09-291-1/+1
| |
* | Initial pass of F405 support (#14584)Joel Challis2021-09-251-2/+4
| | | | | | | | | | | | | | | | | | * Initial pass of F405 support * remove some conf files * docs * clang
* | Relocate Adafruit BLE code (#14530)Ryan2021-09-215-939/+0
| |
* | [Bug] fix logical minimum in Programmable Button rdesc (#14464)Thomas Weißschuh2021-09-161-1/+1
| |
* | [Bug] Fix descriptor for USB Programmable Buttons (#14455)Thomas Weißschuh2021-09-151-1/+1
| |
* | Make ChibiOS PAL interactions less STM32 specific - Round 2 (#14456)Joel Challis2021-09-161-0/+2
| |
* | core: fix compilation issues with USB programmable buttons (#14454)Thomas Weißschuh2021-09-161-0/+2
| | | | | | | | Reported here: https://github.com/qmk/qmk_firmware/pull/12950#issuecomment-920329569
* | Add Support for USB programmable buttons (#12950)Thomas Weißschuh2021-09-158-13/+103
| |
* | Implement F4 eeprom (#14195)Joel Challis2021-09-152-5/+53
| |
* | Migrate STM32_EEPROM_ENABLE to use EEPROM_DRIVER (#14433)Joel Challis2021-09-152-48/+10
| |
* | Refactor use of _STM32_ defines (#14439)Joel Challis2021-09-151-12/+17
| |
* | Refactor use of STM32_SYSCLK (#14430)Joel Challis2021-09-142-8/+10
| | | | | | | | | | * Refactor use of STM32_SYSCLK * clang
* | Move Bluetooth config to common_features.mk (#14404)Ryan2021-09-122-46/+0
| | | | | | | | | | | | | | | | | | * Move Bluetooth config to common_features.mk * Update common_features.mk Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
* | Remove unreferenced IBM4704, Sony NEWS, NeXT keyboard code. (#14380)Nick Brassel2021-09-126-776/+0
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-09-091-1/+6
|\|
| * Backport F_CPU/F_USB hack from system76 (#14286)Drashna Jaelre2021-09-081-1/+6
| | | | | | Co-authored-by: Ryan <fauxpark@gmail.com>
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-09-051-2/+2
|\|
| * Fix eeprom for Durgod boards (#14324)Joel Challis2021-09-051-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-09-055-76/+119
|\|
| * Tidy up defines within STM EEPROM emulation (#14275)Joel Challis2021-09-055-76/+119
| | | | | | | | | | | | | | | | | | | | | | * Tidy up defines within stm eeprom emulation * Fix tests * Resolve todo * Still use page notion in clear * Remove more f4 refs
* | Change keyboard level include guards to `pragma once` (#14248)Ryan2021-09-012-9/+2
| | | | | | | | | | | | | | | | | | * Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif
* | Merge remote-tracking branch 'origin/master' into developQMK Bot2021-08-304-39/+6
|\|
| * cherry pick tidy up (#14244)Joel Challis2021-08-314-39/+6
| |
* | Move feature suspend logic out of platform specific code (#14210)Drashna Jaelre2021-08-303-179/+6
|/
* add wait_cpuclock() macro for AVR and CPU_CLOCK macro (#12755)Takeshi ISHII2021-08-242-5/+8
|
* Fix Mouse Shared EP functionality (#14136)Drashna Jaelre2021-08-241-1/+2
| | | Specifically, if you enable the shared endpoint for mouse reports (or keyboard, which force enables it for mouse), and you don't have mousekeys enabled, it does not properly enable shared mouse EP for pointing device (which uses mouse reports). This cause it to error out in compiling. This fixes up some of the logic to ensure that all use cases are supported, and consolidates some of the code.
* eeprom_stm32: implement high density wear leveling (#12567)Donald Kjer2021-08-237-176/+1206
| | | | | | | | | | | | | | | * eeprom_stm32: implement wear leveling Update EECONFIG_MAGIC_NUMBER eeprom_stm32: check emulated eeprom size is large enough * eeprom_stm32: Increasing simulated EEPROM density on stm32 * Adding utility script to decode emulated eeprom * Adding unit tests * Applying qmk cformat changes * cleaned up flash mocking * Fix for stm32eeprom_parser.py checking via signature with wrong base * Fix for nk65 keyboard Co-authored-by: Ilya Zhuravlev <whatever@xyz.is> Co-authored-by: zvecr <git@zvecr.com>
* Fix typo (#14118)Dasky2021-08-231-1/+1
|
* Warn when building a board that uses arm_atsam (#10904)Nick Brassel2021-08-221-0/+11
| | | | | | | | | * Add deprecation warning during build when building a board that uses arm_atsam. * Rewording. * Wording. * Fixup.
* Support using a timer for wait_us() on ChibiOS-based boards (#12211)Simon Arlott2021-08-204-79/+127
| | | | | | | | | | | | | | | | | | | | | * Support using a timer for wait_us() on ChibiOS-based boards (#12198) There are spare GPT timers that can be used to get a more accurate wait_ms() time. This is required for the matrix scan unselect delay (30µs) to be shorter than the system tick rate of 100µs. This is limited to the maximum GPT duration of 65535 so values above that will automatically use the previous implementation based on the system tick. Using a specific timer means it can't be shared by another thread at the same time so when wait_us() is called from anything other than the main thread it will use the system tick implementation too. * Update tmk_core/common/chibios/wait.c * Update tmk_core/common/chibios/wait.c Co-authored-by: Joel Challis <git@zvecr.com>
* Move USB Host Shield and Arduino core to `lib/` (#13973)Ryan2021-08-18182-42441/+6
|
* Fixup atsam builds. (#14052)Nick Brassel2021-08-181-1/+1
|
* Migrate platform independent code from tmk_core -> quantum (#13673)Joel Challis2021-08-1817-4813/+2
| | | * Migrate action|keyboard|keycode|eeconfig from tmk_core -> quantum
* Begin to carve out platform/protocol API - Single main loop (#13843)Joel Challis2021-08-1810-118/+191
| | | | | * Begin to carve out platform/protocol API * Fix up after rebase
* Move chibios board files to allow tmk_core platform migration (#13777)Joel Challis2021-08-181-19/+19
| | | | | * Move board files * fix up after rebase
* Relocate platform specific drivers (#13894)Joel Challis2021-08-174-5/+1
| | | | | | | * Relocate platform specific drivers * Move stm eeprom * Tidy up slightly
* Fixes for clang not being able to run unit tests (#13546)Donald Kjer2021-08-182-0/+12
|
* Digitizer HID interface : absolute coordinates for mouse cursor (#12851)a-chol2021-08-1811-6/+280
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add digitizer HID interface for setting the mouse cursor position at absolute screen coordinates. Tested on Pro Micro, Proton C and Blackpill. * Update docs/feature_digitizer.md Co-authored-by: Ryan <fauxpark@gmail.com> * Update tmk_core/protocol/usb_descriptor.c Co-authored-by: Ryan <fauxpark@gmail.com> * Add missing copyrights Add V-USB support * Add support for digitizer dedicated endpoint for lufa and chibios. Fix formatting issues Move digitizer_task definition to the feature's base implementation file * Run cformat on modified files * Change digitizer report usage to Digitizer instead of Pen to avoid pointer disappearing on Windows. * Update tmk_core/protocol/vusb/vusb.c Co-authored-by: Ryan <fauxpark@gmail.com> * Run cformat from docker image * Remove send_digitizer from host_driver_t and instead rely on the declaration being the interface to the implementation in each HW-specific usb implementation. * Fix build : send_digitizer shouldn't be static in vusb and add weak-linkage implementation for tests without usb implementation * Change digitizer user interface to match pointing device's * Update documentation with new API Co-authored-by: a-chol <nothing@none.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* Fix Indicator LED issues (#12097)50an6xy06r6n2021-08-182-3/+3
|
* Add alternate ldscript for STM32duino (F103xB) (#12914)Ryan2021-08-181-0/+1
| | | | | | | * Add alternate ldscript for STM32duino (F103xB) * Refactor out common ldscript stuff * Move ldscripts into stm32duino board dir, add search path to ldflags
* Unify behaviour of wait on AVR (#14025)Joel Challis2021-08-161-2/+20
|
* Move all the flash logic from tmk_core (#13927)Joel Challis2021-08-153-269/+0
|