Joel Challis
393937b43f
Relocate grave keycode processing ( #8082 )
...
* Relocate grave keycode processing
* Tidy up code
* Refactor grave -> grave_esc
2020-02-04 18:49:10 -08:00
Joel Challis
5b91c3e0a0
Fix cformat processing files within ignore folders ( #8063 )
2020-02-02 16:33:17 +00:00
Joel Challis and fauxpark
4139de3cc9
Fix AVR boards which were overriding backlight without setting… ( #8044 )
...
* Add backlight custom driver to all boards not declaring it but overriding backlight
* Apply suggestions from code review
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Apply suggestions from code review
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Remove old tmk references from show_options.mk
Co-authored-by: fauxpark <fauxpark@gmail.com >
2020-01-31 10:44:40 +11:00
Joel Challis
e57af8db0d
Fix 'Makefile:560: keyboards/<keyboard>/rev1/rules.mk: No such file or directory' ( #8042 )
2020-01-30 02:48:30 -08:00
Joel Challis
1249594cf0
Refactor minidox to use split_common ( #7924 )
...
* Initial refactor of minidox to split_common
* post rebase fixes
2020-01-29 17:33:15 -05:00
Joel Challis
0804f0a5dd
Merge pull request #7995 from zvecr/feature/split_arm_i2c_remove
...
Remove compilation of i2c for arm split
2020-01-27 22:40:32 +00:00
Joel Challis
7342c335d2
Refactor stm32duino f103 keyboards to use new central board config files ( #7706 )
...
* Create central board for bluepill
* Remove duplicate board files
* Refactor to use new central board config files
* Fix cannonkeys f103 boards
2020-01-27 22:39:30 +00:00
Joel Challis
50855593ff
Migrate common ld scripts to common location ( #7887 )
...
* Migrate common ld scripts to common location
* Remove duplicate ld scripts
* Update build to look at common ld location
2020-01-27 22:38:55 +00:00
Joel Challis
9a0245b778
Fix boards which were overriding backlight without setting custom ( #7970 )
2020-01-27 22:31:54 +00:00
zvecr
992656e753
Fix cannonkeys f103 boards
2020-01-26 23:35:57 +00:00
zvecr
ee86be9dca
Refactor to use new central board config files
2020-01-26 23:35:57 +00:00
zvecr
98e5555705
Remove duplicate board files
2020-01-26 23:33:03 +00:00
zvecr
d3abebb601
Create central board for bluepill
2020-01-26 23:33:03 +00:00
Joel Challis
d4ccb2e0e6
Fix printf buffer overflow when cols>16 ( #7998 )
2020-01-24 21:57:30 -05:00
zvecr
6efcfaa264
Remove compilation of i2c for arm split
2020-01-24 14:11:01 +00:00
Joel Challis
e4a0f841e1
Update split serial code to use driver pattern ( #7990 )
...
* Move avr serial code to drivers
* Update src+= serial.c to driver pattern
2020-01-24 13:50:51 +00:00
Joel Challis
8e500c3670
Align cformat rules with current CI implementation ( #7936 )
...
* Align cformat rules with current CI implementation
* Optimise file walking
2020-01-21 18:21:14 -08:00
Joel Challis
65f7bfcc8d
Fix unknown key 'IndentPPDirectives' on CI ( #7933 )
2020-01-19 13:59:57 -08:00
Joel Challis
667045b492
Run clang-format manually to fix recently changed files ( #7934 )
...
* Run clang-format manually to fix recently changed files
* Run clang-format manually to fix recently changed files - revert template files
* Run clang-format manually to fix recently changed files - format off for ascii_to_keycode_lut
2020-01-19 16:30:34 +00:00
Joel Challis
ba628a28bc
Move rgblight and backlight task to common location ( #7733 )
2020-01-19 00:59:09 +00:00
Joel Challis and fauxpark
6e710426a4
Add docs for 'CUSTOM_MATRIX = lite' ( #7906 )
...
* Add some docs to cover 'CUSTOM_MATRIX = lite'
* Apply suggestions from code review
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Add 'SRC += matrix.c' docs
* Update docs/custom_matrix.md
Co-Authored-By: fauxpark <fauxpark@gmail.com >
Co-authored-by: fauxpark <fauxpark@gmail.com >
2020-01-18 12:56:33 +11:00
Joel Challis
2081c5e40e
Fix CUSTOM_MATRIX lite matrix_scan return code ( #7908 )
2020-01-15 15:51:43 +11:00
Joel Challis
48cac9e3c8
Migrate more custom matrix 'lite' code to core ( #7863 )
...
* Migrate more custom matrix lite code to core
* Align function names
* fix up MATRIX_MASKED
2020-01-15 01:58:32 +00:00
Joel Challis
61cd180163
Add ws2812 driver type define ( #7888 )
2020-01-15 09:03:48 +11:00
Joel Challis
af03ff145d
Remove backlight_init_ports from duck/orion/v3 ( #7878 )
2020-01-13 03:49:01 +00:00
Joel Challis
b89e35bdd3
Relocate common backlight functionally ( #7273 )
2020-01-13 01:30:56 +00:00
Joel Challis
ff5742da9f
Fix KEYBOARD_SHARED_EP on ChibiOS ( #7860 )
2020-01-13 09:21:42 +11:00
Joel Challis
e34af631c2
Refactor f103,f072,f042 based keyboards to use new MCU selection defaults ( #7705 )
...
* refactor keyboards using ST_STM32F072B_DISCOVERY to use 'MCU = STM32F072'
* refactor keyboards using GENERIC_STM32_F042X6 to use 'MCU = STM32F042'
* refactor keyboards using GENERIC_STM32_F103 to use 'MCU = STM32F103'
2020-01-10 01:31:01 +00:00
Joel Challis
dcb7ca3f79
Move some common matrix code to a common location ( #7699 )
...
* Move some common matrix code to a common location
* Refactor some 'custom_matrix_helper' logic to use custom matrix lite
* Fix build for kinesis/stapelberg - abuse of vpath was picking up matrix.c from core when custom matrix was enabled
* Add validation for CUSTOM_MATRIX
2020-01-04 20:29:44 +00:00
Joel Challis
680ebef086
SPI DMA based RGB Underglow for STM32 ( #7674 )
...
* Initial stash of ws2812 spi driver
* Update comment, add sync backup plan
* Add testing notes to spi ws2812 driver
* Align RGBW error messages
2019-12-31 17:26:40 +00:00
Joel Challis
250a99ff1b
Add rules.mk defaults for f103,f072,f042 ( #7704 )
...
* Add rules.mk defaults for f103,f072,f042
* Add rules.mk defaults for f103,f072,f042 - remove comment
* Add rules.mk defaults for f103,f072,f042 - align USE_FPU
* Reset MCU to avoid build issues
* Move essential config values to top and remove ability for override
* Align DFU_SUFFIX_ARGS order with DFU_ARGS
2019-12-28 19:18:52 +00:00
zvecr
9aedb620c5
Add backwards compatibility for oled_write_raw_P on ARM
2019-12-24 20:13:27 -08:00
Joel Challis
376419a4f7
Add central location for ChibiOS defines ( #7542 )
...
* Add central location for chibios defines
* Add central location for chibios defines - actually add files this time....
* Add Copyright header
* Update include order to resolve i2cv1 build errors
2019-12-21 18:22:49 +00:00
Joel Challis
d478095756
Merge pull request #7663 from fauxpark/dztech-config-h
...
Tidy up dztech config.h
2019-12-20 17:37:40 +00:00
Joel Challis
e4c257fb01
Merge pull request #7672 from ihotsuno/patch-1
...
I corrected my name.
2019-12-18 19:38:16 +00:00
Joel Challis
b4bda14f3c
Merge pull request #7666 from fauxpark/docs-edit-page
...
Improve docs "Edit Document" footer
2019-12-18 15:42:56 +00:00
Joel Challis
cfb4c9bb61
Merge pull request #7657 from fauxpark/dztech-rules-cleanup
...
Tidy up dztech rules.mk
2019-12-17 23:09:20 +00:00
Joel Challis
ae40fc498b
Relocate RGB keycode processing ( #7508 )
...
* Move rgb keycode logic to process_keycode
* Fixes for rgb matrix
* Fixes for mxss
* Fix inc/dec logic, add comments
* Fix return RAINBOW_SWIRL logic
* stop external use of rgb helper functions
* merge fix
* Fix 'defined but not used' when all animations are disabled
2019-12-16 12:27:53 -08:00
Joel Challis
7cddcce237
Remove QMK_KEYBOARD_CONFIG_H from boards ( #7635 )
2019-12-16 11:20:33 -08:00
Joel Challis
adb72b60b0
Merge pull request #7276 from zvecr/feature/backlight_driver_config
...
Convert backlight to follow driver rules pattern
2019-12-16 16:39:54 +00:00
Joel Challis
bc2157eea8
Software backlight improvements ( #7255 )
...
* Update software backlight to precalculated duty patterns
* Update default backlight state to match avr pwm
* Move function to make diff look nicer
2019-12-16 16:35:08 +00:00
Joel Challis
f3bf301825
Disable usb on slave half to resolve random 'lockup' ( #7649 )
2019-12-16 16:33:48 +00:00
zvecr
94e2a39d72
Move function to make diff look nicer
2019-12-14 17:25:32 +00:00
zvecr
f6b9604f4a
Update default backlight state to match avr pwm
2019-12-14 17:24:17 +00:00
zvecr
3d54b1adf0
Convert backlight to follow driver rules pattern - update docs
2019-12-14 03:25:06 +00:00
zvecr
d4c23d881f
Convert backlight to follow driver rules pattern
2019-12-14 03:25:06 +00:00
Joel Challis and fauxpark
80c2e26741
Fix ChibiOS USB config for chips which support OTGv1 ( #7564 )
...
* Align endpoint config as per rest of file (fixes #4783 )
* Add comments about explicit order use
* Update tmk_core/protocol/chibios/usb_main.c
Co-Authored-By: fauxpark <fauxpark@gmail.com >
2019-12-14 01:29:54 +00:00
Joel Challis
efb21c00ce
Fix FORCE_NKRO handling ( #7601 )
2019-12-11 11:39:30 -08:00
Joel Challis
071eb2478f
Remove mbed files ( #7605 )
...
* Remove mbed files
* Remove mbed files - fix comment
* Remove mbed logic blocks
2019-12-11 11:36:00 -08:00
Joel Challis
b3c7864990
Enable bitbang ws2812 for f4 ( #7571 )
2019-12-08 21:19:58 -08:00
Joel Challis
de4eb79c6a
Fix breathing toggle when rgb is disabled ( #7550 )
2019-12-06 19:27:04 +11:00
Joel Challis
d598f01cb7
Relocate magic keycode processing ( #7512 )
...
* Move magic keycode processing to own file
* Save some bytes
* Update comments
* Update define to one thats not already used...
* Fix audio
2019-12-03 19:48:55 +00:00
Joel Challis
1718dfa658
Increase matrix scanning speed on xd84 ( #7517 )
...
* Increase matrix scanning speed
* Fix func name in failure output
2019-12-03 19:39:21 +00:00
Joel Challis
2048df8832
Compile out some keycode processing when features are disabled ( #7506 )
2019-11-28 21:59:59 +00:00
Joel Challis
99f3321e26
Fix processing of RGB keycodes on slave half ( #7404 )
2019-11-28 21:59:14 +00:00
Joel Challis
235da6973d
Install bootloadHid as part of qmk_install ( #7463 )
...
* Install bootloadHid on macos
* Install bootloadHid on windows
* Highlight bootloadHID is now installed in docs
* Update udev rules for bootloadHID
* Install bootloadHid on some distros
* fix caterina udev filename
2019-11-28 15:29:11 +00:00
Joel Challis
f0f161e572
Remove vusb 'reset to bootloader' hid message due to security implications ( #7456 )
2019-11-25 20:33:02 +00:00
Joel Challis
6a8c0a6468
[Keyboard] Update ATmega32A readme files to match template ( #7462 )
...
* Update atmega32a readme files to match template
* Update atmega32a readme files to match template - fixes
* Apply suggestions from code review
2019-11-23 20:42:20 -08:00
Joel Challis
7e9ed2acbf
Fix clang-format logic within CI ( #7386 )
2019-11-22 17:02:55 +00:00
Joel Challis
d2115f7d1c
Allow 'make all:<user>' to not build EVERYTHING ( #7402 )
2019-11-20 22:32:16 +00:00
zvecr
a91c0c4765
Run clang-format manually to fix recently changed files
2019-11-17 08:25:58 -08:00
Joel Challis
b94f6cb116
Port SPLIT_USB_DETECT to crkbd ( #7195 )
2019-11-16 00:07:21 +00:00
Joel Challis
7e8f239c2e
[CI] Revert to previous logic for branch name and changes ( #7343 )
2019-11-12 23:53:05 -08:00
Joel Challis
f48986dda2
Remove force of debug on within rgblight - causes lockups waiting for hid_listen ( #7330 )
2019-11-11 21:06:14 +00:00
Joel Challis
1d4287cb95
Fix chibios when mouse and nkro disabled ( #7312 )
2019-11-10 09:02:46 -08:00
Joel Challis
c1970e284d
Fix LAYER_STATE_8BIT compile issues ( #7304 )
2019-11-08 18:23:26 -08:00
Joel Challis
31eee6b05d
Initial firmware for Retro75 ( #7294 )
...
* Initial firmware for Retro75
* Update readme to match new template guidelines
2019-11-08 21:43:30 +00:00
Joel Challis
1ea0cac998
ARM - ws2812 bitbang ( #7173 )
...
* Initial ARM bitbang ws2812 driver
* Unify chibios platform to run rgblight_task
* Remove 'avr only' comments from ws2812 docs
* Remove 'avr only' comments from ws2812 docs
* Unify chibios platform to run rgblight_task - review comments
* Remove debug flags from keymap
* Add comments from review
* Add defines for STM32L0XX
* Attempt to get arm ws2812 working on multiple gcc versions
2019-11-07 13:10:29 +00:00
zvecr
25d1901d7a
Update software backlight to precalculated duty patterns
2019-11-05 17:42:44 +00:00
Joel Challis
d382eeeb9d
CI - Fix change detection ( #7038 )
...
* Fix travis change detection
* Fix travis change detection - add back python ignore
2019-11-04 16:18:57 -08:00
Joel Challis
a4d138645f
[Keyboard] Fix v60_type_r compile failures ( #7250 )
2019-11-03 14:42:21 -08:00
Joel Challis
1249da4e8e
Use task driven PWM for CTPC until ARM can provide automatic configuration ( #6928 )
...
* Use task driven PWM for CTPC until ARM can provide automatic configuration
* Update CTPC docs to cover backlight
2019-11-02 21:21:00 +00:00
Joel Challis
4531cc874e
Initial migration of software PWM backlight ( #6709 )
...
* Initial migration of software PWM backlight
* First pass at backlight driver docs
* Correct driver name in docs
* Run backlight_task when using BACKLIGHT_PINS
* Resolve backlight docs TODOs
2019-11-02 21:20:03 +00:00
Joel Challis
22812aee5c
rgblight_task logic fixes ( #7214 )
2019-10-30 22:30:21 -07:00
Joel Challis and Drashna Jaelre
64b7cfe735
Refactor ps2avrgb i2c ws2812 to core ( #7183 )
...
* Refactor ps2avrgb i2c ws2812 to core
* Refactor jj40 to use ws2812 i2c driver
* Refactor ps2avrgb template to use ws2812 i2c driver
* Add ws2812 stub files
* clang-format and driver config
* Add ws2812 driver docs
* Fix default config values
* Update tmk_core/protocol/vusb/main.c
Co-Authored-By: Drashna Jaelre <drashna@live.com >
2019-10-29 15:53:11 -07:00
Joel Challis
e48fdebe5a
Reduce duplication for ARM/AVR ws2812 RGB Matrix driver ( #7180 )
...
* Reduce duplication for ARM/AVR ws2812 rgb_matrix driver
* Reduce duplication for ARM/AVR ws2812 rgb_matrix driver - Fix setled_all use of r,g,b
2019-10-29 01:00:03 +00:00
Joel Challis
8bc90ee20c
Fix travis build failures for namecard2x4 ( #7189 )
2019-10-28 19:05:27 +00:00
Joel Challis
d03303ab74
Revert "Initial actions/labeler config ( #7091 )" ( #7156 )
...
This reverts commit 32fdf4805a .
2019-10-26 00:27:17 +01:00
Joel Challis
32fdf4805a
Initial actions/labeler config ( #7091 )
...
* Initial actions/labeler config
* Initial actions/labeler config - add extra from review
2019-10-25 14:34:54 +01:00
Joel Challis and fauxpark
5dc91ddc60
SPLIT - Remove NO_USB_STARTUP_CHECK requirement for usb detection ( #7053 )
...
* Avoid NO_USB_STARTUP_CHECK - Disable USB as checks seem to enable it somehow
* Update quantum/split_common/split_util.c
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Also remove NO_USB_STARTUP_CHECK from vitamins_included/rev1
2019-10-17 23:37:37 +01:00
Joel Challis
abfd6ed961
Move tmk_core/common/backlight to quantum/backlight ( #6710 )
...
* Move tmk_core/common/backlight to quantum/backlight
* Add guards to backlight inclusion
* Add guards to backlight inclusion
* Update backlight guards on clueboard/60
* Use full paths to avoid vpath issues
2019-10-17 17:48:58 +01:00
Joel Challis
2ac4197b73
Add binary support to tinyprintf ( #7024 )
2019-10-15 13:33:06 +01:00
Joel Challis
cc5edb9eeb
Port DEBUG_MATRIX_SCAN_RATE to core ( #7029 )
...
* Port DEBUG_MATRIX_SCAN_RATE to core
* Remove duplicate DEBUG_MATRIX_SCAN_RATE implementations
* Remove duplicate DEBUG_MATRIX_SCAN_RATE implementation from handwired/xealous
* Add console logic from ergodox_ez
2019-10-15 13:32:52 +01:00
Joel Challis
e1de0d74a6
Move running pytest to travis_test ( #7005 )
2019-10-14 17:57:53 +01:00
Joel Challis
e796d7b49e
Update splittest/teensy_2 to use SPLIT_USB_DETECT ( #7028 )
2019-10-14 00:05:41 +01:00
Joel Challis
a48468590a
Remove i2c logic for STM32F103xB in favour of USE_I2CV1 ( #6926 )
...
* Remove i2c logic for STM32F103xB in favour of USE_I2CV1
* Remove i2c logic for STM32F103xB in favour of USE_I2CV1
2019-10-12 23:23:36 +01:00
Joel Challis
76378d74f5
ARM split - detect USB to select master/slave ( #6424 )
...
* Initial split refactor to allow usb master detection
* Add split USB detect docs
* Add SPLIT_USB_DETECT demo mode limitation
* fix rebase issues
* clang-format
2019-10-11 23:25:43 -04:00
Joel Challis
64c075ed2c
Fix CONVERT_TO_PROTON_C_RXLED pins ( #7007 )
2019-10-11 12:11:47 +01:00
Joel Challis
38aefaf78e
ARM - Initial backlight support ( #6487 )
...
* Move AVR backlight to own file, add borrowed ARM implementation
* Tiny fix for backlight custom logic
* Remove duplicate board from rebase
* Fix f303 onekey example
* clang-format
* clang-format
* Remove backlight keymap debug
* Initial pass of ARM backlight docs
* Initial pass of ARM backlight docs - resolve todos
* fix rules validation logic
* Add f072 warning
* Add f072 warning
* tidy up breathing in backlight keymap
* tidy up breathing in backlight keymap
* add missing break to backlight keymap
2019-10-05 16:57:00 +01:00
Joel Challis and fauxpark
17794e0b25
ARM split - Add support for dfu-util EE_HANDS flashing ( #6543 )
...
* Initial stab at some fake dfu-util-split-left behaviour
* Apply suggestions from code review
Co-Authored-By: fauxpark <fauxpark@gmail.com >
* Clang format fixes
* Fake eeprom init for both left and right hand
2019-09-27 21:33:55 +01:00
Joel Challis
ad8dbd5ca5
ARM split - Add bootmagic/magic keycodes for setting handedness ( #6545 )
...
* Add docs on bootmagic/magic keycodes for setting handedness
* Clang format fixes
* Maintain backwards compatibility
* Maintain backwards compatibility
2019-09-24 15:24:12 +01:00
Joel Challis
ad3e4d6c13
Tidy up backlight header use to avoid build issues ( #6714 )
2019-09-11 23:15:39 +01:00
zvecr
251b4fb79d
Fix boards being skipped during make all
2019-09-10 21:15:48 -07:00
Joel Challis
75ee8df19e
Update Atreus to current code conventions ( #5849 )
...
* Update atreus to current code conventions - add multi revision instead of defines
* Remove config.h duplication from user keymaps
* Add breaking change log
* Add missing pragma once
2019-08-30 15:01:52 -07:00
Joel Challis and Drashna Jaelre
51bcadf38c
Add 'bootloadHID' flash target ( #5587 )
...
* Add 'bootloadHID' flash target
* Prep for flash target
* Add :flash support
* Align bootloader wait messages
Co-Authored-By: Drashna Jaelre <drashna@live.com >
* Update template to suggest use of :flash
2019-08-24 08:35:11 -07:00
Joel Challis and Drashna Jaelre
ae44ec9820
Align flashing behaviour of dfu-util ( #6578 )
...
* Align flashing retry logic of dfu-util
* Align bootloader wait messages
Co-Authored-By: Drashna Jaelre <drashna@live.com >
2019-08-22 16:08:45 -07:00
Joel Challis
1c805b3d00
Relocate pca9555 driver to core ( #6563 )
...
* Move pca9555 files to central location
* Get pca9555 boards compiling
* Slight alignment of rules.mk
2019-08-22 15:27:18 +01:00
Joel Challis
9813a6f950
Add an alternative method for keyboard discovery to speed up build ( #6073 )
...
* Add an alternative method for keyboard discovery to speed up build
* Chain MAKEFLAGS for docker_build.sh
* Slight improvement to number of items sent to sort
* Remove debug line
* Fix line escape
2019-08-15 22:03:26 +01:00
Joel Challis
fadb69e203
Refactor of lets_split_eh to enable RGB split animations ( #6411 )
2019-08-15 22:01:34 +01:00
Joel Challis
ee8d9bd40a
Remove duplicate test keyboards ( #6539 )
...
* Remove test keyboards now onekey and splittest have been extended
* Add f072 for testing
2019-08-15 06:57:43 -07:00