microzig icon indicating copy to clipboard operation
microzig copied to clipboard

Discussion: AVR programming (Zig / education)

Open vlappa opened this issue 9 months ago • 2 comments

I was wondering how well AVR programming is supported.

Lot's of educational resources are using the Arduino Uno (or Arduino Nano).

Also there is this book: "Make: AVR programming" which uses C to teach people how to write software for hardware.

With good AVR support, you've already good (educational) resources available to start with Zig / microzig I can imagine.

vlappa avatar May 09 '25 09:05 vlappa

Zig currently has shaky support for AVR, unfortunately. It would have to improve before we could do this. We actually currently have the AVR builds disabled in CI.

Grazfather avatar May 16 '25 15:05 Grazfather

Zig currently has shaky support for AVR, unfortunately. It would have to improve before we could do this. We actually currently have the AVR builds disabled in CI.

On what "level" does the problem lie? Would using Microchip's linker and init files linking in and calling main written in Zig help in any way?

WizardUli avatar May 27 '25 18:05 WizardUli