]> code.bitgloo.com Git - clyne/funreg.git/commitdiff
add svd2funreg readme
authorClyne Sullivan <clyne@bitgloo.com>
Wed, 5 Feb 2025 15:32:32 +0000 (10:32 -0500)
committerClyne Sullivan <clyne@bitgloo.com>
Wed, 5 Feb 2025 15:32:32 +0000 (10:32 -0500)
.gitignore [new file with mode: 0644]
svd2funreg/README.md [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..5457d53
--- /dev/null
@@ -0,0 +1,2 @@
+.*.sw*
+svd2funreg/main
diff --git a/svd2funreg/README.md b/svd2funreg/README.md
new file mode 100644 (file)
index 0000000..af327b4
--- /dev/null
@@ -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.
+