Skip to content

Instantly share code, notes, and snippets.

@themactep
Last active October 14, 2023 12:43
Show Gist options
  • Save themactep/8212b83d09e04f4c38120e60c08703fb to your computer and use it in GitHub Desktop.
Save themactep/8212b83d09e04f4c38120e60c08703fb to your computer and use it in GitHub Desktop.
Display GPIO pins configuration.
#!/bin/sh
mount -t debugfs none /sys/kernel/debug
cat /sys/kernel/debug/gpio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment