aboutsummaryrefslogtreecommitdiff
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)
downloadqmk_firmware-17ff5512757e05cd3b4e27066c24ac697fa8da9c.tar.gz
qmk_firmware-17ff5512757e05cd3b4e27066c24ac697fa8da9c.zip
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 22abaa60a..e74aab1e3 100644
--- a/docs/feature_backlight.md
+++ b/docs/feature_backlight.md
@@ -167,7 +167,7 @@ BACKLIGHT_DRIVER = pwm
167 167
168Currently only hardware PWM is supported, not timer assisted, and does not provide automatic configuration. 168Currently only hardware PWM is supported, not timer assisted, and does not provide automatic configuration.
169 169
170?> STMF072 support is being investigated. 170?> Backlight support for STMF072 has had limited testing, YMMV. If unsure, set `BACKLIGHT_ENABLE = no` in your rules.mk.
171 171
172### ARM Configuration 172### ARM Configuration
173 173
diff --git a/quantum/backlight/backlight_arm.c b/quantum/backlight/backlight_arm.c
index f7065906f..397a1ac1a 100644
--- a/quantum/backlight/backlight_arm.c
+++ b/quantum/backlight/backlight_arm.c
@@ -7,7 +7,7 @@
7#ifdef BACKLIGHT_PIN 7#ifdef BACKLIGHT_PIN
8 8
9# if defined(STM32F0XX) || defined(STM32F0xx) 9# if defined(STM32F0XX) || defined(STM32F0xx)
10# error "Backlight support for STMF072 is not available. Please disable." 10# pragma message("Backlight support for STMF072 has had limited testing, YMMV. If unsure, set 'BACKLIGHT_ENABLE = no' in your rules.mk")
11# endif 11# endif
12 12
13// GPIOV2 && GPIOV3 13// GPIOV2 && GPIOV3