Hello,
I am learning Zig for embedded projects. I would like to experiment with deferred formatting for logging on embedded systems (similar to “Trice” or Rust’s “defmt”). I started working on something inspired by std.fmt
, but the generated code size is too large (probably due to a poor use of inline
or comptime
).
Could you give me some advice?
Swing on over to the Zig Embedded Group DIscord! There’s a couple of people actually tooling around with deferred formatting who I’m sure would be up for brainstorming.
Without seeing your implementation it’s tough to give any pointers, do you have a link to your code?
1 Like
Thank you for your response!
Here is a link:
zig_on_stm32wb50
Your porting guide was very helpful to me—thank you!
1 Like
Is there anywhere I can access the information in the group without Discord?
2 Likes
The best resource for learning how to do Micro-controller things with Zig without joining the Discord group is probably checking out the MicroZig project.
1 Like
Alright, thank you for the link.