Sean Cross
ad19337760
generate: impl Error for ParseError
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-11 09:04:53 +08:00
Sean Cross
3590fa3d4b
svd2utra: wire up tests
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-11 08:24:56 +08:00
bunnie
7dc011e6d8
make build process a bit more transparent
...
- print help messages when running svd2utra from command line for
development
- do not allow utra to silently fall back to a default if one
has not been specified in the environment
2020-10-06 00:48:34 +08:00
bunnie
c5d8ccc67c
update the example.rs file with the latest run
2020-10-06 00:35:42 +08:00
bunnie
16b3d78feb
add interrupt generation to svd2utra
2020-10-06 00:34:18 +08:00
Sean Cross
e9d9315418
svd2utra: mark base field as pub
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:37:18 +08:00
Sean Cross
da50dffa94
sv2utra: fix no_std attribute generation
...
We only need `no_std` when building for embedded platforms, and it no
longer goes inside the library file.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 11:27:47 +08:00
Sean Cross
422789eda7
svd2utra: make svd parsing public
...
This will be useful when replacing `csr.csv` with the svd file.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:57:01 +08:00
Sean Cross
6a01505d11
svd2utra: fix test generation
...
Tests now compile.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:34:24 +08:00
Sean Cross
d0d687a239
utra: fix build on non-hardware release
...
This adds svd2utra, which enables building for non-embedded harware.
It also fixes some build issues, and paves the way for generating UTRA
at compile-time.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-05 10:13:51 +08:00