Welcome! Log In Create A New Profile

Advanced

Errors compiling Repetier firmware for Teensylu

Posted by Ottavio.B 
Errors compiling Repetier firmware for Teensylu
July 31, 2015 02:24PM
Hi!

I bought a µDelta 3d printer from Emotion-tech ( http://www.reprap-france.com/produit/1234568322-imprimante-3d-micro-delta-revision-1-1 ) a few months ago which came with a teensylu motherboard.
I'd like to update the firmware on the board, so I downloaded the sources files from the Github of the printer : https://github.com/eMotion-Tech/uDelta/tree/master/Software/Preconfigured_firmwares
When I try to compile it with the arduino IDE, i get many errors...

In file included from /HAL.h:77,
from /Repetier.h:264,
from Commands.cpp:22:
fastio.h:3733: error: #error pins for this chip not defined in arduino.h! If you write an appropriate pin definition and have this firmware work on your chip, please submit a pull request
In file included from /Repetier.h:264,
from Commands.cpp:22:
/HAL.h: In static member function 'static void HAL::spiBegin()':
HAL.h:555: error: 'DIO23_DDR' was not declared in this scope
HAL.h:555: error: 'DIO23_PIN' was not declared in this scope
HAL.h:556: error: 'DIO22_DDR' was not declared in this scope
HAL.h:556: error: 'DIO22_PIN' was not declared in this scope
HAL.h:557: error: 'DIO21_DDR' was not declared in this scope
HAL.h:557: error: 'DIO21_PIN' was not declared in this scope
HAL.h:559: error: 'DIO38_DDR' was not declared in this scope
HAL.h:559: error: 'DIO38_PIN' was not declared in this scope
/HAL.h: In static member function 'static void HAL::spiInit(uint8_t)':
HAL.h:572: error: 'DIOSS_DDR' was not declared in this scope
HAL.h:572: error: 'DIOSS_PIN' was not declared in this scope
HAL.h:573: error: 'DIOSS_WPORT' was not declared in this scope
HAL.h:573: error: 'DIOSS_PIN' was not declared in this scope
HAL.h:573: error: 'DIOSS_WPORT' was not declared in this scope
HAL.h:573: error: 'DIOSS_PIN' was not declared in this scope
HAL.h:574: error: 'DIOSCK_DDR' was not declared in this scope
HAL.h:574: error: 'DIOSCK_PIN' was not declared in this scope
HAL.h:575: error: 'DIO22_DDR' was not declared in this scope
HAL.h:575: error: 'DIO22_PIN' was not declared in this scope
HAL.h:576: error: 'DIO23_DDR' was not declared in this scope
HAL.h:576: error: 'DIO23_PIN' was not declared in this scope
In file included from /Repetier.h:356,
from Commands.cpp:22:
/Extruder.h: In static member function 'static void Extruder::step()':
Extruder.h:107: error: 'DIO34_WPORT' was not declared in this scope
Extruder.h:107: error: 'DIO34_PIN' was not declared in this scope
Extruder.h:107: error: 'DIO34_WPORT' was not declared in this scope
Extruder.h:107: error: 'DIO34_PIN' was not declared in this scope
/Extruder.h: In static member function 'static void Extruder::unstep()':
Extruder.h:156: error: 'DIO34_WPORT' was not declared in this scope
Extruder.h:156: error: 'DIO34_PIN' was not declared in this scope
Extruder.h:156: error: 'DIO34_WPORT' was not declared in this scope
Extruder.h:156: error: 'DIO34_PIN' was not declared in this scope
/Extruder.h: In static member function 'static void Extruder::setDirection(uint8_t)':
Extruder.h:203: error: 'DIO35_WPORT' was not declared in this scope
Extruder.h:203: error: 'DIO35_PIN' was not declared in this scope
Extruder.h:203: error: 'DIO35_WPORT' was not declared in this scope
Extruder.h:203: error: 'DIO35_PIN' was not declared in this scope
Extruder.h:205: error: 'DIO35_WPORT' was not declared in this scope
Extruder.h:205: error: 'DIO35_PIN' was not declared in this scope
Extruder.h:205: error: 'DIO35_WPORT' was not declared in this scope
Extruder.h:205: error: 'DIO35_PIN' was not declared in this scope
/Extruder.h: In static member function 'static void Extruder::enable()':
Extruder.h:272: error: 'DIO13_WPORT' was not declared in this scope
Extruder.h:272: error: 'DIO13_PIN' was not declared in this scope
Extruder.h:272: error: 'DIO13_WPORT' was not declared in this scope
Extruder.h:272: error: 'DIO13_PIN' was not declared in this scope
In file included from /Repetier.h:385,
from Commands.cpp:22:
/Printer.h: In static member function 'static void Printer::disableXStepper()':
Printer.h:205: error: 'DIO19_WPORT' was not declared in this scope
Printer.h:205: error: 'DIO19_PIN' was not declared in this scope
Printer.h:205: error: 'DIO19_WPORT' was not declared in this scope
Printer.h:205: error: 'DIO19_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::disableYStepper()':
Printer.h:215: error: 'DIO18_WPORT' was not declared in this scope
Printer.h:215: error: 'DIO18_PIN' was not declared in this scope
Printer.h:215: error: 'DIO18_WPORT' was not declared in this scope
Printer.h:215: error: 'DIO18_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::disableZStepper()':
Printer.h:225: error: 'DIO17_WPORT' was not declared in this scope
Printer.h:225: error: 'DIO17_PIN' was not declared in this scope
Printer.h:225: error: 'DIO17_WPORT' was not declared in this scope
Printer.h:225: error: 'DIO17_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::enableXStepper()':
Printer.h:235: error: 'DIO19_WPORT' was not declared in this scope
Printer.h:235: error: 'DIO19_PIN' was not declared in this scope
Printer.h:235: error: 'DIO19_WPORT' was not declared in this scope
Printer.h:235: error: 'DIO19_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::enableYStepper()':
Printer.h:245: error: 'DIO18_WPORT' was not declared in this scope
Printer.h:245: error: 'DIO18_PIN' was not declared in this scope
Printer.h:245: error: 'DIO18_WPORT' was not declared in this scope
Printer.h:245: error: 'DIO18_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::enableZStepper()':
Printer.h:255: error: 'DIO17_WPORT' was not declared in this scope
Printer.h:255: error: 'DIO17_PIN' was not declared in this scope
Printer.h:255: error: 'DIO17_WPORT' was not declared in this scope
Printer.h:255: error: 'DIO17_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::setXDirection(bool)':
Printer.h:265: error: 'DIO29_WPORT' was not declared in this scope
Printer.h:265: error: 'DIO29_PIN' was not declared in this scope
Printer.h:265: error: 'DIO29_WPORT' was not declared in this scope
Printer.h:265: error: 'DIO29_PIN' was not declared in this scope
Printer.h:272: error: 'DIO29_WPORT' was not declared in this scope
Printer.h:272: error: 'DIO29_PIN' was not declared in this scope
Printer.h:272: error: 'DIO29_WPORT' was not declared in this scope
Printer.h:272: error: 'DIO29_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::setYDirection(bool)':
Printer.h:282: error: 'DIO31_WPORT' was not declared in this scope
Printer.h:282: error: 'DIO31_PIN' was not declared in this scope
Printer.h:282: error: 'DIO31_WPORT' was not declared in this scope
Printer.h:282: error: 'DIO31_PIN' was not declared in this scope
Printer.h:289: error: 'DIO31_WPORT' was not declared in this scope
Printer.h:289: error: 'DIO31_PIN' was not declared in this scope
Printer.h:289: error: 'DIO31_WPORT' was not declared in this scope
Printer.h:289: error: 'DIO31_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::setZDirection(bool)':
Printer.h:299: error: 'DIO33_WPORT' was not declared in this scope
Printer.h:299: error: 'DIO33_PIN' was not declared in this scope
Printer.h:299: error: 'DIO33_WPORT' was not declared in this scope
Printer.h:299: error: 'DIO33_PIN' was not declared in this scope
Printer.h:306: error: 'DIO33_WPORT' was not declared in this scope
Printer.h:306: error: 'DIO33_PIN' was not declared in this scope
Printer.h:306: error: 'DIO33_WPORT' was not declared in this scope
Printer.h:306: error: 'DIO33_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::getZDirection()':
Printer.h:314: error: 'DIO33_RPORT' was not declared in this scope
Printer.h:314: error: 'DIO33_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::getYDirection()':
Printer.h:318: error: 'DIO31_RPORT' was not declared in this scope
Printer.h:318: error: 'DIO31_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::getXDirection()':
Printer.h:322: error: 'DIO29_RPORT' was not declared in this scope
Printer.h:322: error: 'DIO29_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::isXMaxEndstopHit()':
Printer.h:422: error: 'DIO26_RPORT' was not declared in this scope
Printer.h:422: error: 'DIO26_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::isYMaxEndstopHit()':
Printer.h:430: error: 'DIO27_RPORT' was not declared in this scope
Printer.h:430: error: 'DIO27_PIN' was not declared in this scope
/Printer.h: In static member function 'static bool Printer::isZMaxEndstopHit()':
Printer.h:438: error: 'DIO36_RPORT' was not declared in this scope
Printer.h:438: error: 'DIO36_PIN' was not declared in this scope
/Printer.h: In static member function 'static void Printer::endXYZSteps()':
Printer.h:534: error: 'DIO28_WPORT' was not declared in this scope
Printer.h:534: error: 'DIO28_PIN' was not declared in this scope
Printer.h:534: error: 'DIO28_WPORT' was not declared in this scope
Printer.h:534: error: 'DIO28_PIN' was not declared in this scope
Printer.h:535: error: 'DIO30_WPORT' was not declared in this scope
Printer.h:535: error: 'DIO30_PIN' was not declared in this scope
Printer.h:535: error: 'DIO30_WPORT' was not declared in this scope
Printer.h:535: error: 'DIO30_PIN' was not declared in this scope
Printer.h:536: error: 'DIO32_WPORT' was not declared in this scope
Printer.h:536: error: 'DIO32_PIN' was not declared in this scope
Printer.h:536: error: 'DIO32_WPORT' was not declared in this scope
Printer.h:536: error: 'DIO32_PIN' was not declared in this scope
In file included from /Repetier.h:386,
from Commands.cpp:22:
/motion.h: In member function 'void PrintLine::startXStep()':
motion.h:501: error: 'DIO28_WPORT' was not declared in this scope
motion.h:501: error: 'DIO28_PIN' was not declared in this scope
motion.h:501: error: 'DIO28_WPORT' was not declared in this scope
motion.h:501: error: 'DIO28_PIN' was not declared in this scope
/motion.h: In member function 'void PrintLine::startYStep()':
motion.h:541: error: 'DIO30_WPORT' was not declared in this scope
motion.h:541: error: 'DIO30_PIN' was not declared in this scope
motion.h:541: error: 'DIO30_WPORT' was not declared in this scope
motion.h:541: error: 'DIO30_PIN' was not declared in this scope
/motion.h: In member function 'void PrintLine::startZStep()':
motion.h:577: error: 'DIO32_WPORT' was not declared in this scope
motion.h:577: error: 'DIO32_PIN' was not declared in this scope
motion.h:577: error: 'DIO32_WPORT' was not declared in this scope
motion.h:577: error: 'DIO32_PIN' was not declared in this scope


A solution to solve this issue? winking smiley
Re: Errors compiling Repetier firmware for Teensylu
August 01, 2015 11:48AM
Hello
you can find the software delta on the site of emotiontech the Download section. do not use the Arduino IDE a special IDE is used
Sorry, only registered users may post in this forum.

Click here to login