Full Version: SVD file crash on empty content [solved]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Empty description elements in an SVD file appear to crash EmBitz. (EmBitz 2.50 on Windows 11)

The below small SVD file will crash Embitz when I run "Start/Stop Debug Session".  If I add some text to the description element, it does not crash.

<?xml version="1.0" encoding="utf-8"?>
<device schemaVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="CMSIS-SVD_Schema_1_1.xsd">
I never tested that. I always used real vendor files.
I will solve this in the 2.6
Me too, which is why I only discovered it now. I got hold of a pretty dirty SVD from somewhere which crashed EmBitz, but svdconv.exe said it was ok. I then tracked it down to some of the descriptions being empty.