Allow uppercase registers in exception decoder (#1020)

It now also successfully handles backtraces where the register has upper case letters
This commit is contained in:
Daan Steenbergen
2023-02-03 14:15:11 +01:00
committed by GitHub
parent c49915ae06
commit 98046b6d4d
+1 -1
View File
@@ -33,7 +33,7 @@ class Esp32ExceptionDecoder(DeviceMonitorFilterBase):
NAME = "esp32_exception_decoder"
BACKTRACE_PATTERN = re.compile(r"^Backtrace:(((\s?0x[0-9a-fA-F]{8}:0x[0-9a-fA-F]{8}))+)")
BACKTRACE_ADDRESS_PATTERN = re.compile(r'0x[0-9a-f]{8}:0x[0-9a-f]{8}')
BACKTRACE_ADDRESS_PATTERN = re.compile(r'0x[0-9a-fA-F]{8}:0x[0-9a-fA-F]{8}')
def __call__(self):
self.buffer = ""