You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/dhowells/python-cmsis-svd-parser/Examples/ReadWriteSVD.py", line 17, in <module>
device = SVDReader.process(root, resolve_derivations=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dhowells/python-cmsis-svd-parser/SVDReader.py", line 956, in process
device = SVDReader._resolve_arrays_lists(device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dhowells/python-cmsis-svd-parser/SVDReader.py", line 928, in _resolve_arrays_lists
SVDReader._resolve_arrays_lists(elem, next_lvl_name)
File "/home/dhowells/python-cmsis-svd-parser/SVDReader.py", line 925, in _resolve_arrays_lists
for name, elem in next_lvl_collection.items():
RuntimeError: dictionary changed size during iteration
(I have edited the SVDReader.py to accept the "Xtensa LX7" cpu type).
Running with resolve_array_lists=False, executes without error.
This might not be a bug, and could well me be doing something wrong, or the svd file not being quite what is expected/handled.
The text was updated successfully, but these errors were encountered:
Using the example ReadWriteSVD.py on the svd file from Espressif for the ESP32S3 (https://github.com/espressif/svd/blob/main/svd/esp32s3.svd) and changing the call to SVDReader.process so that resolve_array_lists=True, I get:
(I have edited the SVDReader.py to accept the "Xtensa LX7" cpu type).
Running with resolve_array_lists=False, executes without error.
This might not be a bug, and could well me be doing something wrong, or the svd file not being quite what is expected/handled.
The text was updated successfully, but these errors were encountered: