Skip to content

Commit

Permalink
minimal viable readmen (MVR)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tralamazza committed Jun 19, 2019
1 parent c11ce66 commit bc6bfd7
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,26 @@
# embedded_zig

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

## building

Get [GNU Arm Embedded Toolchain](https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm) and [Zig](https://ziglang.org/) 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

0 comments on commit bc6bfd7

Please sign in to comment.