summaryrefslogtreecommitdiff
path: root/keyboards/zvecr
diff options
context:
space:
mode:
authorZach White <skullydazed@gmail.com>2021-01-30 13:08:58 -0800
committerGitHub <noreply@github.com>2021-01-30 13:08:58 -0800
commitd02c4c5241b92396c883b9efa6f140236e74fa2d (patch)
tree22493acec4fc67a4623d9b3d49deb21e63abb722 /keyboards/zvecr
parent92a787ca4cdecbbb7e2c1394d5192d5fa3dabf6d (diff)
downloadqmk_firmware-d02c4c5241b92396c883b9efa6f140236e74fa2d.tar.gz
qmk_firmware-d02c4c5241b92396c883b9efa6f140236e74fa2d.zip
Add a <FEATURE>_SUPPORTED flag (#9058)
* Initial attempt at allowing keyboards to indicate what features they do not support * try to use a for loop instead * Update disable_features.mk Co-authored-by: Drashna Jaelre <drashna@live.com> * add a few more features * remove my test fixture * disable things that make all:all suggested" Co-authored-by: Zach White <skullydazed@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/zvecr')
-rw-r--r--keyboards/zvecr/split_blackpill/rules.mk4
-rw-r--r--keyboards/zvecr/zv48/f401/rules.mk4
2 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/zvecr/split_blackpill/rules.mk b/keyboards/zvecr/split_blackpill/rules.mk
index 55bca894ef..822dd246dc 100644
--- a/keyboards/zvecr/split_blackpill/rules.mk
+++ b/keyboards/zvecr/split_blackpill/rules.mk
@@ -28,3 +28,7 @@ SERIAL_DRIVER = usart
WS2812_DRIVER = pwm
LAYOUTS = ortho_4x12
+
+# Disable unsupported hardware
+AUDIO_SUPPORTED = no
+BACKLIGHT_SUPPORTED = no
diff --git a/keyboards/zvecr/zv48/f401/rules.mk b/keyboards/zvecr/zv48/f401/rules.mk
index 950442af96..a087a1cc78 100644
--- a/keyboards/zvecr/zv48/f401/rules.mk
+++ b/keyboards/zvecr/zv48/f401/rules.mk
@@ -3,3 +3,7 @@ MCU = STM32F401
# Address of the bootloader in system memory
STM32_BOOTLOADER_ADDRESS = 0x1FFF0000
+
+# Disable unsupported hardware
+AUDIO_SUPPORTED = no
+BACKLIGHT_SUPPORTED = no