Jump to content
  • 0

Cora Z7 how to mmap GPIO in linux ?


jungle
 Share

Question

Hello I am a noob, but I have a board setup using the linux supplied from digilent:

https://github.com/Digilent/Petalinux-Cora-Z7-07S

 

So I assume this package includes a hardware design and a kernel module that memory maps the I/O on the board so I can access it in linux via a C application i write...

But how can I work out which pin is mapped to which address etc so I can write code  to use it ?

I was thinking maybe this is something to do with it : https://github.com/Digilent/digilent-apps

Ideally someone can help me open the hardware design in vivado and open the kernel module code that maps the registers so I can work out the mapping myself. ?

I don't know much about how to use Vivado and SDK but I am using v2017.4.

Any help is much appreciated!!!!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...