Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.37 KB

File metadata and controls

31 lines (20 loc) · 1.37 KB

SVD Parser

Build CodeQL Maven Central

A Java library to parse CMSIS SVD files.

Development

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.

Installing

The package is published to Maven Central and Github package repository.

Those pages provide installation snippets, visit them for more information.

Usage

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());
}