Pages: [1]   Go Down
Author Topic: attiny85 serial communication  (Read 204 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 34
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi all

I get some error messages while trying to use serial port library on attiny85, the problem seems to be the symbol "[" and "]", can anyone help? thanks a lot.


/Applications/Arduino.app/Contents/Resources/Java/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 /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25/libgcc.a(_exit.o)
shiftOut.cpp.o: In function `explodeString(String)':
/Applications/shiftOut.ino:150: relocation truncated to fit: R_AVR_13_PCREL against symbol `__mulhi3' defined in .text.libgcc section in /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25/libgcc.a(_mulhi3.o)
core.a(realloc.c.o): In function `realloc':
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/avr-libc/realloc.c:146: relocation truncated to fit: R_AVR_13_PCREL against symbol `memcpy' defined in .text section in /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/libc.a(memcpy.o)

Luke

* shiftOut.ino (4.53 KB - downloaded 2 times.)
« Last Edit: July 20, 2014, 02:23:52 am by dontmarryme » Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12855
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


https://code.google.com/p/arduino-tiny/issues/detail?id=58
https://code.google.com/p/arduino-tiny/issues/detail?id=61
https://www.google.com/search?q=R_AVR_13_PCREL+attiny85+site%3Aforum.arduino.cc
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 34
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Coding Badly

Thank you for your quick reply, I have this issue before and l fixed it by swap the "ld" file in arduino app content, but not this time, perhaps it's the matter of the Crosspack version? should I try the latest version this time? confused.... btw yes, I am on Mac, thank you so much.

Luke
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 206
Posts: 12855
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi @dontmarryme,

should I try the latest version this time? confused.... btw yes, I am on Mac

I have no idea.  I have had almost no experience with Mac computers.
Logged

Pages: [1]   Go Up
Jump to: