aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--svd2funreg/README.md14
2 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5457d53
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+.*.sw*
+svd2funreg/main
diff --git a/svd2funreg/README.md b/svd2funreg/README.md
new file mode 100644
index 0000000..af327b4
--- /dev/null
+++ b/svd2funreg/README.md
@@ -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.
+