diff options
author | Joel Challis <git@zvecr.com> | 2019-11-02 21:21:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-02 21:21:00 +0000 |
commit | 1249da4e8eab0be8618a5ea6a718eb757684f244 (patch) | |
tree | 26494b04f73a8c70a5ddf2366ce15d5149c35b4c | |
parent | 4531cc874e1bb8602fede9dc038b692673521590 (diff) | |
download | qmk_firmware-1249da4e8eab0be8618a5ea6a718eb757684f244.tar.gz qmk_firmware-1249da4e8eab0be8618a5ea6a718eb757684f244.zip |
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
-rw-r--r-- | docs/proton_c_conversion.md | 10 | ||||
-rw-r--r-- | quantum/stm32/proton_c.mk | 6 |
2 files changed, 15 insertions, 1 deletions
diff --git a/docs/proton_c_conversion.md b/docs/proton_c_conversion.md index be7d50a9f..8014a35e0 100644 --- a/docs/proton_c_conversion.md +++ b/docs/proton_c_conversion.md | |||
@@ -19,3 +19,13 @@ Before being able to compile, you may get some errors about `PORTB/DDRB`, etc no | |||
19 | The Proton C only has one on-board LED (C13), and by default, the TXLED (D5) is mapped to it. If you want the RXLED (B0) mapped to it instead, add this like to your `config.h`: | 19 | The Proton C only has one on-board LED (C13), and by default, the TXLED (D5) is mapped to it. If you want the RXLED (B0) mapped to it instead, add this like to your `config.h`: |
20 | 20 | ||
21 | #define CONVERT_TO_PROTON_C_RXLED | 21 | #define CONVERT_TO_PROTON_C_RXLED |
22 | |||
23 | ## Feature Conversion | ||
24 | |||
25 | These are defaults based on what has been implemented for ARM boards. | ||
26 | |||
27 | | Feature | Notes | | ||
28 | |-------------------------------------|------------------------------------------------------------------------------------------------------------------| | ||
29 | | [Audio](feature_audio.md) | Enabled | | ||
30 | | [RGB Lighting](feature_rgblight.md) | Disabled | | ||
31 | | [Backlight](feature_backlight.md) | Forces [task driven PWM](feature_backlight.md#software-pwm-driver) until ARM can provide automatic configuration | | ||
diff --git a/quantum/stm32/proton_c.mk b/quantum/stm32/proton_c.mk index a65e283d3..193e09ca1 100644 --- a/quantum/stm32/proton_c.mk +++ b/quantum/stm32/proton_c.mk | |||
@@ -3,7 +3,11 @@ | |||
3 | # These are defaults based on what has been implemented for ARM boards | 3 | # These are defaults based on what has been implemented for ARM boards |
4 | AUDIO_ENABLE = yes | 4 | AUDIO_ENABLE = yes |
5 | RGBLIGHT_ENABLE = no | 5 | RGBLIGHT_ENABLE = no |
6 | BACKLIGHT_ENABLE = no | 6 | |
7 | # Force task driven PWM until ARM can provide automatic configuration | ||
8 | ifneq ($(strip $(BACKLIGHT_ENABLE)), no) | ||
9 | BACKLIGHT_ENABLE = software | ||
10 | endif | ||
7 | 11 | ||
8 | # The rest of these settings shouldn't change | 12 | # The rest of these settings shouldn't change |
9 | 13 | ||