83 Commits (main)

Author SHA1 Message Date
Ethan Frei 0d0e667c26 removing some used "unused" variables (#55) 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 Knight 43a88c16b3 fix ptrCast to intToPtr (#50) 7 months ago
Matt Knight c87a7422fc update clap, fix logs of optional types (#48)
* update clap, fix logs of optional types

* rename empty test
7 months ago
Matt Knight 242b9300b6 update build badge 7 months ago
Matt Knight ba94c404f8 migrate linux builds to build kite (#47)
* see if it works

* add badge

* try grouping and matrix

* poke

* fix typo

* clean up
7 months ago
Matt Knight f160633eb5 add buildkite pipeline file (#46) 7 months ago
Matt Knight befb9a2928 make InterruptVector public (#44) 7 months ago
Matt Knight 708f0a6af6 don't overwrite register set, simplify nvic register generation (#42) 7 months ago
Matt Knight 48f2c0b051 Nvic codegen (#41)
* add system registers for cortex m0 and m1, nvic register generation for the chip

* make warning log a debug log

* usize to u64

* register size is now max 2^16 - 1
7 months ago
Matt Hall c38ca6403e Update build.zig: rename path->source (#39)
See ziglang/zig#11557
7 months ago
Matt Knight 9af2e274f1 core registers for the m0plus (#26)
* core registers for the m0plus

* do proper optional handling
7 months ago
Matt Knight 6f4850dab7 fix mmio int generation (#25) 7 months ago
Matt Knight 780a75268f add reset value and reset mask register properties (#24)
* add reset value and reset mask register properties

* usize => u64
7 months ago
Matt Knight 3d0c1ece64 use unmanaged datastructures (#23) 7 months ago
Riccardo Binetti 8ba737656a Add support for dimensioned register fields (#20)
Signed-off-by: Riccardo Binetti <rbino@gmx.com>
7 months ago
Matt Knight e34f293fec Update README.md 7 months ago
Matt Knight edf25671b9 add parsing the access type for svd (#22) 7 months ago
Matt Knight 2eb508c318 Register properties size (#21)
* snapshot

* size from register properties now passes tests

* finish moving to named index types
7 months ago
Matt Knight 96bf099d2e Update README.md 7 months ago
Matt Knight 4f4c1e693e Update README.md
don't need --recursive to clone ;)
7 months ago
Matt Knight d10482c9bd Vendor (#19)
* vendor dependencies
7 months ago
Matt Knight 1c676cbcfb support windows builds (#14)
* support windows builds

* add gitattributes for line ending
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 d6d34e21b0 remove indenting, just let the ast parser format the code (#11) 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 d6bdd69ab4 extern struct for vector table (#4) 7 months ago
Matt Knight ae94209b57 inline functions for MMIOs (#3) 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
Gregory Anders b6821bf8c1 Update clap usage for most recent HEAD version 7 months ago
Matt Knight 1a1a281c01 description word wrapping and fixed unhandled interrupt function 7 months ago
Matt Knight fed1a8f3fd big initial commit, thanks kprotty for helping with MmioInt() 7 months ago
Matt Knight 39f633642d Initial commit 7 months ago