summaryrefslogtreecommitdiff
path: root/users/stanrc85
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2022-07-02 15:10:07 -0400
committerGitHub <noreply@github.com>2022-07-02 20:10:07 +0100
commitbb1edf6676c969f2cb641924fd8c777a7378e2ad (patch)
treeb790eda0c6aebdedbe02ab6a957fe0a308be998a /users/stanrc85
parent4804b73540186152d61cf08d5e80cd59c637aa0c (diff)
[Userspace] Add Nasu to userspace code (#17524)
* Define Nasu indicator pins in userspace * Add userspace indicator code to Nasu
Diffstat (limited to 'users/stanrc85')
-rw-r--r--users/stanrc85/config.h6
-rw-r--r--users/stanrc85/rules.mk5
2 files changed, 11 insertions, 0 deletions
diff --git a/users/stanrc85/config.h b/users/stanrc85/config.h
index e12beedb90..275b368d0a 100644
--- a/users/stanrc85/config.h
+++ b/users/stanrc85/config.h
@@ -30,3 +30,9 @@
#define ENABLE_RGB_MATRIX_MULTISPLASH
#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
#endif
+
+#ifdef KEYBOARD_nasu
+ #define INDICATOR_PIN_0 B1
+ #define INDICATOR_PIN_1 B0
+ #define INDICATOR_PIN_2 A7
+#endif
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk
index 94f4027b96..f73e70ffdb 100644
--- a/users/stanrc85/rules.mk
+++ b/users/stanrc85/rules.mk
@@ -43,3 +43,8 @@ ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/standard_led/arm/rev4/stm32f303)
SRC += rgb_timeout.c
SRC += indicator_layers_sneakbox.c
endif
+ifeq ($(strip $(KEYBOARD)), nasu)
+ SRC += indicator_layers_sneakbox.c
+ SRC += startup_fanfare.c
+ OPT_DEFS += -DHAS_INDICATORS
+endif