Welcome! Log In Create A New Profile

Advanced

X_SERIAL_(RX|TX)_PIN information not recognized - compiler error

Posted by kulfuerst 
X_SERIAL_(RX|TX)_PIN information not recognized - compiler error
August 13, 2019 01:53PM
Hello everybody,

I am trying to run my TMC2208s on my Anycubic i3 Mega in UART mode. All necessary hardware changes have been made and now I am running into an issue when I am trying to compile marlin.
Although I have correctly defined all pins in pins_TRIGORILLA_14.h (e.g. "#define X_SERIAL_TX_PIN 11") I get the error message that the pins have not been defined. The error message reads:


In file included from c:\users\andr~1\appdata\local\temp\arduino_build_355909\sketch\src\inc\marlinconfig.h:41:0,

from sketch\src\HAL\HAL_AVR\HAL.cpp:29:

c:\users\andr~1\appdata\local\temp\arduino_build_355909\sketch\src\inc\SanityCheck.h:1822:4: error: #error "TMC2208 on X requires X_HARDWARE_SERIAL or X_SERIAL_(RX|TX)_PIN."

#error "TMC2208 on X requires X_HARDWARE_SERIAL or X_SERIAL_(RX|TX)_PIN."

Have I missed a place where I still need to add some information or have I added it incorrectly? I'd be very happy for every bit of help I can get here.

Thank you all very much!
Re: X_SERIAL_(RX|TX)_PIN information not recognized - compiler error
August 14, 2019 09:28AM
Issue SOLVED

Marlin does not allow for only TX to be assigned. Assigning empty and unused pins to RX fixed the compiler error.
Sorry, only registered users may post in this forum.

Click here to login