Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHello Nachodizz990,
Thank you very much for the prompt reply with very concrete code example, which would be very useful in my case. Regarding the system on HPS, there is original Linux version 3.13.0-00298-g3c7cbb9-dirty (root@matthew) (gcc version 4.6.3 (Sourcery CodeBench Lite 2012.03-57) ). Since I am beginner in Cyclone V SoC, nothing was changed on my DE0-Nano-SoC board, I use orginal SW on my board and PC. Therefore, I have additional maybe a silly question to you:confused: about header files used in your C code: # include <linux/module.h> # include <linux/irq.h> # include <linux/interrupt.h> # include <linux/kernel.h> # include <linux/gpio.h> I have complete installation of: 1) Altera 15.1.0.185 Standard Edition, including Quartus Prime and SoC Embedded Design Suite (EDS) 15.1.0.185 under Win7 2) ARM DS-5 v5.22.0 under Win7, However, I cannot find above files: module.h, irq.h, interrupt.h, kernel.h, gpio.h. Where I can find them to install on my PC in order to compile succesfully your C code?