diff options
author | Joel Challis <git@zvecr.com> | 2019-10-05 16:57:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-05 16:57:00 +0100 |
commit | 38aefaf78e3d9f17ef561f031679a02c9fba869c (patch) | |
tree | 9de5fc423f20d27daedeee0500faad57ce8712a2 /keyboards/handwired/onekey/stm32f0_disco | |
parent | 60b2a9a5ea88321629e970e936652cc1ba786b80 (diff) |
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
Diffstat (limited to 'keyboards/handwired/onekey/stm32f0_disco')
-rw-r--r-- | keyboards/handwired/onekey/stm32f0_disco/config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/stm32f0_disco/config.h b/keyboards/handwired/onekey/stm32f0_disco/config.h index 039a1beffd..4024ee1caa 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/config.h +++ b/keyboards/handwired/onekey/stm32f0_disco/config.h @@ -21,3 +21,8 @@ #define MATRIX_COL_PINS { B4 } #define MATRIX_ROW_PINS { B5 } #define UNUSED_PINS + +#define BACKLIGHT_PIN C8 +#define BACKLIGHT_PWM_DRIVER PWMD3 +#define BACKLIGHT_PWM_CHANNEL 3 +#define BACKLIGHT_PAL_MODE 0 |