3 ms·
I keep meaning to look into zig more. Can it be used for embedded chips like M0s yet? I'd love to hear if anyone's cross compiling to embedded chips in any rea
by travisgriggs 6y ago
I keep meaning to look into zig more. Can it be used for embedded chips like M0s yet?
I'd love to hear if anyone's cross compiling to embedded chips in any real projects with it. Or it's strongest play still command line tools on Linux?
- hansvm 6y agoZig is still "not production ready," embedded is still rough, and you might have to contribute to Ziglang itself to get any particular architecture working appropriately. That said, yes people are using Zig a little for embedded stuff: https://codelv.com/blog/2020/5/using-zig-and-the-stm32h7-to-drive-stepper-motors https://codelv.com/blog/2020/5/using-zig-and-the-stm32h7-to-... https://www.mdeditor.tw/pl/2Ap9 https://www.mdeditor.tw/pl/2Ap9 Xtensa is less supported. M0 might also have some issues: https://github.com/Schroedingers-Hat/xtensa-zig https://github.com/Schroedingers-Hat/xtensa-zig I've been meaning to try it out for embedded myself; I'll let you know how it goes.