Compiling Teensy3 core in eclipse

Status
Not open for further replies.

Muesli_Reep

New member
I'm having some trouble setting up eclipse to program my Teensy 3.

I followed the instructions I found here: Click
But I run into errors.

In HardwareSerial.h I get:
Code:
The type 'HardwareSerial' must implement the inherited pure virtual method 'Print::write'
I solved this by changing line 22 in Print.h to:
Code:
virtual size_t write(uint8_t); // = 0;

removing the “=0″ from the function. Source: Click

But then I get another error in HardwareSerial.h:
Code:
Symbol 'F_BUS' could not be resolved
I'm guessing this has to do with the pre-processor symbols? Should this be 115200?
Also if I change F_CPU from 48000000 to 96000000 do I change the CPU speed to 96MHz?

I'm using Eclipse Juno with win7

Help would be much appreciated! :D
 
I have very limited knowledge of the details, but from another thread where we talked about F_BUS, it was mentioned that F_BUS changes when the CPU speed changes.

I believe they are as such:
F_BUS/F_CPU
48MHz/96MHz
48MHz/48MHz
24MHz/24Mhz

Hopefully someone else can chime in that is more knowledgeable.
 
Status
Not open for further replies.
Back
Top