Skip to content

docs(gpio): pin Jetson.GPIO >=2.1.12 and add loopback example#21

Merged
dakejahl merged 1 commit into
mainfrom
docs/jetson-gpio-version-and-loopback-example
May 6, 2026
Merged

docs(gpio): pin Jetson.GPIO >=2.1.12 and add loopback example#21
dakejahl merged 1 commit into
mainfrom
docs/jetson-gpio-version-and-loopback-example

Conversation

@dakejahl
Copy link
Copy Markdown
Collaborator

@dakejahl dakejahl commented May 6, 2026

Summary

  • Tell customers to sudo pip3 install 'Jetson.GPIO>=2.1.12' before using the GPIO Python example. The apt-shipped python3-jetson-gpio predates upstream Orin Nano Super support and fails with Could not determine Jetson model on the nvidia,p3768-0000+p3767-0005-super compat string. v2.1.12 on PyPI contains the fix.
  • Replace the single-write Python example with a HIGH/LOW/HIGH/LOW toggle that reads each transition back via a HDR40 pin 40 → pin 38 jumper, mirroring scripts/test_i2s_gpio_loopback.sh in ark_jetson_kernel.
  • Both gpio-control.md pages updated (JAJ under embedded-computers/, PAB under knowledge-base/).

Related: ARK-Electronics/ark_jetson_kernel#60, NVIDIA/jetson-gpio#134.

Test plan

  • Render both pages in the Gitbook preview and confirm the Python code block highlights and the bash install line is copy-pasteable.
  • On a freshly-flashed Orin Nano Super, run sudo pip3 install 'Jetson.GPIO>=2.1.12' then the example with a jumper from HDR40 pin 40 to pin 38; confirm four PASS lines.

🤖 Generated with Claude Code

The apt-shipped python3-jetson-gpio doesn't recognize the Orin Nano
Super compatible string (nvidia,p3768-0000+p3767-0005-super) and
fails with "Could not determine Jetson model". Jetson.GPIO 2.1.12
on PyPI contains the fix; pin a >= constraint in both gpio-control.md
pages (JAJ + PAB) so customers don't trip over this on a fresh device.

Also replace the single-write Python example with a HIGH/LOW/HIGH/LOW
toggle that reads each transition back, mirroring the loopback test
in scripts/test_i2s_gpio_loopback.sh in ark_jetson_kernel.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dakejahl dakejahl merged commit 603533c into main May 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant