I followed this guide to setup the Arduino IDE to program my new GEMMA:
http://learn.adafruit.com/introducing-g ... rduino-ide
Drivers installed just fine
Replaced avrdude.conf
Pushed button for red flashing LED to enter bootloader
Selected Adafruit Gemma 8MHZ for board
Selected USBtinyISP for programmer
Here is the error I'm getting:
Any ideas?
Thank you
Arduino IDE error for Gemma
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- eric0321
- Posts: 18
- Joined: Sun Sep 08, 2013 10:17 pm
Re: Arduino IDE error for Gemma
I also tried to upload a sketch to my new Flora. I still get errors.
Tried downloading the IDE you provide for Flora etc... Still doesn't work.
Frustrating :-/
My original Arduino Uno still humming happily along though.
Tried downloading the IDE you provide for Flora etc... Still doesn't work.
Frustrating :-/
My original Arduino Uno still humming happily along though.
- eric0321
- Posts: 18
- Joined: Sun Sep 08, 2013 10:17 pm
Re: Arduino IDE error for Gemma
A new devlopment. The blink example code here: http://learn.adafruit.com/introducing-g ... rduino-ide works.
It must be something in my code.
My code compiles on the Arduino UNO at 5190 bytes. IDE tells me Gemma has 5310 bytes available so size shouldn't be a problem.
Any help greatly appreciated!
Here is the code (much of it taken from examples provided by Adafruit):
This the error I get using the IDE provided in the Flora documentation. Replaced avrdude.conf from Gemma documentation.
It must be something in my code.
My code compiles on the Arduino UNO at 5190 bytes. IDE tells me Gemma has 5310 bytes available so size shouldn't be a problem.
Any help greatly appreciated!
Here is the code (much of it taken from examples provided by Adafruit):
Code: Select all
#include <Adafruit_NeoPixel.h>
#define PIN_OUT 1 // output pin to run NeoPixels
#define BUTTON_MODE 2 // input pin for button to control mode
#define BUTTON_COLOR 0 // input pin for button to control color
#define STEP_COLOR 8 // color increment, too many for 1-step
#define NUM_MODES 8 //total modes - 1
// initialize NeoPixels with number of physical pixels, assign output pin
Adafruit_NeoPixel pixels = Adafruit_NeoPixel(16, PIN_OUT);
uint8_t offset = 0; // Position of spinny eyes
uint32_t prevTime;
uint8_t buttonState = 0;
uint8_t prevButtonState = 0;
uint8_t buttonHeld = 0;
uint8_t mode = 0; // Current animation effect
bool autoMode = true; // Auto-cycle modes?
uint8_t color = 0; // Current color number
bool autoColor = true; //Auto-cycle colors?
uint8_t i,j; // counters
void setup() {
pixels.begin();
pixels.setBrightness(60); // probably need 120 or more for 3.3v
prevTime = millis();
pinMode(BUTTON_MODE, INPUT_PULLUP); // mode button as input with pullup resistor
pinMode(BUTTON_COLOR, INPUT_PULLUP); // color button as input with pullup resistor
}
void loop() {
i = 0;
j = 0;
uint32_t t;
checkButton(BUTTON_MODE); // check if mode button has been pushed
checkButton(BUTTON_COLOR); // check if color button has been pushed
//Switch to handle each animation mode
switch(mode) {
case 0: // Random sparks - just one LED on at a time!
i = random(pixels.numPixels());
pixels.setPixelColor(i, Wheel(color&255));
pixels.show();
delay(10);
pixels.setPixelColor(i, 0);
break;
case 1: // Spinny Wheels
for(i=0; i < pixels.numPixels(); ++i) {
pixels.setPixelColor(i, (((offset + i) & 7) < 2) ? Wheel(color&255) : 0); // 4 pixels on...
}
pixels.show();
offset++;
delay(50);
break;
case 2: // All on
for(i=0; i < pixels.numPixels(); ++i) {
pixels.setPixelColor(i, Wheel(color&255));
}
pixels.show();
delay(50);
break;
case 3: // Snake
for(i=0; i < pixels.numPixels(); ++i) {
pixels.setPixelColor(i, (((offset + i) & pixels.numPixels()) < 2) ? Wheel(color&255) : 0);
}
pixels.show();
offset++;
delay(50);
break;
case 4: // Runner
for(i=0; i < pixels.numPixels(); ++i) {
pixels.setPixelColor(i, (((offset + i) % pixels.numPixels()) == 0) ? Wheel(color&255) : 0);
}
pixels.show();
offset++;
delay(50);
break;
case 5: // Rainbow transition
for(j=0; j<256; ++j) {
for(i=0; i<pixels.numPixels(); ++i) {
pixels.setPixelColor(i, Wheel((i+j) & 255));
if (checkButton(BUTTON_MODE)) goto end1;
}
pixels.show();
delay(10);
}
end1:
break;
case 6: // Rainbow twirl
for(j=0; j<256; ++j) {
for(i=0; i< pixels.numPixels(); ++i) {
pixels.setPixelColor(i, Wheel(((i * 256 / pixels.numPixels()) + j) & 255));
if (checkButton(BUTTON_MODE)) goto end2;
}
pixels.show();
delay(10);
}
end2:
break;
case 7: // Rainbow brew
for(i=0; i < pixels.numPixels(); ++i) {
pixels.setPixelColor(i, Wheel(random(256)&255));
}
pixels.show();
delay(50);
break;
case 8: // Random sparks rainbow
i = random(pixels.numPixels());
pixels.setPixelColor(i, Wheel(random(256)&255));
pixels.show();
delay(10);
pixels.setPixelColor(i, 0);
break;
}
t = millis();
if((t - prevTime) > 10000) { // Every 10 seconds...
if (autoMode) mode = (mode == NUM_MODES ? 0 : ++mode); // Next mode
if (autoColor){
color = (color >= 255 ? 0 : color += STEP_COLOR); // Next color
}
for(i=0; i < pixels.numPixels(); ++i) pixels.setPixelColor(i, 0);
prevTime = t;
}
}
// check to see if button is pushed
bool checkButton(uint8_t buttonType){
buttonState = digitalRead(buttonType);
bool pushed = false;
// compare the modeButtonState to its previous state
if (buttonState != prevButtonState) {
// if the state has changed, increment the counter
if (buttonState == LOW) {
if(buttonType == BUTTON_MODE)
mode = (mode == NUM_MODES ? 0 : ++mode);
else
color = (color >= 255 ? 0 : color += STEP_COLOR);
pushed = true;
}
}
// save the current state as the last state for next loop
prevButtonState = buttonState;
// long button press/hold
while (digitalRead(buttonType) == LOW && buttonHeld < 25){
delay(100);
buttonHeld++;
}
if (buttonHeld > 24)// long button press
{
if(buttonType == BUTTON_MODE)
autoMode = ((autoMode == true) ? false : true);
else
autoColor = ((autoColor == true) ? false : true);
for (i=0; i < pixels.numPixels(); ++i) {
//pixels.setPixelColor(i, (buttonType == BUTTON_MODE ? 255 : 0),
//(buttonType == BUTTON_COLOR ? 255: 0),
//0);
pixels.setPixelColor(i, 0xFFFFFF); //GEMMA version
}
// fix problem where long push increments mode/color
if(buttonType == BUTTON_MODE)
mode = (mode == 0 ? NUM_MODES : --mode);
else
color = (color < STEP_COLOR ? 255 : color -= STEP_COLOR);
}
// keep long press notification colors on until button has been released
while (digitalRead(buttonType) == LOW){
for (i=0; i < pixels.numPixels(); ++i) {
//pixels.setPixelColor(i, (buttonType == BUTTON_MODE ? 255 : 0),
//(buttonType == BUTTON_COLOR ? 255: 0),
//0);
pixels.setPixelColor(i, 0xFFFFFF); //GEMMA version
}
pixels.show();
delay(10);
}
buttonHeld = 0;
return pushed;
}
// Input a value 0 to 255 to get a color value.
// The colours are a transition r - g - b - back to r.
uint32_t Wheel(byte WheelPos) {
if(WheelPos < 85) {
return pixels.Color(WheelPos * 3, 255 - WheelPos * 3, 0);
}
else if(WheelPos < 170) {
WheelPos -= 85;
return pixels.Color(255 - WheelPos * 3, 0, WheelPos * 3);
}
else {
WheelPos -= 170;
return pixels.Color(0, WheelPos * 3, 255 - WheelPos * 3);
}
}
Code: Select all
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn85.o:(.init9+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_exit.o)
core.a(main.cpp.o): In function `main':
C:\Users\Eric0321h\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/main.cpp:15: relocation truncated to fit: R_AVR_13_PCREL against undefined symbol `serialEventRun()'
- frank26080115
- Posts: 126
- Joined: Fri Jun 15, 2007 1:04 am
Re: Arduino IDE error for Gemma
That error means the Arduino IDE thinks your board has a hardware serial port, but it doesn't.
Please check that you've selected Gemma inside Arduino IDE, do not select Uno.
If that doesn't help, please tell us exactly which version of the IDE you are using, and also provide verbose build output.
Please check that you've selected Gemma inside Arduino IDE, do not select Uno.
If that doesn't help, please tell us exactly which version of the IDE you are using, and also provide verbose build output.
- eric0321
- Posts: 18
- Joined: Sun Sep 08, 2013 10:17 pm
Re: Arduino IDE error for Gemma
Question: Why does the blink example on Gemma documentation compile, upload, and run when my code wont? I'm not making any references to serial functions.frank26080115 wrote:That error means the Arduino IDE thinks your board has a hardware serial port, but it doesn't.
Please check that you've selected Gemma inside Arduino IDE, do not select Uno.
If that doesn't help, please tell us exactly which version of the IDE you are using, and also provide verbose build output.
This is my very first arduino project that I'm trying to port over to running on a Gemma. Which is sort of my second project I guess
Gemma is selected as board
USBtinyISP is selected as programmer
I'm using the Arduino IDE provided by Adafruit in the Flora documentation. 1.0.2
Verbose Output
Code: Select all
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 -IC:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\sketch_oct02a.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\sketch_oct02a.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:193,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster/Adafruit_NeoPixel.h:23,
from sketch_oct02a.ino:1:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:8,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster/Adafruit_NeoPixel.h:23,
from sketch_oct02a.ino:1:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:193,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster/Adafruit_NeoPixel.h:23,
from sketch_oct02a.ino:1:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
sketch_oct02a.ino: In function 'void loop()':
sketch_oct02a.ino:128: warning: operation on 'mode' may be undefined
sketch_oct02a.ino:130: warning: operation on 'color' may be undefined
sketch_oct02a.ino: In function 'bool checkButton(uint8_t)':
sketch_oct02a.ino:147: warning: operation on 'mode' may be undefined
sketch_oct02a.ino:149: warning: operation on 'color' may be undefined
sketch_oct02a.ino:179: warning: operation on 'mode' may be undefined
sketch_oct02a.ino:181: warning: operation on 'color' may be undefined
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 -IC:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster -IC:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster\utility C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster\Adafruit_NeoPixel.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\AdafruitNeoPixelMaster\Adafruit_NeoPixel.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:193,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster\/Adafruit_NeoPixel.h:23,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster\Adafruit_NeoPixel.cpp:34:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:8,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster\/Adafruit_NeoPixel.h:23,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster\Adafruit_NeoPixel.cpp:34:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:193,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster\/Adafruit_NeoPixel.h:23,
from C:\Users\Eric0321\Documents\Arduino\libraries\AdafruitNeoPixelMaster\Adafruit_NeoPixel.cpp:34:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\WInterrupts.c -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\WInterrupts.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\WInterrupts.c:130:8: warning: #warning attachInterrupt may need some more work for this cpu (case 1)
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\WInterrupts.c:216:8: warning: #warning detachInterrupt may need some more work for this cpu (case 1)
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\WInterrupts.c:302: warning: 'INT1_vect' appears to be a misspelled signal handler
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\wiring.c -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\wiring.c:255:3: warning: #warning this needs to be finished
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\wiring.c:264:3: warning: #warning Timer 2 not finished (may not be present on this CPU)
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\wiring.c:273:3: warning: #warning Timer 2 not finished (may not be present on this CPU)
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\wiring_analog.c -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring_analog.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\wiring_digital.c -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring_digital.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\wiring_pulse.c -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring_pulse.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\wiring_shift.c -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring_shift.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\CDC.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\CDC.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:15,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\CDC.cpp:19:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:6,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\CDC.cpp:19:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:15,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\CDC.cpp:19:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\HardwareSerial.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\HardwareSerial.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\HardwareSerial.cpp:28:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:8,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\HardwareSerial.cpp:28:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\HardwareSerial.cpp:28:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\HID.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\HID.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:15,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\HID.cpp:19:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:6,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\HID.cpp:19:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:15,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\HID.cpp:19:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\IPAddress.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\IPAddress.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\IPAddress.cpp:2:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:8,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\IPAddress.cpp:2:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\IPAddress.cpp:2:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\main.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\main.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\main.cpp:1:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:8,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\main.cpp:1:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\main.cpp:1:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\new.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\new.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Print.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\Print.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Print.cpp:26:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:8,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Print.cpp:26:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Print.cpp:26:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Print.cpp: In member function 'size_t Print::print(const __FlashStringHelper*)':
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Print.cpp:44: warning: '__progmem__' attribute ignored
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Stream.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\Stream.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Stream.cpp:23:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:8,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Stream.cpp:23:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Stream.cpp:23:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Tone.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\Tone.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Tone.cpp:37:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/interrupt.h:38,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Tone.cpp:35:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Tone.cpp:37:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Tone.cpp:119: warning: only initialized variables can be placed into program memory area
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\Tone.cpp:535: warning: 'TIMER2_COMPA_vect' appears to be a misspelled signal handler
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\USBCore.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\USBCore.cpp.o
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Stream.h:26,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:15,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\USBCore.cpp:19:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn85.h:38,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:284,
from c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:6,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\USBCore.cpp:19:
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
In file included from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Arduino.h:193,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/Platform.h:15,
from C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\USBCore.cpp:19:
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\/HardwareSerial.h:126:2: warning: #warning TXC0 not definable in HardwareSerial.h
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\WMath.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\WMath.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny85 -DF_CPU=8000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=102 -IC:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino -IC:\Users\Eric0321\Documents\Arduino\hardware\attiny\variants\tiny8 C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino\WString.cpp -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\WString.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\WInterrupts.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring_analog.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring_digital.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring_pulse.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\wiring_shift.c.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\CDC.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\HardwareSerial.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\HID.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\IPAddress.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\main.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\new.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\Print.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\Stream.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\Tone.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\USBCore.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\WMath.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-ar rcs C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\WString.cpp.o
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=attiny85 -o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\sketch_oct02a.cpp.elf C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\sketch_oct02a.cpp.o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\AdafruitNeoPixelMaster\Adafruit_NeoPixel.cpp.o C:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp\core.a -LC:\Users\Eric0321\AppData\Local\Temp\build8338823272601497292.tmp -lm
c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn85.o:(.init9+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in c:/users/Eric0321/desktop/flora-1.0.2/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25\libgcc.a(_exit.o)
core.a(main.cpp.o): In function `main':
C:\Users\Eric0321\Desktop\flora-1.0.2\hardware\arduino\cores\arduino/main.cpp:15: relocation truncated to fit: R_AVR_13_PCREL against undefined symbol `serialEventRun()'
- eric0321
- Posts: 18
- Joined: Sun Sep 08, 2013 10:17 pm
Re: Arduino IDE error for Gemma
Another development.
If I limit my switch statement to 4 cases, I'm using 0 - 3, it works. Compiles, uploads, and runs.
The size at his point is 4,244 bytes out of 5,310 available on the Gemma.
If I add one more case in the switch, any single one of them 4 - 8, it errors out. One of those case statements can't be using 1066 bytes.
If I compile the program with all 8 case statements inside the switch using the Arduino Uno it compiles at 5190 so space should not be the problem. I also tested it on the Flora, compiles, uploads, runs.
I have confirmed that any of the cases 4 - 8 by themselves will compile, upload, run on the gemma. So nothing is wrong with the code.
I'm stumped! I really don't want to limit it to only 4 animation modes.
Any suggestions?!!!
Thank you
If I limit my switch statement to 4 cases, I'm using 0 - 3, it works. Compiles, uploads, and runs.
The size at his point is 4,244 bytes out of 5,310 available on the Gemma.
If I add one more case in the switch, any single one of them 4 - 8, it errors out. One of those case statements can't be using 1066 bytes.
If I compile the program with all 8 case statements inside the switch using the Arduino Uno it compiles at 5190 so space should not be the problem. I also tested it on the Flora, compiles, uploads, runs.
I have confirmed that any of the cases 4 - 8 by themselves will compile, upload, run on the gemma. So nothing is wrong with the code.
I'm stumped! I really don't want to limit it to only 4 animation modes.
Any suggestions?!!!
Thank you
- AnneBarela
- Learn User Page
- Posts: 757
- Joined: Sat Mar 24, 2012 8:56 pm
Re: Arduino IDE error for Gemma
Yes your program is too big and those errors indicate an overflow. You should ensure you've replaced the LD.exe like it says in Introducing Trinket to get the max memory use.
- eric0321
- Posts: 18
- Joined: Sun Sep 08, 2013 10:17 pm
Re: Arduino IDE error for Gemma
That fixed it! Thank you! Thank you! Thank you!TheKitty wrote:Yes your program is too big and those errors indicate an overflow. You should ensure you've replaced the LD.exe like it says in Introducing Trinket to get the max memory use.
This was frustrating me to no end. I only read the Introduction to Gemma article and not the Trinket article. They should put a link to it considering that the Gemma uses he same guts; I didn't even consider looking at Trinket.
BTW the final size, after optimizing code and with all 9 cases in the switch, came to 4688 bytes.
Woo! Again thanks!
- AnneBarela
- Learn User Page
- Posts: 757
- Joined: Sat Mar 24, 2012 8:56 pm
Re: Arduino IDE error for Gemma
Glad it works. I've had programs go up to 5200+ without optimization. I try to keep them in the 4,000 range so additional things can be added. Glad you're up and going, enjoy.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Arduino IDE error for Gemma
I just looked through the Gemma tutorial, and you're right.. it doesn't mention updating the linker.
I think the information in the Trinket tutorial is a bit newer.. I know the bug was fixed by Tom Carpenter over at Github: https://github.com/TCWORLD/ATTinyCore/t ... 0for%20GCC , and that may not have filtered back to the Gemma Documentation To-Do List yet.
I've sent a note to the folks who take care of the Learning System. Assuming there are no other issues that need to be dealt with, we'll put that information where people specifically interested in the Gemma can find it.
I think the information in the Trinket tutorial is a bit newer.. I know the bug was fixed by Tom Carpenter over at Github: https://github.com/TCWORLD/ATTinyCore/t ... 0for%20GCC , and that may not have filtered back to the Gemma Documentation To-Do List yet.
I've sent a note to the folks who take care of the Learning System. Assuming there are no other issues that need to be dealt with, we'll put that information where people specifically interested in the Gemma can find it.
-
- Posts: 1
- Joined: Fri Oct 04, 2013 5:00 pm
Re: Arduino IDE error for Gemma
Hi, I recently got myself a Gemma and I was going through the basic tutorial about setting everything up. I tried the gemma blink tutorial and it seem to be working. However i get three errors.
The red LED is blinking as it should but with those three errors. Not sure what I'm doing wrong. I'm using a MAC and running OS X 10.9 with Arduino 1.0.5
Any help would be appreciated. Thanks.
Code: Select all
avrdude: error: usbtiny_receive: usb_control_msg(DeviceRequestTO): unknown error (expected 4, got -1)
avrdude: error: usbtiny_receive: usb_control_msg(DeviceRequestTO): unknown error (expected 4, got -1)
avrdude: error: usbtiny_receive: usb_control_msg(DeviceRequestTO): unknown error (expected 4, got -1)
Any help would be appreciated. Thanks.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Arduino IDE error for Gemma
We usually see that kind of problem from a device connected to a USB3.0 port. This thread has a typical discussion of the problem: http://www.adafruit.com/forums/viewtopi ... 20&t=30755
We don't know the exact source of the problem yet.. it has something to do with USB3.0 ports, and is known to happen on multiple platforms, but doesn't happen on every machine of the same kind. If you have an external USB2.0 hub, try putting that between the Mac and the Gemma. Also try as many cables as you can, possibly with a reboot between tries.
Another mystery is that the problem seems to go away if you poke at it hard enough.
We don't know the exact source of the problem yet.. it has something to do with USB3.0 ports, and is known to happen on multiple platforms, but doesn't happen on every machine of the same kind. If you have an external USB2.0 hub, try putting that between the Mac and the Gemma. Also try as many cables as you can, possibly with a reboot between tries.
Another mystery is that the problem seems to go away if you poke at it hard enough.
Please be positive and constructive with your questions and comments.