summaryrefslogtreecommitdiff
path: root/tmk_core
AgeCommit message (Collapse)Author
2021-10-18Fix builds for ChibiOS + Cortex-M0[+] (#14879)Nick Brassel
2021-10-18[Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)Stefan Kerkmann
* 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
2021-10-18Add HT32 support to core (#14388)bwisn
* 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>
2021-10-16Further tidy up of STM32 eeprom emulation (#14591)Joel Challis
2021-10-08Enable eeprom with F401xE ld (#14752)Dasky
2021-10-07Move converter specific tmk_core protocols (#14743)Joel Challis
2021-10-07Remove SERIAL_LINK feature (#14727)Joel Challis
* 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>
2021-10-07Purge uGFX. (#14720)Nick Brassel
* Purge uGFX. * Remove remnants of visualizer. * Remove remnants of uGFX.
2021-10-06Remove sysex API (#14723)Ryan
2021-10-06Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-10-06Added semicolons to rules.mk to allow symlinks from /bin/sh to /bin/zsh to ↵remanifest
complete the filesize check without error. (#14718) Co-authored-by: John Beard <jbeard@pipelinerx.com>
2021-09-30massdrop alt/ctrl: support saving into nvm (#6068)Alexandre d'Alton
* 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>
2021-09-30Added power tracking api (#12691)Purdea Andrei
* 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>
2021-09-29Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-29[Core] Fix "6kro enable" and clarify naming (#14563)Drashna Jaelre
* Fix USB_6KRO_ENABLE compilation errors * Add info to docs * Rename define to be more accurate * Remove unused rule * Refixe docs
2021-09-28Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-29Move "firmware size check skipped" note to message.mk (#14632)Ryan
2021-09-25Initial pass of F405 support (#14584)Joel Challis
* Initial pass of F405 support * remove some conf files * docs * clang
2021-09-21Relocate Adafruit BLE code (#14530)Ryan
2021-09-16[Bug] fix logical minimum in Programmable Button rdesc (#14464)Thomas Weißschuh
2021-09-15[Bug] Fix descriptor for USB Programmable Buttons (#14455)Thomas Weißschuh
2021-09-16Make ChibiOS PAL interactions less STM32 specific - Round 2 (#14456)Joel Challis
2021-09-16core: fix compilation issues with USB programmable buttons (#14454)Thomas Weißschuh
Reported here: https://github.com/qmk/qmk_firmware/pull/12950#issuecomment-920329569
2021-09-15Add Support for USB programmable buttons (#12950)Thomas Weißschuh
2021-09-15Implement F4 eeprom (#14195)Joel Challis
2021-09-15Migrate STM32_EEPROM_ENABLE to use EEPROM_DRIVER (#14433)Joel Challis
2021-09-15Refactor use of _STM32_ defines (#14439)Joel Challis
2021-09-14Refactor use of STM32_SYSCLK (#14430)Joel Challis
* Refactor use of STM32_SYSCLK * clang
2021-09-12Move Bluetooth config to common_features.mk (#14404)Ryan
* 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>
2021-09-12Remove unreferenced IBM4704, Sony NEWS, NeXT keyboard code. (#14380)Nick Brassel
2021-09-09Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-08Backport F_CPU/F_USB hack from system76 (#14286)Drashna Jaelre
Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-05Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-05Fix eeprom for Durgod boards (#14324)Joel Challis
2021-09-05Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-09-05Tidy up defines within STM EEPROM emulation (#14275)Joel Challis
* Tidy up defines within stm eeprom emulation * Fix tests * Resolve todo * Still use page notion in clear * Remove more f4 refs
2021-09-01Change keyboard level include guards to `pragma once` (#14248)Ryan
* Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif
2021-08-30Merge remote-tracking branch 'origin/master' into developQMK Bot
2021-08-31cherry pick tidy up (#14244)Joel Challis
2021-08-30Move feature suspend logic out of platform specific code (#14210)Drashna Jaelre
2021-08-24add wait_cpuclock() macro for AVR and CPU_CLOCK macro (#12755)Takeshi ISHII
2021-08-24Fix Mouse Shared EP functionality (#14136)Drashna Jaelre
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.
2021-08-23eeprom_stm32: implement high density wear leveling (#12567)Donald Kjer
* 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>
2021-08-23Fix typo (#14118)Dasky
2021-08-22Warn when building a board that uses arm_atsam (#10904)Nick Brassel
* Add deprecation warning during build when building a board that uses arm_atsam. * Rewording. * Wording. * Fixup.
2021-08-20Support using a timer for wait_us() on ChibiOS-based boards (#12211)Simon Arlott
* 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>
2021-08-18Move USB Host Shield and Arduino core to `lib/` (#13973)Ryan
2021-08-18Fixup atsam builds. (#14052)Nick Brassel
2021-08-18Migrate platform independent code from tmk_core -> quantum (#13673)Joel Challis
* Migrate action|keyboard|keycode|eeconfig from tmk_core -> quantum
2021-08-18Begin to carve out platform/protocol API - Single main loop (#13843)Joel Challis
* Begin to carve out platform/protocol API * Fix up after rebase