register alter with mmap (beaglebone a6 + angstrom)

I’m trying to toggle a pin via mmap but I can’t (I’m using a beaglebone as a developement board for am335x). In your code, OFFSET how much is?
Thanks

Sorry not giving an answer to your question
GZ

Maybe this will help you: https://gist.github.com/piranha32/4fd285cc8333eeb4ec39
I used this code to experiment with memory mapped GPIO.

j.