de10nano_fpga_linux_config
de10nano_fpga_linux_config copied to clipboard
Mistake in the program: you mmap a block of largobytes=1 bytes, and then access more than one byte in it
https://github.com/nhasbun/de10nano_fpga_linux_config/blob/master/main.c#L16
Yeah you are right.
I will have to take a look to know how many bytes are required, but I'm accepting pull request if you are available to help.
largobytes should be GPIO_INTSTATUS+2.