summaryrefslogtreecommitdiffstats
path: root/tmk_core
Commit message (Collapse)AuthorAgeFilesLines
...
* | Align PS/2 GPIO defines (#14745)Joel Challis2021-10-204-51/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | * Align PS/2 GPIO * Align PS/2 GPIO * refactor more keyboards * Remove more defines * Put back avr/chibios split * format
* | Fix builds for ChibiOS + Cortex-M0[+] (#14879)Nick Brassel2021-10-181-3/+6
| |
* | [Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)Stefan Kerkmann2021-10-187-111/+377
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for RISC-V builds and GD32VF103 MCU * Add toolchain selection in chibios.mk based on the mcu selected in mcu_selection.mk * Reorder and added comments to chibios.mk to have a streamlined makefile * Add GD32VF103 mcu to possible targets for QMK. * Add STM32 compatibility for GD32VF103 MCU, this is hacky but more efficent then rewriting every driver. * Add GigaDevice DFU bootloader as flash target, please note that dfu-util of at least version 0.10 is needed. * Add analog driver compatibility * Add apa102 bitbang driver compatibility * Add ws2812 bitbang driver compatibility * Add eeprom in flash emulation compatibility * Allow faster re-builds with ccache * Add SiPeed Longan Nano to platform files * Add SiPeed Longan Nano Onekeys * Make quine compatible with other bootloaders * Support builds with picolibc * Add risc-v toolchain to arch and debian/ubuntu scripts
* | Add HT32 support to core (#14388)bwisn2021-10-181-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tmk_core: temporary fix to allow HT32 based keyboards to work without patched ChibiOS-contrib (AnnePro2) * HT32: add spi support Add persistent led support with eeprom (#9) * adding HT32 support to chibios SPI master driver update spi driver, fix bad merging with master * HT32: fix formatting HT32: Fix formatting: tmk_core/protocol/chibios/usb_main.c Co-authored-by: Drashna Jaelre <drashna@live.com> * HT32: Apply suggestions from fauxpark's code review Co-authored-by: Ryan <fauxpark@gmail.com> * HT32: update spi driver * ht32: apply code review suggestions, remove old workaround Co-authored-by: tech2077 <tech2077@gmail.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Further tidy up of STM32 eeprom emulation (#14591)Joel Challis2021-10-161-2/+2
| |
* | Enable eeprom with F401xE ld (#14752)Dasky2021-10-081-3/+3
| |
* | Move converter specific tmk_core protocols (#14743)Joel Challis2021-10-078-1561/+3
| |
* | Remove SERIAL_LINK feature (#14727)Joel Challis2021-10-073-21/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove SERIAL_LINK * more stale paths in doxygen-todo * Fix * More refs * Update testing docs * Update doxygen-todo Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Ryan <fauxpark@gmail.com>
* | Purge uGFX. (#14720)Nick Brassel2021-10-071-14/+0
| | | | | | | | | | | | | | * Purge uGFX. * Remove remnants of visualizer. * Remove remnants of uGFX.
* | 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