mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-08-01 19:06:14 -04:00
Added firmware hash readout
This commit is contained in:
parent
95970a54fe
commit
312e4ec2fe
5 changed files with 54 additions and 3 deletions
|
@ -697,6 +697,18 @@ void serialCallback(uint8_t sbyte) {
|
|||
device_save_signature();
|
||||
}
|
||||
#endif
|
||||
} else if (command == CMD_HASHES) {
|
||||
#if MCU_VARIANT == MCU_ESP32
|
||||
if (sbyte == 0x01) {
|
||||
kiss_indicate_target_fw_hash();
|
||||
} else if (sbyte == 0x02) {
|
||||
kiss_indicate_fw_hash();
|
||||
} else if (sbyte == 0x03) {
|
||||
kiss_indicate_bootloader_hash();
|
||||
} else if (sbyte == 0x04) {
|
||||
kiss_indicate_partition_table_hash();
|
||||
}
|
||||
#endif
|
||||
} else if (command == CMD_FW_HASH) {
|
||||
#if MCU_VARIANT == MCU_ESP32
|
||||
if (sbyte == FESC) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue