Problems compiling when using Servo.h, Teensy 3.0/beta7 Mac

diametric

New member
I'm using the Arduino 1.0.2 Beta 7 Teensy build on my Mac, 10.6.8, and was attempting to use a servo in one of my sketches. It was unable to compile due to various references to registers it claims are undefined. So just to make sure it wasn't my code, I made a new sketch that does nothing but include Servo.h, and get the same errors.

Here's a screenshot of my Arduino with the settings displayed (to verify I have the right IDE/board settings):

5hpLs.jpg

I've searched around for a while but can't seem to find anyone else with this issue. I also tried beta6 as well to no avail.
 
Now I'm getting this error on compile.

Code:
pins_teensy.c.o: In function `pdb_isr':
/Applications/Development/Teensy Arduino.app/Contents/Resources/Java/hardware/teensy/cores/teensy3/pins_teensy.c:242: multiple definition of `pdb_isr'
Servo/Servo.cpp.o:/Applications/Development/Teensy Arduino.app/Contents/Resources/Java/libraries/Servo/Servo.cpp:463: first defined here
collect2: ld returned 1 exit status
 
Opps. Yeah, I deleted that from pins_teensy.c (in the version that will soon become "beta8"). If you edit that file and just delete the entire pdb_isr() function, does it then work?
 
Back
Top