Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ArduinoRobot library doesn't compile #5417

Closed
Labels
@per1234

Description

Using Arduino IDE 1.6.13 Hourly Build 2016年09月23日 03:33 with Windows 7 64 bit

Any sketch that contains the line:

#include <ArduinoRobot.h>

fails to compile with a bunch of this sort of stuff:

`osc' referenced in section `.text' of C:\Users\per\AppData\Local\Temp\ccvUoJUW.ltrans0.ltrans.o: defined in discarded section `.text' of libraries\Robot_Control\Squawk.cpp.o (symbol from plugin)

I suspect this is related to LTO, however using pre-LTO Arduino AVR Boards 1.6.11 compile still fails, even for the BareMinimum sketch:

C:\Program Files (x86)\arduino-nightly\portable\packages\arduino\hardware\avr1円.6.11\cores\arduino\CDC.cpp: In function 'bool CDC_Setup(USBSetup&)':
C:\Program Files (x86)\arduino-nightly\portable\packages\arduino\hardware\avr1円.6.11\cores\arduino\CDC.cpp:104:29: error: 'MAGIC_KEY_POS' was not declared in this scope
 uint16_t magic_key_pos = MAGIC_KEY_POS;
 ^
C:\Program Files (x86)\arduino-nightly\portable\packages\arduino\hardware\avr1円.6.11\cores\arduino\CDC.cpp:129:34: error: 'MAGIC_KEY' was not declared in this scope
 *(uint16_t *)magic_key_pos = MAGIC_KEY;

I have to go all the way back to Arduino AVR Boards 1.6.10 before it will compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /