-->
Page 1 of 1

How to solve problem with " #include <avr/interrupt.h> ",

PostPosted: Wed Feb 10, 2016 7:41 pm
by fsq0511
Hi everyone,

I am trying to using an library using avr/interrupt.h, but when I am compling the code, just shows fatal error: avr/interrupt.h: No such file or directory.
Can anyone help with that>

Thanks,
Chichi

Re: How to solve problem with " #include <avr/interrupt.h> "

PostPosted: Fri Feb 12, 2016 11:27 am
by dkinzer
fsq0511 wrote:I am trying to using an library using avr/interrupt.h
Apparently, you are attempting to port some code written for an AVR device to the ESP8266. Depending on what the code does, this may be a simple process, it may be very complex, or it may be impossible. In most cases, it will require you to have a deep understanding of both the original target (the AVR chip) and the new target (the ESP8266) and it would be helpful if you had a lot of experience writing code for embedded devices in C/C++. The fact that you needed to ask the question suggests that you are ill prepared to tackle a task of this level of difficulty.

That said, you need to figure out what part of the code uses things defined in avr/interrupt.h. The way to do that is to delete (or comment out) the inclusion of that file and then see what errors are produced. That will give you some hints as to which parts of the code need to be modified and you study those to figure out what is being done on the AVR and then figure out how to do the same or a similar thing on the ESP8266. Again, you may not have the knowledge to do this successfully. If not, you will have to develop that knowledge or hire someone to do it for you.

Re: How to solve problem with " #include <avr/interrupt.h> "

PostPosted: Thu Mar 16, 2017 5:58 am
by Zineb Meriem
I have the same problem, if you have the answer can you share it with us pleasee, thanks!

Re: How to solve problem with " #include <avr/interrupt.h> "

PostPosted: Sat Jun 10, 2017 1:56 pm
by dannamo
hello where u able to solve this problem?
am trying to compile the 8x8x8 cubic led it compile good on arduino nano but when i compile it in wemos d1 mini it gives me this error
avr/interrupt.h file not found