PlatformIO Community

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:, I added it to my custom boards folder by downloading it from 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