[Question] Do i need to do anything other than enabling?
ahakkoca07 opened this issue · 7 comments
ahakkoca07 commented
What is your question ?
Do i need to do anything other than enabling ESP3DLib in Configuration_adv.h?
The relevant code in Configuration_adv.h:
/**
* Native ESP32 board with WiFi or add-on ESP32 WiFi-101 module
*/
//#define WIFISUPPORT // Marlin embedded WiFi management. Not needed for simple WiFi serial port.
#define ESP3D_WIFISUPPORT // ESP3D Library WiFi management (https://github.com/luc-github/ESP3DLib)
/**
* Extras for an ESP32-based motherboard with WIFISUPPORT
* These options don't apply to add-on WiFi modules based on ESP32 WiFi101.
*/
#if ANY(WIFISUPPORT, ESP3D_WIFISUPPORT)
#define WEBSUPPORT // Start a webserver (which may include auto-discovery) using SPIFFS
#define OTASUPPORT // Support over-the-air firmware updates
#define WIFI_CUSTOM_COMMAND // Accept feature config commands (e.g., WiFi ESP3D) from the host
Do i still have to enable SERIAL_PORT_2 like seen here , if yes, do i have to connect anything to the said pins?
github-actions commented
Thank your for submiting, please be sure you followed template or your issue may be dismissed.
luc-github commented
please read Documenation according your version
ahakkoca07 commented
luc-github commented
I will fix that tonight - thank you for pointing this out
ahakkoca07 commented
No problem!
Can i just define 2 unused pins of the esp32 as SERIAL_PORT_2 ?
luc-github commented
where do you see you need to define pins for SERIAL_PORT_2 ?
ahakkoca07 commented
Oh sorry, my bad. I thought we were defining the pins here, but it wasn't the case, thank you.
Configuration.h
Select an ESP32 based board.
Uncomment the second serial port to allow esp3d to get all printer feedback
/**
* Select a secondary serial port on the board to use for communication with the host.
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
*/
#define SERIAL_PORT_2 -1