1093 Commits (0093d3d761e60a31bb2a15a5859dbd0c08ef9999)

Author SHA1 Message Date
Joel Challis 0093d3d761
Initial USB2422 driver (#14835) 4 years ago
Joel Challis 1b1f3ec68e
Split out arm_atsam shift register logic (#14848) 4 years ago
Joel Challis 1b93d576f8
Fix ccache default (#14906) 4 years ago
Joel Challis b36e0c6658
Move USE_CCACHE logic to common location (#14899) 4 years ago
Joel Challis d4be4b67a2
Relocate PS2 code (#14895)
* Relocate ps2 protocol code

* clang

* Move makefile logic
4 years ago
Joel Challis 5500c428dd
Rename platform SRC variable (#14894) 4 years ago
Joel Challis 84d5198ef9
Align PS/2 GPIO defines (#14745)
* Align PS/2 GPIO

* Align PS/2 GPIO

* refactor more keyboards

* Remove more defines

* Put back avr/chibios split

* format
4 years ago
Nick Brassel d9be6dea3a
Fix builds for ChibiOS + Cortex-M0[+] (#14879) 4 years ago
Stefan Kerkmann e50867d52d
[Core] Add support for RISC-V builds and GD32VF103 MCU (#12508)
* 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
4 years ago
bwisn 7e3ff206b8
Add HT32 support to core (#14388)
* 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>
4 years ago
Joel Challis 83e978da1f
Further tidy up of STM32 eeprom emulation (#14591) 4 years ago
Dasky 7b753f227a
Enable eeprom with F401xE ld (#14752) 4 years ago
Joel Challis e0d688d4c8
Move converter specific tmk_core protocols (#14743) 4 years ago
Joel Challis 1c0347b8b8
Remove SERIAL_LINK feature (#14727)
* 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>
4 years ago
Nick Brassel b2a186cf92
Purge uGFX. (#14720)
* Purge uGFX.

* Remove remnants of visualizer.

* Remove remnants of uGFX.
4 years ago
Ryan d8f0c8783a
Remove sysex API (#14723) 4 years ago
QMK Bot 181ba6bbbb Merge remote-tracking branch 'origin/master' into develop 4 years ago
remanifest 4782e038d9
Added semicolons to rules.mk to allow symlinks from /bin/sh to /bin/zsh to complete the filesize check without error. (#14718)
Co-authored-by: John Beard <jbeard@pipelinerx.com>
4 years ago
Alexandre d'Alton 90797d903c
massdrop alt/ctrl: support saving into nvm (#6068)
* 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>
4 years ago
Purdea Andrei b02a539625
Added power tracking api (#12691)
* 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>
4 years ago
QMK Bot be3d7063a0 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre 02ab7b1888
[Core] Fix "6kro enable" and clarify naming (#14563)
* Fix USB_6KRO_ENABLE compilation errors

* Add info to docs

* Rename define to be more accurate

* Remove unused rule

* Refixe docs
4 years ago
QMK Bot 4b9b9ebff4 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Ryan 873a1999bb
Move "firmware size check skipped" note to message.mk (#14632) 4 years ago
Joel Challis 3a2a39e5ec
Initial pass of F405 support (#14584)
* Initial pass of F405 support

* remove some conf files

* docs

* clang
4 years ago
Ryan 20ea5f3fb5
Relocate Adafruit BLE code (#14530) 4 years ago
Thomas Weißschuh 5fb6d57f36
[Bug] fix logical minimum in Programmable Button rdesc (#14464) 4 years ago
Thomas Weißschuh ceaf35c741
[Bug] Fix descriptor for USB Programmable Buttons (#14455) 4 years ago
Joel Challis 84dba25533
Make ChibiOS PAL interactions less STM32 specific - Round 2 (#14456) 4 years ago
Thomas Weißschuh 58d72ad795
core: fix compilation issues with USB programmable buttons (#14454)
Reported here:
https://github.com/qmk/qmk_firmware/pull/12950#issuecomment-920329569
4 years ago
Thomas Weißschuh 83988597f4
Add Support for USB programmable buttons (#12950) 4 years ago
Joel Challis 1a68feb842
Implement F4 eeprom (#14195) 4 years ago
Joel Challis fa141a5a8f
Migrate STM32_EEPROM_ENABLE to use EEPROM_DRIVER (#14433) 4 years ago
Joel Challis a78f0e8a0b
Refactor use of _STM32_ defines (#14439) 4 years ago
Joel Challis 0ca4a56a04
Refactor use of STM32_SYSCLK (#14430)
* Refactor use of STM32_SYSCLK

* clang
4 years ago
Ryan bcf4551f74
Move Bluetooth config to common_features.mk (#14404)
* 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>
4 years ago
Nick Brassel d0ac03ec8b
Remove unreferenced IBM4704, Sony NEWS, NeXT keyboard code. (#14380) 4 years ago
QMK Bot ac4849df13 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Drashna Jaelre 6d43a5daf4
Backport F_CPU/F_USB hack from system76 (#14286)
Co-authored-by: Ryan <fauxpark@gmail.com>
4 years ago
QMK Bot 6ca09c6bba Merge remote-tracking branch 'origin/master' into develop 4 years ago
Joel Challis 1a494da288
Fix eeprom for Durgod boards (#14324) 4 years ago
QMK Bot 147289e173 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Joel Challis 8d6d8cfadf
Tidy up defines within STM EEPROM emulation (#14275)
* Tidy up defines within stm eeprom emulation

* Fix tests

* Resolve todo

* Still use page notion in clear

* Remove more f4 refs
4 years ago
Ryan 41c50bb653
Change keyboard level include guards to `pragma once` (#14248)
* Change keyboard level include guards to `pragma once`

And clean up a lot of layout macros

* Oops

* Remove dangling endif
4 years ago
QMK Bot 4d4c61f2e8 Merge remote-tracking branch 'origin/master' into develop 4 years ago
Joel Challis f2c9e82e5b
cherry pick tidy up (#14244) 4 years ago
Drashna Jaelre 15710db4ad
Move feature suspend logic out of platform specific code (#14210) 4 years ago
Takeshi ISHII c9c60d227e
add wait_cpuclock() macro for AVR and CPU_CLOCK macro (#12755) 4 years ago
Drashna Jaelre 6fd20acf4b
Fix Mouse Shared EP functionality (#14136)
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.
4 years ago
Donald Kjer e756a21636
eeprom_stm32: implement high density wear leveling (#12567)
* 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>
4 years ago