[Userspace] Add Nasu to userspace code (#17524)
* Define Nasu indicator pins in userspace * Add userspace indicator code to Nasu
This commit is contained in:
		
							parent
							
								
									4804b73540
								
							
						
					
					
						commit
						bb1edf6676
					
				
					 2 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue