Skip to content

Commit

Permalink
Add WIFISUPPORT defines for documentation purposes
Browse files Browse the repository at this point in the history
WIFISUPPORT does not need to be enabled (read: shouldn't be enabled). Simply enable an available SERIAL_PORT*, set it to 4, and connect an ESP-01/ESP-01S flashed with luc-github's ESP3D firmware for basic WiFi functionality.
  • Loading branch information
thisiskeithb committed Apr 5, 2024
1 parent 629149a commit 7302ee2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Marlin/src/pins/stm32h7/pins_BTT_SKR_SE_BX_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,25 @@
#define SD_MISO_PIN PC11
#define SD_MOSI_PIN PC12
#define SD_DETECT_PIN PI3

#if ENABLED(WIFISUPPORT)
//
// WIFI
//

/**
* -----
* (ESP-RX4) PA1 | 1 8 | GND
* (ESP-EN) -- | 2 7 | -- (ESP-IO2)
* (ESP-RST) -- | 3 6 | -- (ESP-IO0)
* 3.3V | 4 5 | PA0 (ESP-TX4)
* -----
* WIFI-ESP01
*/
#define ESP_WIFI_MODULE_COM 4 // Must also set either SERIAL_PORT / SERIAL_PORT_2 / SERIAL_PORT_3 to this
#define ESP_WIFI_MODULE_BAUDRATE BAUDRATE // Must use same BAUDRATE as SERIAL_PORT / SERIAL_PORT_2 / SERIAL_PORT_3
#define ESP_WIFI_MODULE_RESET_PIN -1
#define ESP_WIFI_MODULE_ENABLE_PIN -1
#define ESP_WIFI_MODULE_GPIO0_PIN -1
#define ESP_WIFI_MODULE_GPIO2_PIN -1
#endif

0 comments on commit 7302ee2

Please sign in to comment.