-
Notifications
You must be signed in to change notification settings - Fork 164
Sorcerer: Add CLI #890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorcerer: Add CLI #890
Conversation
483fe16 to
73d175f
Compare
ae5b562 to
1a8e2cc
Compare
|
Pushed a change to only list chips, since that's the granularity at which we generate SVDs, so basically keeping this as an regz-generator and not a 'target lister' |
| const mb = MicroBuild.init(b, mz_dep) orelse return; | ||
| const register_schemas = get_register_schemas(b, mb) catch @panic("OOM"); | ||
| const write_files = b.addWriteFiles(); | ||
| const register_schema = write_files.add("register_schemas.json", std.json.Stringify.valueAlloc(b.allocator, register_schemas, .{}) catch @panic("OOM")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still want the register schema data to be a runtime file data instead of compile-time, at least for the GUI.
mattnite
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed my mind, LGTM
regz, but basically just wraps it.