Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

#define X_DRIVER_TYPE TMC26X in configuration.h führt zu Linker Fehler

geschrieben von pws 
pws
#define X_DRIVER_TYPE TMC26X in configuration.h führt zu Linker Fehler
17. February 2022 10:09
With this parameter (#define X_DRIVER_TYPE TMC26X) in configuration.h i get a linker error. The same setup with #define X_DRIVER_TYPE TMC26X_STANDALONE works fine. The TMC26XStepper-master.zip library is installed.
I am using windows 10, platformio and VSC with Arduino Atmega2560. Arduino IDE 1.8.19 is installed.
Stepper driver: TMC262C

Marlin Version 2.0.9.3 wird nicht gebaut und der Terminal Ausgabe sieht wie folg aus:

C:\Users\Phillip\AppData\Local\Temp\ccIJx3mc.ltrans0.ltrans.o: In function `TMC26XStepper::setEnabled(bool)':
sad smiley.text+0xe0a): undefined reference to `stepperX'
sad smiley.text+0xe0c): undefined reference to `stepperX'
C:\Users\Phillip\AppData\Local\Temp\ccIJx3mc.ltrans0.ltrans.o: In function `Stepper::disable_axis(AxisEnum)':
sad smiley.text+0xe1c): undefined reference to `stepperY'
sad smiley.text+0xe1e): undefined reference to `stepperY'
sad smiley.text+0xe26): undefined reference to `stepperZ'
sad smiley.text+0xe28): undefined reference to `stepperZ'
sad smiley.text+0xe44): undefined reference to `stepperY'
sad smiley.text+0xe46): undefined reference to `stepperY'
sad smiley.text+0xe4c): undefined reference to `stepperX'
sad smiley.text+0xe4e): undefined reference to `stepperX'
sad smiley.text+0xe54): undefined reference to `stepperZ'
sad smiley.text+0xe56): undefined reference to `stepperZ'
C:\Users\Phillip\AppData\Local\Temp\ccIJx3mc.ltrans0.ltrans.o: In function `Planner::refresh_positioning()':
sad smiley.text+0x328a): undefined reference to `tmc26x_init_to_defaults()'
C:\Users\Phillip\AppData\Local\Temp\ccIJx3mc.ltrans0.ltrans.o: In function `main':
sad smiley.text.startup+0x42c): undefined reference to `stepperX'
sad smiley.text.startup+0x42e): undefined reference to `stepperX'
sad smiley.text.startup+0x436): undefined reference to `stepperY'
sad smiley.text.startup+0x438): undefined reference to `stepperY'
sad smiley.text.startup+0x440): undefined reference to `stepperZ'
sad smiley.text.startup+0x442): undefined reference to `stepperZ'
sad smiley.text.startup+0x452): undefined reference to `stepperX'
sad smiley.text.startup+0x454): undefined reference to `stepperX'
sad smiley.text.startup+0x46a): undefined reference to `stepperY'
sad smiley.text.startup+0x46c): undefined reference to `stepperY'
sad smiley.text.startup+0x482): undefined reference to `stepperZ'
sad smiley.text.startup+0x484): undefined reference to `stepperZ'
collect2.exe: error: ld returned 1 exit status
*** [.pio\build\mega2560\firmware.elf] Error 1
=========================================================== [FAILED] Took 44.22 seconds ===========================================================

Environment Status Duration
------------- -------- ------------
mega2560 FAILED 00:00:44.225
pws
Re: #define X_DRIVER_TYPE TMC26X in configuration.h führt zu Linker Fehler
18. February 2022 04:40
In Bugfix-2.0.x gefixt
Re: #define X_DRIVER_TYPE TMC26X in configuration.h führt zu Linker Fehler
18. February 2022 17:19
This was found and fixed 22 hours ago
See
[github.com]
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen