add svd2funreg readme

This commit is contained in:
Clyne 2025-02-05 10:32:32 -05:00
parent eceaf16a63
commit 4add095344
Signed by: clyne
GPG Key ID: 7BA5A2980566A649
2 changed files with 16 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.*.sw*
svd2funreg/main

14
svd2funreg/README.md Normal file
View File

@ -0,0 +1,14 @@
# svd2funreg
This utility parses an SVD file and produces its funreg implementation.
Compile using `make`, though be sure to fetch the `pugixml` submodule first.
## Usage
```
./main STM32L476.svd > stm32l476.h
```
Replace the SVD and H files with those of your choosing.