R_AVR_13_PCREL error when programming ATtiny84

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
rptort
 
Posts: 4
Joined: Mon Jul 30, 2012 10:06 pm

R_AVR_13_PCREL error when programming ATtiny84

Post by rptort »

I get the following error when trying to program an ATtiny84 and the code gets above about 4k:

Code: Select all

relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in
Based on what I've looked up, it seems like a common occurrence. I've found solutions for PC's, but I'm a mac user so they don't apply. Any ideas on how to fix this?

Any help is appreciated! Thanks!

mtbf0
 
Posts: 1645
Joined: Sat Nov 10, 2007 12:59 am

Re: R_AVR_13_PCREL error when programming ATtiny84

Post by mtbf0 »

the little bit of reading i've just done suggests a problem in your Makefile. perhaps you could share that with us.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”