A Java library to parse CMSIS SVD files.
Install Eclipse. Once in Eclipse click File > Open Projects from File System...
. On the import dialog select SVD-Parser
folder and import the project.
You are ready for building, testing and developing.
The package is published to Maven Central and Github package repository.
Those pages provide installation snippets, visit them for more information.
Parse from a file and print all peripherals:
File file = new File("my.svd");
SvdDevice device = SvdDevice.fromFile(file);
for (SvdPeripheral peripheral : device.getPeripherals()) {
System.out.println(peripheral.toString());
}