https://github.com/antoniovazquezblanco/svd-parser
A Java library to parse CMSIS SVD files.
https://github.com/antoniovazquezblanco/svd-parser
cmsis-svd java
Last synced: 10 months ago
JSON representation
A Java library to parse CMSIS SVD files.
- Host: GitHub
- URL: https://github.com/antoniovazquezblanco/svd-parser
- Owner: antoniovazquezblanco
- Created: 2023-12-07T22:49:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-12T06:07:44.000Z (12 months ago)
- Last Synced: 2025-08-12T08:19:29.895Z (12 months ago)
- Topics: cmsis-svd, java
- Language: Java
- Homepage: https://github.com/antoniovazquezblanco/SVD-Parser
- Size: 112 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SVD Parser
[](https://github.com/antoniovazquezblanco/SVD-Parser/actions/workflows/main.yml)
[](https://central.sonatype.com/artifact/io.github.antoniovazquezblanco/svd-parser)
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](https://central.sonatype.com/artifact/io.github.antoniovazquezblanco/svd-parser) and [Github package repository](https://github.com/antoniovazquezblanco/SVD-Parser/packages/2011818).
Those pages provide installation snippets, visit them for more information.
## Usage
Parse from a file and print all peripherals:
```java
File file = new File("my.svd");
SvdDevice device = SvdDevice.fromFile(file);
for (SvdPeripheral peripheral : device.getPeripherals()) {
System.out.println(peripheral.toString());
}
```