Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avr/io.h error when compiling on Arduino R4 #48

Open
HuibMaaskant opened this issue Oct 12, 2024 · 2 comments
Open

Avr/io.h error when compiling on Arduino R4 #48

HuibMaaskant opened this issue Oct 12, 2024 · 2 comments

Comments

@HuibMaaskant
Copy link

Hi Alex,

My LocoNet project is compiling fine on an Arduino Uno R3, but when I compile the same code on an Arduino Uno R4, I get the following library error:

In file included from /Users/huib/Documents/Arduino/libraries/LocoNet/LocoNet.cpp:71:0:
/Users/huib/Documents/Arduino/libraries/LocoNet/utility/ln_sw_uart.h:47:12: fatal error: avr/io.h: No such file or directory

include <avr/io.h>

        ^~~~~~~~~~

compilation terminated.
exit status 1

Compilation error: exit status 1

Any thoughts on how to get around this?

Thank you for your time!

Huib

@kiwi64ajs
Copy link
Contributor

kiwi64ajs commented Oct 12, 2024 via email

@HuibMaaskant
Copy link
Author

HuibMaaskant commented Oct 13, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants