Welcome! Log In Create A New Profile

Advanced

Erreurs de compilation firmware Repetier sur Teensylu

Posted by Ottavio.B 
Erreurs de compilation firmware Repetier sur Teensylu
July 31, 2015 02:10PM
Bonsoir!

Je possède une µDelta de chez Emotion-tech et j'ai effectué seulement une modification de mesure dans mon firmware ( Repetier ) à partir des fichiers fournis par Emotion-Tech sur leur Github : https://github.com/eMotion-Tech
La carte mère de l'imprimante est une Teensylu.

Le firmware téléchargé est donc sensé être compilable en lançant le fichier Repetier.ino avec l'IDE arduino ( j'utilise le 1.0.6 avec toutes les librairies et les drivers requis pour la carte ).
Mais quand j'essaie de le compiler, j'obtiens une immense liste d'erreurs, et comme je ne m'y connais pas vraiment en programmation dans ces langages-là, je ne comprends vraiment pas pourquoi je ne peux pas compiler mon firmware.

Voici les erreurs que j'obtiens :

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


Si quelqu'un a déjà eu un problème similaire ou s'y connait plus que moi ( ce qui n'est pas bien difficile ), un peu d'aide ne serait pas de refus! winking smiley

Merci d'avance!
Sorry, only registered users may post in this forum.

Click here to login