Skip to content

docs: add Dragon Q8B GPIO output/input example mirroring Q6A - #2097

Merged
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
tzz-radxa:docs/dragon-q8b-gpio-usage-q6a-style-20260904
Sep 4, 2026
Merged

docs: add Dragon Q8B GPIO output/input example mirroring Q6A#2097
Milir-Radxa merged 1 commit into
radxa-docs:mainfrom
tzz-radxa:docs/dragon-q8b-gpio-usage-q6a-style-20260904

Conversation

@tzz-radxa

Copy link
Copy Markdown
Contributor

Why

Dragon Q8B's pin-gpio guide previously only listed tool installation and GPIO controller identification steps. This PR expands the GPIO Usage section to match the structure of the Dragon Q6A guide, with example pins and code adapted to the Dragon Q8B hardware:

  • GPIO_42 (physical pin 5) as the output pin
  • GPIO_175 (physical pin 7) as the input pin

The example follows the Q6A output/input loopback test flow (hardware prep, python-periphery, test code, test steps, expected results). The GPIO controller on Dragon Q8B was confirmed internally as /dev/gpiochip4, and the line offsets correspond to the GPIO numbers listed in the Q8B pinout table.

Changes

  • docs/dragon/q8b/hardware-use/pin-gpio.md
  • i18n/en/docusaurus-plugin-content-docs/current/dragon/q8b/hardware-use/pin-gpio.md

Both Chinese and English versions updated in sync.

@tzz-radxa
tzz-radxa requested a review from a team as a code owner September 4, 2026 10:19
@Milir-Radxa
Milir-Radxa merged commit c76277b into radxa-docs:main Sep 4, 2026
6 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.

2 participants