I’m trying to #include some files, e.g. avr/io.h or avr/interrupt.h but the compiler can’t find them. From the Arduino documentation it says:
“The include path includes the sketch’s directory, the target directory (/hardware/core//) and the avr include directory (/hardware/tools/avr/avr/include/), as well as any library directories (in /hardware/libraries/) which contain a header file which is included by the main sketch file.”
So I’ve found the files I want to include, they are in (on Linux) /usr/avr/include/avr/ so I tried doing a softlink from /hardware/tools/avr/avr to /usr/avr/include/avr.
But it still doesn’t work. Any ideas?