Commit graph

142 commits

Author SHA1 Message Date
bunnie
a38ba534f1 fix rmwf bug where mask is not shifted before use
can't believe this went unnoticed for so long...
2021-04-15 02:59:14 +08:00
bunnie
9f4dc8a7b1 add wifi reset opcodes 2021-04-14 22:43:23 +08:00
bunnie
75295485a7 fix RTC callbacks 2021-04-14 02:58:22 +08:00
bunnie
b408882de7 add updated SVD files to track litex changes 2021-04-12 22:42:02 +08:00
bunnie
a9de4782c5 crashing on load when logger is in callback 2021-04-08 23:07:02 +08:00
bunnie
45c90659e5 rtc first draft 2021-04-08 02:30:57 +08:00
bunnie
da7ace04d4 rebuild and prep for testing on hardware 2021-04-04 02:15:46 +08:00
bunnie
ef3653bf36 add updated SVD files for WDT interrupt rev 2021-03-25 02:40:18 +08:00
bunnie
0e8767aea2 this commit crashes on boot 2021-03-16 19:07:03 +08:00
bunnie
2fb6ae5ee7 debugging i2c 2021-03-16 17:03:10 +08:00
bunnie
c9d7b1c504 add parsing for the <constants> extensions most recently added into Litex 2021-03-02 02:05:34 +08:00
bunnie
d7e1959fed disintegrated fonts working 2021-02-27 14:35:53 +08:00
bunnie
0dc40f4185 attempt to separate fontmaps and loader out of kernel 2021-02-27 02:12:19 +08:00
bunnie
5b80b3fb42 get fcc-agent working again 2021-02-23 04:01:01 +08:00
bunnie
24e7885779 change out hw-image servers for rkyv testing 2021-02-12 01:51:42 +08:00
bunnie
4a32baf12f fix SVD sample file issues that are breaking CI 2021-01-09 02:38:02 +08:00
bunnie
b7263f7ef0 Merge remote-tracking branch 'origin/master' into hardware 2021-01-04 03:19:23 +08:00
Sean Cross
7b50d00eb8 repo: run cargo fmt
This reformats line endings to be consistent, and reinforces the
contents of `.gitattributes`.

Signed-off-by: Sean Cross <sean@xobs.io>
2021-01-03 18:31:51 +08:00
bunnie
886f48ba61 make base field pub so we can initialize
needed for static debug structs
2020-12-31 19:30:48 +08:00
bunnie
21b54a5033 get rid of an unnecessary &mut that makes svd2utra a bit difficult to use 2020-12-14 23:30:18 +08:00
bunnie
09f3390524 update soc.svd to have latest perihperals 2020-12-13 02:24:41 +08:00
Sean Cross
6008326297 svd2utra: update soc.svd with COM IRQ
This should fix CI.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-25 20:47:17 +08:00
bunnie
f61ae8ee2a update soc.svd example 2020-11-22 03:46:42 +08:00
Sean Cross
80419955fb svd2utra: update example with latest svd
Signed-off-by: Sean Cross <sean@xobs.io>
2020-11-11 12:49:42 +08:00
bunnie
88f0ad0056 update example soc.svd so CI doesn't break 2020-10-14 19:03:00 +08:00
bunnie
30042b460c no need to mutably borrow for reads 2020-10-14 03:04:09 +08:00
bunnie
fc02a3e4e1 add 32-bit field width option 2020-10-12 16:54:03 +08:00
bunnie
d36a2f2327 tweak API for better/unambiguous path resolution in page allocations 2020-10-12 04:12:21 +08:00
bunnie
9a50de8b4e refactor: utra -> utralib naming
this cleans up some namespace issues when including
the utra crate which also refers to utra::generated::utra,
and there are CONST at the crate-level, and also functions
at the module-level which need disambiguation. By naming
the crate utra-lib this saves a bit of syntatic wrangling
at the top of every file.
2020-10-12 03:56:10 +08:00
bunnie
e414c87414 add doc notes on the UTRA 2020-10-12 03:21:20 +08:00
Sean Cross
4847469f03 svd2utra: implement svd2utra command
This now has proper command line handling.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-11 09:08:30 +08:00
Sean Cross
c04b23ec67 utra: remove example rust file
This isn't used anymore, and can be regenerated from the file in
`examples`.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-10-11 09:07:40 +08:00
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