View Single Post
Old 05-13-2014, 07:38 PM   #356 (permalink)
josemapiro
EcoModding Apprentice
 
Join Date: Dec 2012
Location: Portugal
Posts: 197
Thanks: 93
Thanked 70 Times in 64 Posts
I've been checking the error only happens if disabled (# define ArduinoMega2560 true) with (# define useChryslerMAPCorrection true) active, if you enable (# define ArduinoMega2560 true) already fails to make the mistake.

has error
//#Define true useChryslerMAPCorrection
#Define true useChryslerMAPCorrection

no error
//#Define true useChryslerMAPCorrection
//#Define true useChryslerMAPCorrection

no error
#Define true useChryslerMAPCorrection
#Define true useChryslerMAPCorrection

the error is:c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr6/crtm2560.o: In function `__vector_default':
(.vectors+0x4): relocation truncated to fit: R_AVR_13_PCREL against symbol `__vector_1' defined in .text.__vector_1 section in sketch_may13a.cpp.o

Thank you
José Rodrigues
  Reply With Quote
The Following 2 Users Say Thank You to josemapiro For This Useful Post:
stewie (05-13-2014), t vago (05-13-2014)