Commit Graph

22 Commits

Author SHA1 Message Date
Ian Gulliver
c35c1de76a Split net stack into eth/arp/ipv4/icmp, deferred handler responses, ping tests 2026-04-11 08:15:41 +09:00
Ian Gulliver
34efaeefd5 Add list-tests protocol message, test subcommands, extract test handlers 2026-04-11 07:25:16 +09:00
Ian Gulliver
f6d8847bcf Fix packer: store span_writer by reference, not copy 2026-04-10 23:23:58 +09:00
Ian Gulliver
7264611f99 Zero-copy decode: span-based Envelope and DecodedMessage, defer usb_rx_buf clear 2026-04-10 23:08:51 +09:00
Ian Gulliver
76c519c17a Overflow detection, span-based signatures, flatten control flow 2026-04-10 23:02:07 +09:00
Ian Gulliver
8408603390 Zero-copy encode: pack response body in place, single shared tx_buf, drain rx loop 2026-04-10 22:48:28 +09:00
Ian Gulliver
58db392bf3 Simplify handler signatures: return response struct, typed_handler does encoding 2026-04-10 22:21:31 +09:00
Ian Gulliver
e2a5d97dae Zero-copy TX: span_writer packer, static buffers, no vector returns 2026-04-10 22:18:44 +09:00
Ian Gulliver
f2d98ef4f1 Skip net_poll and timers unless their interrupt has fired 2026-04-10 22:00:34 +09:00
Ian Gulliver
9989d8c66a Add UDP transport with picomap port 28781, info -udp flag 2026-04-07 21:36:50 +09:00
Ian Gulliver
31b2c16b07 Debug log with dlog_if_slow, MACRAW ping working, wfi disabled 2026-04-07 12:09:18 +09:00
Ian Gulliver
d215ddc6f2 Add debug log ring buffer with timestamps, log CLI subcommand 2026-04-07 09:18:43 +09:00
Ian Gulliver
46db2fd966 MACRAW IP stack with ARP/ICMP, stable device ordering, LED blink on test 2026-04-07 07:34:24 +09:00
Ian Gulliver
e60479bad8 Switch to IPv4 zeroconf, add test framework with discovery test, fix serial enumeration 2026-04-07 06:58:39 +09:00
Ian Gulliver
b8c0e6be66 Handlers return multiple responses, dispatch polls sockets for UDP commands 2026-04-06 20:22:40 +09:00
Ian Gulliver
f837937cb7 Add firmware_name to info response 2026-04-06 20:09:30 +09:00
Ian Gulliver
49bbe1b29c Split dispatch init/run, join IPv6 multicast discovery group in firmware 2026-04-06 20:01:22 +09:00
Ian Gulliver
00b960d81d Add dispatch loop, copy_to_ram, retry picotool load without sleep 2026-04-06 17:36:41 +09:00
Ian Gulliver
b197f0bfa7 Extract picoboot and info handlers into lib/handlers 2026-04-06 17:24:34 +09:00
Ian Gulliver
00ab432a72 Add IPv6 link-local address to net_init and info response, use WaitGroup.Go 2026-04-06 17:20:13 +09:00
Ian Gulliver
ee8563ab69 Remove DHCP client, preserved on dhcp-wip branch 2026-04-06 09:10:50 +09:00
Ian Gulliver
30a697066c Move C++ tree into firmware/ 2026-04-05 21:33:19 +09:00