]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Use task driven PWM for CTPC until ARM can provide automatic configuration (#6928)
authorJoel Challis <git@zvecr.com>
Sat, 2 Nov 2019 21:21:00 +0000 (21:21 +0000)
committerGitHub <noreply@github.com>
Sat, 2 Nov 2019 21:21:00 +0000 (21:21 +0000)
* Use task driven PWM for CTPC until ARM can provide automatic configuration

* Update CTPC docs to cover backlight

docs/proton_c_conversion.md
quantum/stm32/proton_c.mk

index be7d50a9f41c61871ccc1bb3415f42e4beaf1e7d..8014a35e04cb49191b27aa5537b278c82f67a949 100644 (file)
@@ -19,3 +19,13 @@ Before being able to compile, you may get some errors about `PORTB/DDRB`, etc no
 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`:
 
     #define CONVERT_TO_PROTON_C_RXLED
+
+## Feature Conversion
+
+These are defaults based on what has been implemented for ARM boards.
+
+| Feature                             | Notes                                                                                                            |
+|-------------------------------------|------------------------------------------------------------------------------------------------------------------|
+| [Audio](feature_audio.md)           | Enabled                                                                                                          |  
+| [RGB Lighting](feature_rgblight.md) | Disabled                                                                                                         |
+| [Backlight](feature_backlight.md)   | Forces [task driven PWM](feature_backlight.md#software-pwm-driver) until ARM can provide automatic configuration |
index a65e283d3f1686166183e58c90c3ab38e051c979..193e09ca1e09702e4ea9f12f77c7cf8e03a12ed0 100644 (file)
@@ -3,7 +3,11 @@
 # These are defaults based on what has been implemented for ARM boards
 AUDIO_ENABLE = yes
 RGBLIGHT_ENABLE = no
-BACKLIGHT_ENABLE = no
+
+# Force task driven PWM until ARM can provide automatic configuration
+ifneq ($(strip $(BACKLIGHT_ENABLE)), no)
+       BACKLIGHT_ENABLE = software
+endif
 
 # The rest of these settings shouldn't change