Skip to content

fb/embedded_zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

embedded_zig

A "minimal" ARM cortex-M firmware in Zig.

building

Get GNU Arm Embedded Toolchain and Zig in PATH and type:

make

issues

You can try uncommenting the line below (in the Makefile) to use the lld (don't forget to comment out ld):

    zig build-exe ${BUILD_FLAGS} $(OBJS:%=--object %) --name [email protected] --linker-script ${LINKER_SCRIPT}
#   arm-none-eabi-ld ${OBJS} -o [email protected] -T ${LINKER_SCRIPT} -Map [email protected] --gc-sections

raq (rarely asked questions)

a) Shouldn't the Makefile...

A: lalalala

b) How do I flash this?

A: yes

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Languages

  • Zig 100.0%