Use hal/mcu conf
This commit is contained in:
		
							parent
							
								
									b69b8c00e3
								
							
						
					
					
						commit
						b21425c33a
					
				
					 4 changed files with 19 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -5,13 +5,6 @@
 | 
			
		|||
 | 
			
		||||
#define SPLIT_TRANSACTION_IDS_KB MODULE_SYNC
 | 
			
		||||
 | 
			
		||||
#include_next <mcuconf.h>
 | 
			
		||||
 | 
			
		||||
#undef RP_PWM_USE_PWM5
 | 
			
		||||
#define RP_PWM_USE_PWM5 TRUE
 | 
			
		||||
 | 
			
		||||
#define HAL_USE_PWM TRUE
 | 
			
		||||
 | 
			
		||||
#define SPLIT_POINTING_ENABLE
 | 
			
		||||
#define POINTING_DEVICE_COMBINED
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -21,8 +14,6 @@
 | 
			
		|||
#define BACKLIGHT_LEVELS 10
 | 
			
		||||
#define BACKLIGHT_PWM_CHANNEL RP2040_PWM_CHANNEL_B
 | 
			
		||||
 | 
			
		||||
#include_next <halconf.h>
 | 
			
		||||
 | 
			
		||||
//// Keyboard redefines
 | 
			
		||||
 | 
			
		||||
// Always the same
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										8
									
								
								users/halcyon_modules/halconf.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								users/halcyon_modules/halconf.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,8 @@
 | 
			
		|||
// Copyright 2024 splitkb.com (support@splitkb.com)
 | 
			
		||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define HAL_USE_PWM TRUE
 | 
			
		||||
 | 
			
		||||
#include_next <halconf.h>
 | 
			
		||||
							
								
								
									
										9
									
								
								users/halcyon_modules/mcuconf.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								users/halcyon_modules/mcuconf.h
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
// Copyright 2024 splitkb.com (support@splitkb.com)
 | 
			
		||||
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#include_next <mcuconf.h>
 | 
			
		||||
 | 
			
		||||
#undef RP_PWM_USE_PWM5
 | 
			
		||||
#define RP_PWM_USE_PWM5 TRUE
 | 
			
		||||
| 
						 | 
				
			
			@ -11,6 +11,8 @@ QUANTUM_PAINTER_DRIVERS += st7789_spi surface
 | 
			
		|||
BACKLIGHT_ENABLE = yes
 | 
			
		||||
BACKLIGHT_DRIVER = pwm
 | 
			
		||||
 | 
			
		||||
HALCONFDIR += $(USER_PATH)/halconf.h
 | 
			
		||||
 | 
			
		||||
ifdef HLC_ENCODER
 | 
			
		||||
  include $(USER_PATH)/hlc_encoder/rules.mk
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue