539 Commits (89b32ebd67e9b27a8351d6078ae893ee608f58f2)
 

Author SHA1 Message Date
Matt Knight 89b32ebd67 Update README.md 7 months ago
Matt Knight a33ba6bf0c Update README.md 7 months ago
Matt Knight 5893535f03 update readme (#12) 7 months ago
Matt Knight 6a4d593020 update to master, use zig package manager (#11) 7 months ago
Matt Knight be93629fc9 update sort api (#10) 7 months ago
Matt Knight ed88c548fb update to new usage of build api (#9)
* update to new usage of build api

* update to new usage of build api
7 months ago
Matt Knight 192fbe713e fixed build.zig (#8) 7 months ago
Matt Knight f68ccf09ac new for loop syntax (#7) 7 months ago
Matt Knight 72ca60a0d0 update zig build api and family enum 7 months ago
Matt Knight d862ff2b02 catchup to master 7 months ago
Matt Knight 7fc7b29392 fix for stage3 7 months ago
Matt Knight 6382bf75a5 add bounds check on segments 7 months ago
Matt Knight 67f0121787 add install method to uf2 step 7 months ago
Matt Knight a811241bc0 fix stitching together program segments 7 months ago
Matt Knight 6a1da371df add wip note 7 months ago
Matt Knight bb6c02b2d0 add flash operation step 7 months ago
Matt Knight 8a84013d6d parsing elf and saving uf2 files 7 months ago
Matt Knight 108577d484 Initial commit 7 months ago
Dan Banta fbc4fdfb02 fix: add paths to zon file (#112) 7 months ago
Matt Knight cac9842e7e Allow for regz to be used as a module (#116) 7 months ago
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 d897125bf6 Update README.md 7 months ago
Matt Knight 050c300361 target 0.11.0 on CI (#114) 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
KATO Jinnosuke ab8fda1814 update clap & libxml2 (#108)
* update to zig-clap for zig 0.11.0

* update zig-libxml2 for zig 0.11.0
7 months ago
Ben Crist 40e77b67bb Fixes for changes in std.json API (#107) 7 months ago
Matt Knight f3c994956b builtin type inference fix (#106) 7 months ago
Matt Knight fec8f40ecc Package clap using official package manager (#105) 7 months ago
Matt Knight e6b18653c7 update sort api (#103) 7 months ago
Nicolas Goy 158ad9eefa Fix compilation with latest zig master (#102) 7 months ago
Matt Knight f489ac41d9 update libxml2 (#101) 7 months ago
Matt Knight d488b381d7 update build api (#99) 7 months ago
Matt Knight eb98a1d1ab handle additional %s case for register names in SVD (#97) 7 months ago
Matt Knight 7c75bc6297 don't generate system registers (#96)
* don't generate system registers

* handle missing cpu name
7 months ago
Matt Knight c48ca0e86b use new for loops over iterators (#95)
* use new for loops over iterators

* run github actions on every push
7 months ago
Matt Knight 137b50484a Snake case (#94)
* wip

* converted functions to snake case
7 months ago
Matt Knight fa73a4d164 new for loop syntax (#93) 7 months ago
Paul 4b38512d67 Update README.md (#92) 7 months ago
Matt Knight b81760cd24 getMode() now generated as get_mode() (#90) 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
Jacob Peters 44201d5370 Add core registers for Cortex M0 and M0+ (#86)
* Refactored core register functions

Most of this was just renaming function calls

* More refactoring

* Added calls to the core register functions

* Return error on missing NvicPrioBits

* Added function to check the value of vendor _systick_config

This should work but it is a bit brittle.
If vendorSystickConfig isn't lowercase for false it will return true

* Add extra check for vendor_systick_config

* fix formatting
7 months ago
Matt Knight 8c47254c9c SVD: peripheral derivation (#84)
* SVD: peripheral derivation
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
Eckhart Köppen 0838f5809a Add all interrupts for a peripheral (#81) 7 months ago
Matt Knight 3d6cf928b3 initial vector table support for arm (#80)
When parsing ATDF or SVD files, seed the interrupts with known exception handlers for different architectures.
7 months ago
Matt Knight eb24365786 regzon (#79)
regzon is the name for the json output for reg'z data model. This PR includes a number of tests for serialization and deserialization. The intention of this format is to provide an accessible format for tooling, and to provide a medium for schema patching. Rather than errata, patching can be utilized to improve codegen such as type deduplication.

This format is subject to change.
7 months ago
Matt Knight ec84f7eebf svd field array (#77) 7 months ago