The rak_common project uses a bash script to interface with the GPIO, is there somewhere (other than the sysf workflow), where the GPIO pin function can be defined? Is this because pin 11 is used for UART (UART disabled in jetson-io.py)
that’s correct in jetsonhacks, pin-11/ UART1_RTS, it’s pin muxing as GPIO3_PR.04, which is using gpio-428.
you may toggle gpio-428 for your use-case, please see-also Topic 144550, for several ways to access GPIOs. such as, kernel APIs, python scripts, C++ samples.
thanks
Are you aware of any examples of interfacing with the gpio via bash script? Do the GPIO functions need to be defined at the time the kernel is compiled?
you may control GPIOs via system nodes, you’ll need to obtain the GPIO numbers to toggle the pins through sysfs.
please also refer to developer guide, GPIO Changes for the steps to check GPIO numbers.
thanks