1
$\begingroup$

Is there's any library to interface the Jetson Nano GPIO? There's the official Python interface, and there is an unofficial c++ interface which is working through the filesystem, and I'm interested in the direct register access. There is a post here by someone who claims he has achived it, but before I re-imlement the reference manual, It would be great if someone already did it.

$\endgroup$
4
  • $\begingroup$ what is preventing you from running tests? ... it is expected that you do research and attempt a solution before you post here $\endgroup$
    – jsotola
    Commented Feb 8, 2022 at 2:08
  • $\begingroup$ I don't understand the question, I'm not running any test, I'm searching for a c++ library that access gpio through direct register memory $\endgroup$
    – Mercury
    Commented Feb 9, 2022 at 8:12
  • $\begingroup$ you said There is a post here by someone who claims he has achived it ..... you could verify the claim $\endgroup$
    – jsotola
    Commented Feb 9, 2022 at 18:33
  • $\begingroup$ No link, just claim... $\endgroup$
    – Mercury
    Commented Feb 10, 2022 at 19:15

1 Answer 1

4
$\begingroup$

I created a library that does just that, mapping the tegra CPU registers in user space. My lib is here: https://github.com/Rubberazer/JETGPIO it can be called from C or C++

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.