Skip to content

JungerBoyo/stm32f103rb-template-project-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stm32f103rb-template-project-zig

stm32f103rb mcu ziglang template project with microzig. To use you will need zig >=0.10.0 compiler, st-flash and st-util.

Building

Build steps:

  • Build to elf and binary, run zig build -fstage1 install.
  • Flash binary using st-flash tool, run zig build -fstage1 flash

Debugging

Steps:

  • switch build mode to .Debug
  • run gdb and st-util
  • (in gdb) target extended:4242
  • (in gdb) file zig-out/bin/<project_name>.elf

About

stm32f103rb mcu ziglang template project with microzig

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages