Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Do i need to do anything other than enabling? #80

Closed
ahakkoca07 opened this issue Nov 4, 2024 · 7 comments
Closed

[Question] Do i need to do anything other than enabling? #80

ahakkoca07 opened this issue Nov 4, 2024 · 7 comments
Labels
question Further information is requested

Comments

@ahakkoca07
Copy link

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?

@ahakkoca07 ahakkoca07 added the question Further information is requested label Nov 4, 2024
Copy link

github-actions bot commented Nov 4, 2024

Thank your for submiting, please be sure you followed template or your issue may be dismissed.

@luc-github
Copy link
Owner

please read Documenation according your version

https://esp3d.io/ESP3DLib/

@ahakkoca07
Copy link
Author

Thank you!
Also; for your information, some links in Documentation is broken, like the 3.0 Tested boards:

Tested boards
The list is here for 1.0, and here for 3.0

Please refer to Marlin documentation for more information on specific configurations for each boards.

@luc-github
Copy link
Owner

I will fix that tonight - thank you for pointing this out

@ahakkoca07
Copy link
Author

No problem!
Can i just define 2 unused pins of the esp32 as SERIAL_PORT_2 ?

@luc-github
Copy link
Owner

where do you see you need to define pins for SERIAL_PORT_2 ?

@ahakkoca07
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants