Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Teensy: Wire and i2c_t3 conflict (Read 5101 times)
Geezer
Junior Member
**
Offline


Posts: 13
Joined: Oct 14th, 2015
Teensy: Wire and i2c_t3 conflict
Jan 8th, 2016 at 11:12pm
Print Post  
I'm pulling my hair out trying to migrate a project from an Uno to a Teensy 3.2.  I've stripped the project down to nothing but the ino file and no calls to anything serial-related, but I still get the following error:

Wire.cpp.o:In function `i2c0_isr
Wire.cpp:multiple definition of `i2c0_isr
i2c_t3.cpp.o:D:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\i2c_t3\i2c_t3.cpp:1232: first defined here

I don't remember the option settings to get a verbose build, but I'm pretty sure I've just missed something.  Help is requested and appreciated.  A ZIP of the full project directory is attached.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy: Wire and i2c_t3 conflict
Reply #1 - Jan 9th, 2016 at 6:18pm
Print Post  
Does it work if you try to compile using the arduino ide?
  
Back to top
IP Logged
 
Geezer
Junior Member
**
Offline


Posts: 13
Joined: Oct 14th, 2015
Re: Teensy: Wire and i2c_t3 conflict
Reply #2 - Jan 10th, 2016 at 1:38am
Print Post  
No, the sketch doesn't run in the straight Arduino IDE (1.6.5), either.  So it's not the Visual Micro add-on.  It's got to be something I'm getting cross-threaded with the i2c_t3 substitute for Wire.  My reason for posting here, instead of the Teensy forum, was to seek advice on clearing out the hidden leftovers VS creates, which ran me in circles last time.  I've deleted all VS files I can find, but I remember there was another file last time I had to delete.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint