37 lines
1.3 KiB
C
37 lines
1.3 KiB
C
/****************************************************************************************************************************
|
|
multiFileProject.h
|
|
For Ethernet shields using ESP32_W5500 (ESP32 + W5500)
|
|
|
|
WebServer_ESP32_W5500 is a library for the ESP32 with Ethernet W5500 to run WebServer
|
|
|
|
Based on and modified from ESP32-IDF https://github.com/espressif/esp-idf
|
|
Built by Khoi Hoang https://github.com/khoih-prog/WebServer_ESP32_W5500
|
|
Licensed under GPLv3 license
|
|
*****************************************************************************************************************************/
|
|
|
|
// To demo how to include files in multi-file Projects
|
|
|
|
#pragma once
|
|
|
|
#define _ETHERNET_WEBSERVER_LOGLEVEL_ 1
|
|
|
|
//////////////////////////////////////////////////////////
|
|
|
|
// Optional values to override default settings
|
|
// Don't change unless you know what you're doing
|
|
//#define ETH_SPI_HOST SPI3_HOST
|
|
//#define SPI_CLOCK_MHZ 25
|
|
|
|
// Must connect INT to GPIOxx or not working
|
|
//#define INT_GPIO 4
|
|
|
|
//#define MISO_GPIO 19
|
|
//#define MOSI_GPIO 23
|
|
//#define SCK_GPIO 18
|
|
//#define CS_GPIO 5
|
|
|
|
//////////////////////////////////////////////////////////
|
|
|
|
// Can be included as many times as necessary, without `Multiple Definitions` Linker Error
|
|
#include "WebServer_ESP32_W5500.hpp"
|