Skip to content

Library doesn't compile on Mega board #5

Open
@vossilius

Description

@vossilius

Hi,

thanks for sharing the library. However, I get error trying to compile the example.

Arduino: 1.6.12 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
In file included from /[...]/ArduinoBoardManager.h:140:31: error: '__AVR_ATmega1280__' was not declared in this scope
   static const uint16_t CPU = __AVR_ATmega1280__;
                               ^exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

I get the error with my Arduino Mega 2560 as well as Controllino (which is based on Arduino Mega). Any thoughts?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions