We found on the forum that the picture below provides gpio-related APIs. But in the system, there is no corresponding path. I found the gpio.h header file under the /usr/include path. But after including the gpio.h header file, it will prompt that there is a lack of source files or dynamic (static) link library when compiling. Is there such a library? If it exists, where should we find it?
Thank you
hello aaron.ge,
note, here’s tegra-gpio.h, this header provides constants for binding nvidia,tegra-gpio. for the Nano series.
you should include that to build your kernel sources.
for example,
$L4T_Sources/r32.5.1/Linux_for_Tegra/source/public/kernel/kernel-4.9/include/dt-bindings/gpio/tegra-gpio.h