From 17ff5512757e05cd3b4e27066c24ac697fa8da9c Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 16 Feb 2020 19:37:21 +0000 Subject: [PATCH] Convert f072 backlight build error to message (#8177) --- docs/feature_backlight.md | 2 +- quantum/backlight/backlight_arm.c | 2 +- 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