Page 1 of 1

Toolchain header files for Open-WRT interrupts

Posted: Wed May 31, 2017 8:25 am
by iham
Good day!

I want to use interrupts on my VoCore 2 via c program.

I have compiled the Toolchain but there is no interrupt.h in this dir (staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2) but there is in the (build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/linux-3.18.29/include/linux/interrupt.h).

What's a rught way to use it? I try to create simulink to this file, but there are other dependencies and I need fix they manually.

I'm not sure about this way but how to compile toolchain with needed functionality?

Re: Toolchain header files for Open-WRT interrupts

Posted: Thu Jun 01, 2017 8:43 am
by Vonger
I think you have to download the full openwrt and compile all :) not sure which part in toolchain is missing, looks like it is linux kernel header, but that is only needed if you compile kernel driver.

Re: Toolchain header files for Open-WRT interrupts

Posted: Thu Jun 01, 2017 6:55 pm
by iham
Thanks for your reply! =)

Already tried.

All kernel modules and many other modules have been compiled. But the date of the last change of the Tollchain folder remains the same as the first compilation. That is, nothing new is added to it.

Re: Toolchain header files for Open-WRT interrupts

Posted: Fri Jun 02, 2017 12:50 am
by Vonger
That's weird, please copy the compile log here.