From f5f8068fac59b4f16046c2022c2fc7c7e447ef4c Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Tue, 25 Aug 2026 12:40:53 -0300 Subject: 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. --- captures/zig-tone-chop-chop.json | 67 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 captures/zig-tone-chop-chop.json (limited to 'captures/zig-tone-chop-chop.json') diff --git a/captures/zig-tone-chop-chop.json b/captures/zig-tone-chop-chop.json new file mode 100644 index 0000000..8049e78 --- /dev/null +++ b/captures/zig-tone-chop-chop.json @@ -0,0 +1,67 @@ +{ + "tag": "zig-tone-chop", + "mode": "chop", + "center_hz": 25000000.0, + "rate_hz": 2048000.0, + "gain": 19.7, + "cmd_on": "T", + "cmd_off": "o", + "chop_secs": 4.0, + "cycles": 4, + "guard_s": 0.8, + "integration_halfband_hz": 2000.0, + "integration_offset_hz": 0.0, + "on_segment_db": [ + 5.046, + 5.298, + 5.146, + 4.999 + ], + "off_segment_db": [ + 5.12, + 5.128, + 5.014, + 5.027 + ], + "on_minus_off_db": 0.05, + "pooled_sd_db": 0.126, + "verdict": "no detection above 3 sd", + "marks": [ + { + "t": 242100.648010967, + "line": "MARK STATUS carrier=0 divider=410(Q10.8) freq=24975610Hz src=80000000Hz pin=20 cpu_mhz_x1000=89999 t=98510620us" + }, + { + "t": 242104.536940576, + "line": "MARK TONE_CONTINUOUS_ON gpio20 24975609Hz square t=102406216us" + }, + { + "t": 242108.539328207, + "line": "MARK TONE_OFF gpio20 released to blink t=106406606us" + }, + { + "t": 242112.538504666, + "line": "MARK TONE_CONTINUOUS_ON gpio20 24975609Hz square t=110406998us" + }, + { + "t": 242116.539028346, + "line": "MARK TONE_OFF gpio20 released to blink t=114407349us" + }, + { + "t": 242120.537367672, + "line": "MARK TONE_CONTINUOUS_ON gpio20 24975609Hz square t=118407744us" + }, + { + "t": 242124.538288634, + "line": "MARK TONE_OFF gpio20 released to blink t=122408156us" + }, + { + "t": 242128.539139364, + "line": "MARK TONE_CONTINUOUS_ON gpio20 24975609Hz square t=126408570us" + }, + { + "t": 242132.539313173, + "line": "MARK TONE_OFF gpio20 released to blink t=130408947us" + } + ] +} \ No newline at end of file -- cgit v1.3