Home
last modified time | relevance | path

Searched refs:chsum (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/esp_gdbstub/src/
Dpacket.c132 unsigned char chsum = 0; in esp_gdbstub_read_command() local
146 chsum += c; in esp_gdbstub_read_command()
149 chsum = 0; in esp_gdbstub_read_command()
156 chsum += c; in esp_gdbstub_read_command()
169 if (rchsum != chsum) { in esp_gdbstub_read_command()
/hal_espressif-3.6.0/tools/idf_monitor_base/
Dgdbhelper.py85 chsum = sum(ord(bytes([p])) for p in m.group(1)) & 0xFF
89 if chsum == calc_chsum:
101 … red_print('Malformed gdb message... calculated checksum %02x received %02x' % (chsum, calc_chsum))