Move LED indicator config to data driven (#19800)
This commit is contained in:
		
							parent
							
								
									d784f78bd0
								
							
						
					
					
						commit
						f4ba17c4a0
					
				
					 979 changed files with 1935 additions and 2171 deletions
				
			
		| 
						 | 
				
			
			@ -37,7 +37,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
 | 
			
		||||
 | 
			
		||||
#define OPENDRAIN_INDICATORS
 | 
			
		||||
#define LED_CAPS_LOCK_PIN A6
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,9 @@
 | 
			
		|||
    "pid": "0x6566",
 | 
			
		||||
    "device_version": "0.6.5"
 | 
			
		||||
  },
 | 
			
		||||
  "indicators": {
 | 
			
		||||
    "caps_lock": "A6"
 | 
			
		||||
  },
 | 
			
		||||
  "processor": "STM32F401",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
  "layout_aliases": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,7 +37,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
 | 
			
		||||
 | 
			
		||||
#define OPENDRAIN_INDICATORS
 | 
			
		||||
#define LED_CAPS_LOCK_PIN A6
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,9 @@
 | 
			
		|||
    "pid": "0x6574",
 | 
			
		||||
    "device_version": "0.6.5"
 | 
			
		||||
  },
 | 
			
		||||
  "indicators": {
 | 
			
		||||
    "caps_lock": "A6"
 | 
			
		||||
  },
 | 
			
		||||
  "processor": "STM32F401",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
  "layout_aliases": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -37,7 +37,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define EARLY_INIT_PERFORM_BOOTLOADER_JUMP TRUE
 | 
			
		||||
 | 
			
		||||
#define OPENDRAIN_INDICATORS
 | 
			
		||||
#define LED_CAPS_LOCK_PIN C8
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Feature disable options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,9 @@
 | 
			
		|||
        "pid": "0x6583",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "indicators": {
 | 
			
		||||
        "caps_lock": "C8"
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "STM32F401",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
    "layouts": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -30,6 +30,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define LOCKING_SUPPORT_ENABLE
 | 
			
		||||
/* Locking resynchronize hack */
 | 
			
		||||
#define LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
#define LED_CAPS_LOCK_PIN A0
 | 
			
		||||
#define LED_PIN_ON_STATE 0
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,10 @@
 | 
			
		|||
    	"pid": "0x0083",
 | 
			
		||||
    	"device_version": "0.0.2"
 | 
			
		||||
    },
 | 
			
		||||
    "indicators": {
 | 
			
		||||
    	"caps_lock": "A0",
 | 
			
		||||
    	"on_state": 0
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "STM32F072",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
	"community_layouts": [ "tkl_ansi" ],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,10 @@
 | 
			
		|||
    	"pid": "0x0082",
 | 
			
		||||
    	"device_version": "0.0.2"
 | 
			
		||||
    },
 | 
			
		||||
    "indicators": {
 | 
			
		||||
    	"caps_lock": "A0",
 | 
			
		||||
    	"on_state": 0
 | 
			
		||||
    },
 | 
			
		||||
    "processor": "STM32F072",
 | 
			
		||||
    "bootloader": "stm32-dfu",
 | 
			
		||||
    "layouts": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue