mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-09-30 05:50:43 +02:00
Add eeprom init route
This commit is contained in:
@@ -321,7 +321,7 @@
|
||||
'''
|
||||
Jump to bootloader
|
||||
|
||||
May not be present – if QMK capabilities query returns “true”, then jump to bootloader is supported
|
||||
May not be present - if QMK capabilities query returns “true”, then jump to bootloader is supported
|
||||
|
||||
* 0 means secure routes are disabled, and should be considered as a failure
|
||||
* 1 means successful, board will jump to bootloader
|
||||
@@ -337,6 +337,24 @@
|
||||
return_type: u32[4]
|
||||
return_execute: get_hardware_id
|
||||
}
|
||||
0x09: {
|
||||
type: command
|
||||
name: Reinitialize EEPROM
|
||||
define: EEPROM_RESET
|
||||
permissions: secure
|
||||
enable_if_preprocessor: !defined(NO_RESET)
|
||||
description:
|
||||
'''
|
||||
Reinitializes the keyboard's EEPROM (persistent memory)
|
||||
|
||||
May not be present - if QMK capabilities query returns “true”, then reinitialize is supported
|
||||
|
||||
* 0 means secure routes are disabled, and should be considered as a failure
|
||||
* 1 means successful, board will reinitialize and then reboot
|
||||
'''
|
||||
return_type: u8
|
||||
return_execute: request_eeprom_reset
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user