nikkiv
Member
Hi,
I am trying to get an open source 3D printer software called Marlin compiled using Arduino 1.0.5 IDE for Teensy 3.1. Here is the link to the software: https://github.com/ErikZalm/Marlin
I downloaded the Teensyduino add-on for the Arduino IDE and I am running on Windows.
The Arduino Sketch was intended for Ardunio Mega 2560 and it compiles fine. When I tried to compile it for Teensy 3.1, I got the following error:


So, I tried to add pin definitions for Teensy 3.1 to the best of my abilities...
I modified fastio.h by adding pin assignments for Teensy 3.1 (I refferred to the pin assignments for Teeny++ 2.0 which were already defined in fastio.h):

I noticed that in Configuration.h, there are a list of Motherboards you can choose from and Teensy 3.1 is missing:
So, again using Teensy++ 2.0 as a reference, I tried adding a new "MOTHERBOARD" defintion for Teensy 3.1 in pins.h.
When I try to compile with these changes, I am still getting the same error:

I am wondering if there is something I missed. Thanks for your help!
Here's a link to my blog: https://community.freescale.com/gro...-based-3d-printer-engine-based-on-rampsmarlin
==========================================================
Update:
I compiled Paul's modified code for the Teensy 3.1 and hooked up a stepper motor to the RAMPS board:

Sincerely,
Nikki
I am trying to get an open source 3D printer software called Marlin compiled using Arduino 1.0.5 IDE for Teensy 3.1. Here is the link to the software: https://github.com/ErikZalm/Marlin
I downloaded the Teensyduino add-on for the Arduino IDE and I am running on Windows.
The Arduino Sketch was intended for Ardunio Mega 2560 and it compiles fine. When I tried to compile it for Teensy 3.1, I got the following error:


So, I tried to add pin definitions for Teensy 3.1 to the best of my abilities...
I modified fastio.h by adding pin assignments for Teensy 3.1 (I refferred to the pin assignments for Teeny++ 2.0 which were already defined in fastio.h):

I noticed that in Configuration.h, there are a list of Motherboards you can choose from and Teensy 3.1 is missing:

So, again using Teensy++ 2.0 as a reference, I tried adding a new "MOTHERBOARD" defintion for Teensy 3.1 in pins.h.
When I try to compile with these changes, I am still getting the same error:

I am wondering if there is something I missed. Thanks for your help!
Here's a link to my blog: https://community.freescale.com/gro...-based-3d-printer-engine-based-on-rampsmarlin
==========================================================
Update:
I compiled Paul's modified code for the Teensy 3.1 and hooked up a stepper motor to the RAMPS board:

Sincerely,
Nikki
Attachments
Last edited: