Skip to content

antoniovazquezblanco/SVD-Parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVD Parser

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