Commit Graph

14 Commits

Author SHA1 Message Date
277e618186 docs, udev: address Copilot review nits on PR #3775
- getting_started.rst: the reST inline-link markup rendered literally
  inside the code-block (not a runnable command) and lacked sudo — use a
  plain `sudo cp examples/device/99-tinyusb-examples.rules ...`.
- tools/88-tinyusb.rules: normalize the six MODE="666" entries to the
  4-digit octal MODE="0666" used everywhere else in the file.
2026-07-18 00:15:54 +07:00
e5b47c9306 skill: add usb-sniffer — wire-level capture with the ataradov hardware tap
Fourth view in the USB debugging toolset (usbmon = host URBs, usb-debug =
host reasoning, usb-target-debug = device firmware, usb-sniffer = what
actually crossed D+/D-). Covers the ataradov/usb-sniffer analyzer:
headless pcapng capture (--speed ls/fs/hs, --fold, --limit self-exit),
Wireshark/tshark analysis recipes, and the wire realities that bite:
downstream broadcast, sniffer self-capture noise, xHCI devnum != wire
address, tap-point-dependent reset visibility (hub choreography anchors),
FS-behind-HS-hub splits. Every recipe hardware-validated on the rig,
including the capture-window floor (a 3 s window provably misses the
enumeration ladder; 3M packets minimum).

Two udev files with distinct audiences, not one:
- examples/device/99-tinyusb-examples.rules (renamed from 99-tinyusb.rules):
  the user-facing rules the examples need — cafe VID access, hidraw, the
  ModemManager blacklist, a couple of board probes. getting_started.rst,
  the webusb_serial README and its source comment point here.
- tools/88-tinyusb.rules: the HIL rig's private probe/analyzer allowlist,
  now with the sniffer (6666:6620 + blank FX2LP 04b4:8613). Installed on
  the rig only; the usb-sniffer skill references it.
2026-07-17 17:32:47 +07:00
ec2d1d7cff Removed readme and modified the getting started doc 2026-03-31 12:39:16 +03:00
e7c71fefa7 update getting_started.rst and get_deps.py for clarity and improved dependency handling 2026-02-10 11:25:46 +07:00
320d0f88bf remove sdk setup instruction for rp2040 and espressif 2026-02-07 21:53:51 +07:00
db08f5f3fe Fix trailing whitespace in getting_started.rst
- Removed trailing whitespace from line 37 as detected by pre-commit check
- Documentation builds successfully

Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
2025-12-28 14:26:06 +00:00
1bb1efa820 Use appropriate syntax highlighting for Windows commands
- Changed Windows Command Prompt blocks from bash to bat for proper highlighting
- Changed PowerShell blocks from bash to powershell for proper highlighting
- Improves documentation readability and accuracy

Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
2025-12-28 14:19:52 +00:00
83542ce912 Add detailed build instructions for rp2040 and esp32 to getting_started.rst
- Added dedicated "Building for RP2040" section with pico-sdk installation steps
- Added dedicated "Building for ESP32" section with esp-idf installation steps
- Included platform-specific instructions for Linux/macOS and Windows
- Added PICO_SDK_PATH export steps before cmake for rp2040
- Added esp-idf source/export steps before cmake for esp32
- Updated note section to reference new detailed sections
- Documentation builds successfully without errors

Co-authored-by: HiFiPhile <4375114+HiFiPhile@users.noreply.github.com>
2025-12-28 14:18:17 +00:00
a1ae5b20cc update doc 2025-11-11 10:53:39 +07:00
989acc1528 use CMake in getting_started examples 2025-10-21 14:09:00 +02:00
3cb248f2e5 add note about CMake 2025-10-20 21:14:28 +02:00
fa599e3ff4 streamlined getting_started 2025-10-20 21:14:20 +02:00
1f908d88ce getting_started structure 2025-10-20 21:08:34 +02:00
82aa46d8ea more consolidation 2025-10-20 21:08:13 +02:00