happyinmotion
Well-known member
Hi there,
I'm trying to use a I2C FRAM with a Teensy 3.1. The FRAM is the Adafruit one, as is the library and MB85RC256V example code.
This all compiles fine in the Arduino 1.0.5 IDE if the board is set to Teensy 3.0, 2.0, Arduino Due, Nano, or Uno. However, if I set the board to Teensy 3.1 (which is what I'm wanting to use), then it spits the dummy and I get a whole bunch of undefined references from the Adafruit_FRAM_I2C code to functions in the Wire library, starting with:
So it looks to me like the Adafruit_FRAM_I2C library isn't picking up on the definitions in the Wire library, but only when compiling for Teensy 3.1.
Anyone else come across this? And what to do about it?
I'm trying to use a I2C FRAM with a Teensy 3.1. The FRAM is the Adafruit one, as is the library and MB85RC256V example code.
This all compiles fine in the Arduino 1.0.5 IDE if the board is set to Teensy 3.0, 2.0, Arduino Due, Nano, or Uno. However, if I set the board to Teensy 3.1 (which is what I'm wanting to use), then it spits the dummy and I get a whole bunch of undefined references from the Adafruit_FRAM_I2C code to functions in the Wire library, starting with:
Code:
Adafruit_FRAM_I2C\Adafruit_FRAM_I2C.cpp.o: In function 'Adafruit_FRAM_I2C::write8(unsigned short, unsigned char)':
C:\....\Adafruit_FRAM_I2C.cpp.o:90: undefined reference to 'TwoWire::beginTransmission(unsigned char)'
etc...
So it looks to me like the Adafruit_FRAM_I2C library isn't picking up on the definitions in the Wire library, but only when compiling for Teensy 3.1.
Anyone else come across this? And what to do about it?