hi, i'm trying to communicate with an sdcard shield, so i've tryed sd.h library and sdfat library. with sd.h  i've hardware serial error in arduino, I think sd library conflicts with some arduimu serial library:

core.a(HardwareSerial.cpp.o): In function `__vector_18':
C:\Users\peppe\Desktop\arduino-1.0.1\hardware\arduino\cores\arduino/HardwareSerial.cpp:100: multiple definition of `__vector_18'
Arduimu.cpp.o:C:\Users\SE034~1.PEE\AppData\Local\Temp\build6982646806442976007.tmp/Arduimu.cpp:121: first defined here
core.a(HardwareSerial.cpp.o): In function `serialEvent()':
C:\Users\peppe\Desktop\arduino-1.0.1\hardware\arduino\cores\arduino/HardwareSerial.cpp:97: multiple definition of `Serial'
Arduimu.cpp.o:(.bss.Serial+0x0): first defined here
c:/users/peppe/desktop/arduino-1.0.1/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/bin/ld.exe: Warning: size of symbol `Serial' changed from 29 in Arduimu.cpp.o to 31 in core.a(HardwareSerial.cpp.o)
core.a(HardwareSerial.cpp.o): In function `__vector_19':
C:\Users\S.peppe\Desktop\arduino-1.0.1\hardware\arduino\cores\arduino/HardwareSerial.cpp:192: multiple definition of `__vector_19'
Arduimu.cpp.o:C:\Users\SE034~1.PEE\AppData\Local\Temp\build6982646806442976007.tmp/Arduimu.cpp:121: first defined here

with sdfat library i've no compiling errors, but i can't connect to the sd, i've specified the right cs pin and i think it's still a library conflict problem with arduimu libraries(fastserial i think)
 
i use arduimu 1.9.8 on 1.0.1 ide
 
thanks all

Views: 350

Reply to This

Replies to This Discussion

if anyone has the same problem.,...solved with arduino 1.0.5 rc2 and sdfat library changing the code SD_SPI_CONFIGURATION 0 in sdfatconfig.h

Reply to Discussion

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service