Je rencontre un problème de compilation du firmware hephestos avec le nivellement automatique du plateau.
J'ai des erreurs et je ne parviens pas à trouver de solution (ou je ne fais pas les bonnes recherches...)
Voici le résultat de compilation :
Code : Tout sélectionner
CXX bin/Marlin.elf
bin/Marlin_main.o: In function `engage_z_probe()':
Marlin_main.cpp:(.text._ZL14engage_z_probev+0x22): undefined reference to `Servo::write(int)'
bin/Marlin_main.o: In function `retract_z_probe()':
Marlin_main.cpp:(.text._ZL15retract_z_probev+0x22): undefined reference to `Servo::write(int)'
bin/Marlin_main.o: In function `servo_init()':
Marlin_main.cpp:(.text._Z10servo_initv+0x14): undefined reference to `Servo::attach(int)'
Marlin_main.cpp:(.text._Z10servo_initv+0x48): undefined reference to `Servo::write(int)'
bin/Marlin_main.o: In function `homeaxis(int)':
Marlin_main.cpp:(.text._Z8homeaxisi+0xcc): undefined reference to `Servo::write(int)'
Marlin_main.cpp:(.text._Z8homeaxisi+0x3f2): undefined reference to `Servo::write(int)'
bin/Marlin_main.o: In function `process_commands()':
Marlin_main.cpp:(.text._Z16process_commandsv+0x2750): undefined reference to `Servo::write(int)'
Marlin_main.cpp:(.text._Z16process_commandsv+0x2848): undefined reference to `Servo::read()'
bin/Marlin_main.o: In function `_GLOBAL__sub_I_card':
Marlin_main.cpp:(.text._GLOBAL__sub_I_card+0x2e): undefined reference to `Servo::Servo()'
collect2: error: ld returned 1 exit status
Makefile:377: recipe for target 'bin/Marlin.elf' failed
make: *** [bin/Marlin.elf] Error 1
Code : Tout sélectionner
#define ENABLE_AUTO_BED_LEVELING
#define NUM_SERVOS 1
#define SERVO_ENDSTOPS {-1, -1, 0}
#define SERVO_ENDSTOP_ANGLES {0,0, 0,0, 70,0}
J'utilise le firmare 2.2.0 (https://github.com/bq/Marlin/releases), et le sdk arduino 1.6.7
Tout compile bien tant que je n'active pas le support du servo, j'ai fouillé dans les différents fichier mais je ne trouve pas d'où vient le problème...
Y a t il quelqu'un pour m'aider ?