summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-02-16 19:37:21 +0000
committerGitHub <noreply@github.com>2020-02-16 11:37:21 -0800
commit17ff5512757e05cd3b4e27066c24ac697fa8da9c (patch)
treedbf6f31add3179830f979347697d0f21cf75d074
parente208cb46ae4f0c276e1c85a83fcf50e141ae60d1 (diff)
Convert f072 backlight build error to message (#8177)
-rw-r--r--docs/feature_backlight.md2
-rw-r--r--quantum/backlight/backlight_arm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_backlight.md b/docs/feature_backlight.md
index 22abaa60a8..e74aab1e37 100644
--- a/docs/feature_backlight.md
+++ b/docs/feature_backlight.md
@@ -167,7 +167,7 @@ BACKLIGHT_DRIVER = pwm
Currently only hardware PWM is supported, not timer assisted, and does not provide automatic configuration.
-?> STMF072 support is being investigated.
+?> Backlight support for STMF072 has had limited testing, YMMV. If unsure, set `BACKLIGHT_ENABLE = no` in your rules.mk.
### ARM Configuration
diff --git a/quantum/backlight/backlight_arm.c b/quantum/backlight/backlight_arm.c
index f7065906f8..397a1ac1a8 100644
--- a/quantum/backlight/backlight_arm.c
+++ b/quantum/backlight/backlight_arm.c
@@ -7,7 +7,7 @@
#ifdef BACKLIGHT_PIN
# if defined(STM32F0XX) || defined(STM32F0xx)
-# error "Backlight support for STMF072 is not available. Please disable."
+# pragma message("Backlight support for STMF072 has had limited testing, YMMV. If unsure, set 'BACKLIGHT_ENABLE = no' in your rules.mk")
# endif
// GPIOV2 && GPIOV3