Fixup bootloaders. (#16256)
This commit is contained in:
		
							parent
							
								
									53a7306682
								
							
						
					
					
						commit
						a86d6fffc9
					
				
					 17 changed files with 70 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -20,6 +20,11 @@ void board_init(void) {
 | 
			
		|||
    writePinLow(A8);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void bootloader_jump(void) {
 | 
			
		||||
    // This board doesn't use the standard DFU bootloader, and no information is available regarding how to enter bootloader mode. All we can do here is reset.
 | 
			
		||||
    NVIC_SystemReset();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void keyboard_post_init_kb(void) {
 | 
			
		||||
    rgblight_enable_noeeprom();
 | 
			
		||||
    rgblight_sethsv_noeeprom(5, 255, 255);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,9 @@ MCU_LDSCRIPT = m12og_v1
 | 
			
		|||
 | 
			
		||||
BOARD = m12og_v1
 | 
			
		||||
 | 
			
		||||
# Bootloader selection
 | 
			
		||||
BOOTLOADER = custom
 | 
			
		||||
 | 
			
		||||
# Build Options
 | 
			
		||||
#   change yes to no to disable
 | 
			
		||||
#
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue