19 Commits (77968f04d2005db384d43c67e136397262fe05ab)

Author SHA1 Message Date
Jacob Young 77968f04d2 Implement various `adtf` features needed on ARM (#115)
* Fix test step not running tests

* Fix `error.Todo` causing a crash while outputting json

* Cleanup `@as` usage

* Implement count attribute for registers

* Add ad-hoc alignment to support an initial reserved region.

* Implement register group instances

* Add `build.zig.zon` paths
7 months ago
Matt Knight 1bfba96a8a Don't specify preferred optimize (#111) 7 months ago
Matt Knight 6920852f53 Remove vestigial invocation of git rev-parse (#110) 7 months ago
Matt Knight 7ba67916af use newer libxml2 package (#109) 7 months ago
Matt Knight fec8f40ecc Package clap using official package manager (#105) 7 months ago
Matt Knight d488b381d7 update build api (#99) 7 months ago
Matt Knight 060b6fbd5a update json tree api (#89)
* update json tree api

* sneak in namespacing of types into peripherals, registers, etc

* fix cache api usage, later try cache invalidation
7 months ago
Matt Knight f174713fd3 catch up to zig modules (#88) 7 months ago
Matt Knight f42d279890 Fix build api breaks and morale (#85)
* fix build api breaks

* fix ci

* zig parser api update
7 months ago
Matt Knight 9627d4196c Rearchitect Regz (#63) 7 months ago
Matt Knight 2b985fc898 Characterize (#60)
* rename ndjson, add new tool to characterize sets of xml files

* remove some debug logs

* add characterized register schemas
7 months ago
Matt Knight f204d7f42c A quick fix for ATDF codegen and register groups (#59)
* A quick fix for ATDF codegen and register groups

The current code was expecting register groups and peripherals to have a
1:1 ratio, however the register groups under `modules` are more like
templates which are used to instantiate peripherals. This does the
minimal amount of refactoring in order for this to work and unblock some
users.

* i386 -> x86 target name update
7 months ago
Matt Knight dea71d5272 add comptime for uses of ++ (#53)
* add comptime for uses of ++

* ptrCast instead of bitCast

* don't build i386 windows for now
7 months ago
Matt Hall c38ca6403e Update build.zig: rename path->source (#39)
See ziglang/zig#11557
7 months ago
Matt Knight d10482c9bd Vendor (#19)
* vendor dependencies
7 months ago
Matt Knight e7539b24ae Add build wrapper for regz (#13)
* regz can now be used as a build step
7 months ago
Matt Knight 2de91f6ca5 Test framework (#8)
* add template for PRs

* add CI workflow

* add test step and some empty tests

* reduce targets in workflow, add example svd

* added first test

* added line

* don't crosscompile from windows for now
7 months ago
Matt Knight 4b7c5c531b ATDF (#2)
* snapshotting so that I can work on this as I travel

* add atdf parsing

* update readme

* fix register generation edge case and skip fields named RESERVED
7 months ago
Matt Knight fed1a8f3fd big initial commit, thanks kprotty for helping with MmioInt() 7 months ago