Skip to content

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

Description

@HuibMaaskant

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions