summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-25 12:40:53 -0300
committerGabriel Schneider <[email protected]>2026-08-25 12:46:51 -0300
commitf5f8068fac59b4f16046c2022c2fc7c7e447ef4c (patch)
tree2731a3ed4e51cae09e184e25778eded5fc37d1f5 /.gitignore
downloadesp32p4-f5f8068fac59b4f16046c2022c2fc7c7e447ef4c.tar.gz
esp32p4-f5f8068fac59b4f16046c2022c2fc7c7e447ef4c.zip
zig-p4: pure-Zig ESP32-P4 toolchain
build.zig generates the linker script and drives Zig's own LLD; tools/image.zig turns the ELF into a flashable image and tools/{rom,serial}.zig speak the mask ROM loader over the UART. No CMake, ninja, idf.py, esptool, or external linker. src/soc.zig is a comptime register model over ESP-IDF's own *_reg.h headers; src/hal/ adds peripheral sequences; src/io/ implements std.Io for the chip; src/oracle/ diffs this HAL against ESP-IDF's on the die.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore12
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bbd963e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,12 @@
+# Zig's own build cache. Content-addressed, machine-local, and huge: the
+# tracked snapshot had 1,407 files under .zig-cache/h alone, plus object files
+# of 14-45 MB that jj refused to snapshot at all.
+/.zig-cache/
+
+# `zig build` installs exactly one artefact here (the flashable image, plus the
+# ELF under -Delf). Both are derived from tracked sources.
+/zig-out/
+
+# Scope captures: the .json IS the measurement and stays tracked. The .png is a
+# 1.1 MB screenshot of that same JSON and is referenced by nothing.
+/captures/*.png