Open Gadicuz opened 1 year ago
https://github.com/mcu-debug/peripheral-viewer/blob/eabf388e3983d9c0976631ce5da4982d907e6eee/src/svd-parser.ts#L374C16-L374C16
Replace baseOptions.resetValue = parseInteger(c.resetValue); with baseOptions.resetValue = parseInteger(c.resetValue[0]); to fix.
baseOptions.resetValue = parseInteger(c.resetValue);
baseOptions.resetValue = parseInteger(c.resetValue[0]);
https://github.com/mcu-debug/peripheral-viewer/blob/eabf388e3983d9c0976631ce5da4982d907e6eee/src/svd-parser.ts#L374C16-L374C16
Replace
baseOptions.resetValue = parseInteger(c.resetValue);
withbaseOptions.resetValue = parseInteger(c.resetValue[0]);
to fix.