Commit Graph
100 Commits
Author SHA1 Message Date
Joel Challis b780c797be Migrate makefile utilities to sub-directory (#14917) 2021-10-28 01:07:53 +01:00
Joel Challis 2ec268bd21 Begin to carve out platform/protocol API - Migrate keyboard_* calls (#14888) 2021-10-24 20:39:41 +01:00
Joel Challis 19b9e406dc Align usbasp flashing behaviour (#14928) 2021-10-24 14:18:57 +01:00
Joel Challis b9c9f3759a Remove legacy handling for ErgoDox Infinity handedness (#14919) 2021-10-22 21:17:07 -07:00
Joel Challis 0093d3d761 Initial USB2422 driver (#14835) 2021-10-22 00:49:58 +01:00
Joel Challis 1b1f3ec68e Split out arm_atsam shift register logic (#14848) 2021-10-22 00:49:38 +01:00
Joel Challis 1b93d576f8 Fix ccache default (#14906) 2021-10-22 10:21:43 +11:00
Joel Challis b36e0c6658 Move USE_CCACHE logic to common location (#14899) 2021-10-21 14:39:13 +01:00
Joel ChallisandFredric Silberberg 1816006121 Tidy up LCD_ENABLE/visualizer references (#14855)
* Tidy up LCD_ENABLE/visualizer references

* Fix up my (333fred) ergodox keymap with new LCD driver

Co-authored-by: Fredric Silberberg <fred@silberberg.xyz>
2021-10-20 21:27:46 +01:00
Joel Challis d4be4b67a2 Relocate PS2 code (#14895)
* Relocate ps2 protocol code

* clang

* Move makefile logic
2021-10-20 21:18:49 +01:00
Joel Challis 5500c428dd Rename platform SRC variable (#14894) 2021-10-20 21:04:23 +01:00
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
2021-10-20 20:07:40 +01:00
Joel ChallisandRyan 01b702bece Split out HAPTIC_ENABLE to have separate DRIVER option (#14854)
* DRIVER -> ENABLE

* Update generic_features.mk

Co-authored-by: Ryan <fauxpark@gmail.com>

* Update common_features.mk

Co-authored-by: Ryan <fauxpark@gmail.com>
2021-10-18 12:55:44 +01:00
Joel Challis ad2b017ee6 Remove legacy Makefile functionality (#14858) 2021-10-18 00:15:26 +01:00
Joel Challis bd2f8ab88a Infer more when building features (#13890) 2021-10-17 22:37:48 +01:00
Joel Challis 83e978da1f Further tidy up of STM32 eeprom emulation (#14591) 2021-10-16 02:58:48 +01:00
Joel Challis 40bc5a8192 Enable CLI flashing via mdloader (#14729)
* Enable CLI flashing via mdloader

* remove flag

* Update qmk flash help
2021-10-15 22:07:33 +01:00
Joel Challis f895e966b7 Fix OLED timeout on recent qwiic migrations (#14775) 2021-10-10 00:23:10 +01:00
Joel Challis dace4d5f0d Remove QWIIC_DRIVERS (#14174) 2021-10-09 14:48:27 +01:00
Joel Challis 22cafb9a20 Migrate satisfaction75 away from QWIIC_DRIVERS (#14747)
* stash

* refactor old draw

* refactor old draw - tidy

* refactor old draw - tidy

* refactor old draw - reorder for diffs

* refactor old draw - reorder for diffs
2021-10-09 14:46:47 +01:00
Joel Challis 00fd404433 Put back eeconfig_update_ functions (#14751) 2021-10-08 13:44:07 +01:00
Joel Challis e0d688d4c8 Move converter specific tmk_core protocols (#14743) 2021-10-07 23:14:26 +01:00
Joel ChallisandRyan 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>
2021-10-07 12:32:05 +11:00
Joel Challis 60297a1099 Reuse of EEPROM debounce logic (#14699)
* reuse rgb debounce logic

* Refactor led matrix

* Remove log line

* timeout should not be hard coded
2021-10-07 01:47:14 +01:00
Joel Challis 951331cd8d Fix i2c_readReg16 (#14730) 2021-10-07 11:45:59 +11:00
Joel Challis 3a2a39e5ec Initial pass of F405 support (#14584)
* Initial pass of F405 support

* remove some conf files

* docs

* clang
2021-09-25 00:19:41 +01:00
Joel Challis 84dba25533 Make ChibiOS PAL interactions less STM32 specific - Round 2 (#14456) 2021-09-16 08:18:58 +10:00
Joel Challis 1a68feb842 Implement F4 eeprom (#14195) 2021-09-15 16:30:26 +01:00
Joel Challis fa141a5a8f Migrate STM32_EEPROM_ENABLE to use EEPROM_DRIVER (#14433) 2021-09-15 01:21:36 -07:00
Joel Challis a78f0e8a0b Refactor use of _STM32_ defines (#14439) 2021-09-15 11:19:51 +10:00
Joel Challis 0ca4a56a04 Refactor use of STM32_SYSCLK (#14430)
* Refactor use of STM32_SYSCLK

* clang
2021-09-14 12:18:36 +10:00
Joel Challis 219d955787 Migrate boston_meetup/2019 away from QWIIC_DRIVERS (#14413) 2021-09-13 15:00:17 +01:00
Joel Challis cb4346edb7 Migrate hadron away from QWIIC_DRIVERS (#14415) 2021-09-13 14:59:53 +01:00
Joel ChallisandRyan 0fa217a5b7 Align ChibiOS I2C defs with other drivers (#14399)
* Align ChibiOS I2C defs with other drivers

* Update keyboards/xelus/valor_frl_tkl/config.h

Co-authored-by: Ryan <fauxpark@gmail.com>

Co-authored-by: Ryan <fauxpark@gmail.com>
2021-09-12 15:41:33 +01:00
Joel Challis 7f80076d04 Align rgb/led matrix docs with current behaviour (#14367) 2021-09-10 03:57:36 +01:00
Joel Challis 2e0659f7fd Fixes for recent i2c migrations (#14352) 2021-09-08 15:44:18 -07:00
Joel Challis 60c5bd7b5e handwired/dactyl - Refactor use of legacy i2c implementation (#14344) 2021-09-07 18:23:11 -07:00
Joel Challis 04c0704b28 3w6 - Refactor use of AVR only I2C functions (#14339)
* Refactor use of legacy i2c functions

* Align rev2

* Review fixes
2021-09-07 16:35:13 +01:00
Joel Challis e7a5c006d9 Refactor use of legacy i2c implementation (#14341) 2021-09-07 16:34:59 +01:00
Joel Challis 2d6635214a ergodone - Refactor use of legacy i2c implementation (#14340)
* Refactor use of legacy i2c implementation

* copy-paste error
2021-09-07 16:33:29 +01:00
Joel Challis 1a494da288 Fix eeprom for Durgod boards (#14324) 2021-09-05 23:56:10 +01:00
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
2021-09-05 21:36:43 +01:00
Joel Challis f2c9e82e5b cherry pick tidy up (#14244) 2021-08-31 00:25:41 +01:00
Joel Challis 87cdb1cf9a Update readme files (#14172) 2021-08-26 16:53:24 +01:00
Joel Challis 48d0ad28e7 Move to correct location (#14171) 2021-08-26 14:14:48 +01:00
Joel Challis 527b1e52aa Move nix folder alongside vagrant (#14132) 2021-08-25 15:27:48 +01:00
Joel Challis a84de5e22b Revert 14083 && 14144 (#14150)
* Revert "Short term bodge for firmware size bloat (#14144)"

This reverts commit a8d6547346.

* Revert "Tidy up quantum.c now some of tmk_core has been merged (#14083)"

This reverts commit c4dbf4bf01.
2021-08-25 01:16:59 +01:00
Joel Challis 622c3cac3a Fix merge artifacts (#14146) 2021-08-24 17:18:25 +01:00
Joel Challis 2cade3a483 Align some quantum sub-directories (#14134)
* Misc folder tidy

* Review comments

* Remove redundant entry
2021-08-24 17:07:11 +01:00
Joel Challis a8d6547346 Short term bodge for firmware size bloat (#14144) 2021-08-24 16:09:23 +01:00
Joel Challis c4dbf4bf01 Tidy up quantum.c now some of tmk_core has been merged (#14083) 2021-08-24 14:28:37 +01:00
Joel Challis 47a38c3f0e Remove more unused files (#14135) 2021-08-24 14:02:53 +10:00
Joel Challis c1add5d0e2 Restore layout count validation (#14068) 2021-08-20 08:16:59 -07:00
Joel Challis 69c71d4843 Align DIP_SWITCH_PINS_RIGHT implementation with encoders (#14079) 2021-08-20 10:15:11 +01:00
Joel Challis b229b0fba7 Fix issues with recent keymap.json changes (#14089)
* Fix issues with recent keymap.json changes

* Allow empty author string
2021-08-20 19:11:49 +10:00
Joel Challis 2e734fb6b9 Add config.h and rules.mk support for data driven keymaps (#12859)
* Add config.h and rules.mk support for data driven keymaps

* tidy up after rebase

* Rename key as it can contain more than just keyboard overrides

* tidy up after rebase

* Add validation
2021-08-18 21:52:41 +01:00
Joel Challis 58cd8c366c Various fixes from reorg of files (#14051) 2021-08-18 09:54:41 +10:00
Joel Challis b8e913c8db Migrate platform independent code from tmk_core -> quantum (#13673)
* Migrate action|keyboard|keycode|eeconfig from tmk_core -> quantum
2021-08-18 00:18:58 +01:00
Joel Challis 96e2b13d1d Begin to carve out platform/protocol API - Single main loop (#13843)
* Begin to carve out platform/protocol API

* Fix up after rebase
2021-08-18 00:11:07 +01:00
Joel Challis 4c9003b177 Move chibios board files to allow tmk_core platform migration (#13777)
* Move board files

* fix up after rebase
2021-08-18 00:04:15 +01:00
Joel Challis 1bb7af4d44 Relocate platform specific drivers (#13894)
* Relocate platform specific drivers

* Move stm eeprom

* Tidy up slightly
2021-08-17 23:43:09 +01:00
Joel Challis 2bc8215ce5 Unify behaviour of wait on AVR (#14025) 2021-08-16 17:28:12 +01:00
Joel Challis ab941ce614 Move all the flash logic from tmk_core (#13927) 2021-08-15 21:55:23 +01:00
Joel Challis c0628c2820 Remove backwards compatibility of debounce names (#13877)
* Remove backwards compatibility of debounce names

* Update docs

* Update keyboards/keymaps
2021-08-09 19:46:18 +01:00
Joel Challis 7c691d82bf Remove ONEHAND_ENABLE (#13920) 2021-08-09 19:46:03 +01:00
Joel Challis c588d232cb Avoid name conflicts with usb_hid Arduino code (#13870)
* Avoid name conflicts with usb_hid Arduino code

* Fix tests
2021-08-06 15:53:38 +10:00
Joel Challis 5bbc527460 Bump gtest (#13885)
* Bump gtest

* Pin to latest release
2021-08-05 10:46:14 +10:00
Joel Challis bdaea259af Tidy up rgbkb/mun (#13801)
* Tidy up rgbkb/mun
2021-08-05 00:59:50 +01:00
Joel Challis 34de7ca224 Move print/debug files to quantum (#12069)
* move print/debug files to quantum

* Update comments
2021-08-03 18:49:33 +01:00
Joel Challis 3f419dc872 Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports

* Another call to led_init_ports
2021-08-03 18:34:32 +01:00
Joel Challis 70fb3e1aaf __flash? (#13799) 2021-07-31 14:35:30 +01:00
Joel Challis 206a995ccd Move some led drivers to common folder (#13749)
* Move some led drivers to common folder
2021-07-31 14:31:09 +01:00
Joel Challis addb389a5e Move ergosaurus via keymap to correct location (#13802) 2021-07-31 00:15:11 +01:00
Joel Challis e646211919 Fix unit tests after recent refactor (#13765) 2021-07-29 12:00:39 +10:00
Joel Challis 4ef8ff458d Minor tidy up of key overrides (#13747)
* Minor tidy up of key overrides

* Update quantum/quantum.c

* Update quantum/quantum.c
2021-07-28 12:01:49 +01:00
Joel Challis 03d258c222 matrix_scan_x -> x_task (#13748) 2021-07-28 12:01:23 +01:00
Joel Challis 7ac7ca96e9 Remove some legacy files (#13715) 2021-07-27 23:57:42 +01:00
Joel ChallisandRyan 3858a784c7 Align AW20216 driver (#13712)
* Align AW20216 driver

* Update drivers/awinic/aw20216.h

Co-authored-by: Ryan <fauxpark@gmail.com>

* Review comments

* formatting fixes

* stop if start failed?

* review comments

Co-authored-by: Ryan <fauxpark@gmail.com>
2021-07-27 23:55:51 +01:00
Joel Challis 368efb5d2b Remove legacy BACKLIGHT_CUSTOM_DRIVER option (#13731) 2021-07-27 10:17:58 +10:00
Joel Challis f945c352e7 Haptic: driver-> feature (#13713) 2021-07-25 19:14:58 -07:00
Joel Challis fc9fb2c775 Allow output of logging when running unit tests (#13556)
* Initial pass at enabling logging for unit tests

* Add to docs

* Bind debug for more test types

* Force everything

* Tidy up slightly
2021-07-25 17:18:09 +01:00
Joel Challis b5bcd5b0a1 Refactor some platform dependent logic (#13675) 2021-07-24 19:56:45 +01:00
Joel Challis e562238309 Fix up xd002 rgb keymaps (#13685) 2021-07-24 15:50:32 +01:00
Joel Challis 567da49ed0 Avoid LTO conficts on arm_atsam (#13676) 2021-07-24 12:13:06 +01:00
Joel Challis 5d7f2823c9 Implement GPIO abstraction for atsam (#13567)
* Implement GPIO abstraction for atsam

* Convert Drop boards to normal matrix config

* Work round pin conflicts and matrix delay
2021-07-22 23:01:19 +01:00
Joel Challis 366be0f7e9 Migrate arm_atsam print logic to use common framework (#13554) 2021-07-16 17:08:34 +01:00
Joel Challis ef8267d6a7 Refactor Drop boards to custom matrix lite (#13468) 2021-07-13 21:07:33 -07:00
Joel Challis 9f49ec51a1 Fix up recent checkerboards additions (#13414) 2021-07-02 14:00:55 +01:00
Joel Challis c232882fda Allow configuration of USB_VBUS_PIN on chibios (#13342) 2021-06-26 11:48:48 +01:00
Joel Challis 3c790123ce Temporary disable of CRC (#13252) 2021-06-20 09:31:18 +10:00
Joel Challis 4dda716712 Migrate preonic/rev3 to pwm ws2812 driver (#13142) 2021-06-09 00:18:56 -07:00
Joel Challis e0acd3e53d Update requirements.txt (#13135) 2021-06-08 00:37:58 +01:00
Joel ChallisandZach White 3f854e16ac Catch 'LAYOUTS = all' in lint (#12848)
Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-05-09 22:39:48 +02:00
Joel Challis f544b60aaa Align qmk info ascii logic with milc logging (#11627) 2021-05-09 15:53:18 +02:00
Joel Challis 7725d813c9 Allow MAKE environment override for 'qmk clean' (#12473) 2021-05-09 12:57:49 +02:00
Joel Challis 25c97e0019 Shim cli to new keyboard script (#12780)
* Shim cli to new keyboard script

* Shim cli to new keyboard script

* Add docs
2021-05-02 16:59:10 +01:00
Joel Challis 0fd8faa1ad Fix unused import in recent generation code (#12781) 2021-05-02 08:43:40 -07:00
Joel Challis fc2b51194c Allow <keyboard>.h to be optional when going data driven (#12706)
* Allow <keyboard>.h to be optional when going data driven

* Remove stub files as no longer required

* Rename function

* Remove include of layouts.h for now

* Take advantage of type=keyboard_folder

* Take advantage of type=keyboard_folder - kb should still be mandatory
2021-05-01 02:00:04 +01:00
Joel Challis 4abc3ceb4b Align drivers.txt with toolbox (#12741) 2021-04-30 02:48:34 +10:00
Joel Challis 1cecd593c8 Fix for gcc10 teensy_lc eeprom build warning (#12587) 2021-04-20 10:51:55 -07:00