Cannot parse SVD file

I’m using a custom board with target mcu: ATSAMC21E18A.
Since this mcu currently has no svd file in this list: platform-atmelsam/misc/svd at develop · platformio/platform-atmelsam · GitHub, I added it to my custom boards folder by downloading it from http://packs.download.atmel.com/ and added the path to this file in my platformio.ini file debug_svd_path = boards/ATSAMC21E18A.svd and in the launch.json file "svdPath": "boards/ATSAMC21E18A.svd"

However when starting a debug session, I got the error message: “Unable to parse SVD file: TypeError: Cannot read property ‘0’ of undefined”

What am I doing wrong? Or how can I debug this?

We will check our SVD parser soon. See related issue Broken SVD parser for ESP32 · Issue #1675 · platformio/platformio-vscode-ide · GitHub