Welcome! Log In Create A New Profile

Advanced

SERIAL_PORT_2, how can I use it in Marlin2

Posted by Romulus76 
SERIAL_PORT_2, how can I use it in Marlin2
October 15, 2018 11:56AM
Hi guys,

I've the Arduino2 with RuRamps 1.3 shield, and I'd like to use the Serial2 port connected to my ESP8266 with ESP3d-WebUI webserver.

That's what I want:
- Serial 0 : Programming port / USB
- Serial 2 : ESP8266 ESP3D / WiFi

But if I enable the option on the Marlin Configurator (and I select "2") when I compile the firmware give me back this error:

SanityCheck.h:369:4: error: #error "SERIAL_PORT_2 is not supported for your MOTHERBOARD. Disable it to continue."

Any ideas?

Edited 1 time(s). Last edit at 10/15/2018 11:57AM by Romulus76.
Re: SERIAL_PORT_2, how can I use it in Marlin2
October 21, 2018 03:47PM
Serial ports are implemented on the HAL level, for Marlin 2.0.

So if your particular MCU type has not yet has methods for dealing with Serial_2 options implemented, then there are no (current) straight forward option of how to get Serial_2 options to work for your MCU.

You might however be lucky to find someone who has done an eksperimental implementation, or a search on github/marlin about serial_2 might give you some clues of how to do your own eksperimental implementation.
Sorry, only registered users may post in this forum.

Click here to login