diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2024-10-06 16:25:24 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2024-10-06 16:25:24 -0400 |
commit | 7c4c924fb2ccc963333fb8ce9e745eb524768311 (patch) | |
tree | 860097d499522062a092582557f53a6237b34799 | |
parent | 0491a3f6af9e318b9e3774c34fe4923a67376829 (diff) |
add readme
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..210b860 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# zig-stm32l476 + +This is a "bare-metal" [Zig](https://ziglang.org/) project for the NUCLEO-L476RG development board that I'm using to both build up some Zig skills and to tinker with embedded HAL/OS design. + +Run `zig build` to create an ELF file at `zig-out/bin/stm32`. The `upload.sh` script creates a hex version of the binary and tries to upload it via [OpenOCD](https://openocd.org/). + +## What's working +* Startup: stack, .bss, and .data initialization, minimal vector table (replaced by `interrupt.zig`) +* GPIO +* Interrupt handling +* SysTick timer + |