Comments (6)
The EthernetWebServer is written to be somewhat supportive to many different types of boards. But it also have to use other libraries, so the hardware support certainly depends on those external libraries.
Currently
-
Just ignore the warning of functional-vlpp library. This is an external library I currently have no control. But I'll fix the warning by forking it then fix. Done
-
Ethernet library for W5x00 doesn't support STM32F boards. You can post an issue there to request Feature Enhancement. Whenever that library is supporting STM32F boards, this library will automatically support. If I have time, I'll fork and fix Ethernet library to provide support to STM32F series.
-
Currently, EthernetWebServer library can only support some STM32F boards running ENC28J60 shields (only because it's using UIPEthernet library supporting STM32F). The prerequisite is the board must have Flash larger than 128K.
For example, supporting these boards if using STM32 core from:
Arduino_STM32
- STM32F103CB
- Microduino Core STM32
- Maple Mini
- Maple Rev3
- STM Nucleo
- STM32F103RB, RC and RE
- STM32F103TB
- STM32F103VC, VD and VE
- STM32F103Z
- HYTiny STM32F103TB
But if there is any issue with the UIPEthernet library, please post the issue there.
- These boards are not supported even using ENC28J60
- STM32F103C8, R8, T8 having only 64K Flash
- STM32F4 as there is no HardwareSerial
In order to use supported STF32F1 boards, you have to declare this in eny sketch
#define ETHERNET_USE_SAMD true
// Use true for ENC28J60 and UIPEthernet library (https://github.com/UIPEthernet/UIPEthernet)
// Use false for W5x00 and Ethernetx library (https://www.arduino.cc/en/Reference/Ethernet)
#define USE_UIP_ETHERNET true
PS: I'll test and include the STM32Ethernet library to provide more support to STM32F boards.
from ethernetwebserver.
Update
These boards running ENC28J60 (with Flash 64+K) are supported if using official STM32 core from STMicroElectronics:
Arduino_Core_STM32
- Nucleo-144
- Nucleo-64
- Discovery
- STM32MP1
- Generic STM32F1 (with 64+K Flash): C8 and up
- Generic STM32F4
- STM32L0
- LoRa boards
- 3-D printer boards
- Generic Flight Controllers
- Midatronics boards
and these are not supported:
- Nucleo-32 (small Flash/memory)
- Eval (no Serial, just need to redefine in sketch, library and UIPEthernet)
- Generic STM32F0 (small Flash/memory)
- Generic STM32F1 (with <64K Flash): C6
- Generic STM32F3 : no HardwareSPI.h
- Electronics Speed Controllers (small Flash/memory)
In order to use supported STM boards, you have to declare this in the sketch
#define ETHERNET_USE_SAMD true
// Use true for ENC28J60 and UIPEthernet library (https://github.com/UIPEthernet/UIPEthernet)
// Use false for W5x00 and Ethernetx library (https://www.arduino.cc/en/Reference/Ethernet)
#define USE_UIP_ETHERNET true
Will fix the libraries later to auto-recognize STM boards.
from ethernetwebserver.
Thanks.
from ethernetwebserver.
Dear @andy-hopkins
I just finished and published a new EthernetWebServer_STM32 library for STM32 boards. Please give it a try.
https://github.com/khoih-prog/EthernetWebServer_STM32
This library currently supports
- STM32 boards with built-in Ethernet such as :
- Nucleo-144 (F429ZI, F767ZI)
- Discovery (STM32F746G-DISCOVERY)
- STM32 boards (with 64+K Flash) running EMC28J60 shields
This is simple yet complete WebServer library for STM32
boards running built-in Ethernet (Nucleo-144, Discovery) or EMC28J60 Ethernet shields. The functions are similar and compatible to ESP8266/ESP32 WebServer libraries to make life much easier to port sketches from ESP8266/ESP32.
The library supports
- HTTP Server and Client
- HTTP GET and POST requests, provides argument parsing, handles one client at a time.
Regards,
KH
from ethernetwebserver.
Hi @khoih-prog
I have success with the PostServer example with a BluePill and ENC28J60.
No pressure, but any idea how long till, or if, the F407VET6 will be supported?
Cheers
from ethernetwebserver.
Good news that you're successful with BluePill and ECN28J60.
Please try the following new library and let us know the result for F407VET6 and all remaining STM32. BTW, I'm planning to port W5x00, etc. Ethernet shield to this new lib.
All the STM32 boards with more than 64K Flash are supported by that lib, including all F407VET.
Don't use this library anymore if you're using STM32 as it's not as efficient as the new one (larger code size, not standard core from STMicro).
Boards supported by EthernetWebServer_STM32
- STM32 boards with built-in Ethernet such as :
- Nucleo-144 (F429ZI, F767ZI)
- Discovery (STM32F746G-DISCOVERY)
- STM32 boards (with 64+K Flash) running EMC28J60 shields
- Nucleo-144
- Nucleo-64
- Discovery
- STM32MP1
- Generic STM32F1 (with 64+K Flash): C8 and up
- Generic STM32F4
- STM32L0
- LoRa boards
- 3-D printer boards
- Generic Flight Controllers
- Midatronics boards
- and these boards are not supported:
- Nucleo-32 (small Flash/memory)
- Eval (no Serial, just need to redefine in sketch, library and UIPEthernet)
- Generic STM32F0 (small Flash/memory)
- Generic STM32F1 (with <64K Flash): C6
- Generic STM32F3 : no HardwareSPI.h
- Electronics Speed Controllers (small Flash/memory)
Cheers,
KH
from ethernetwebserver.
Related Issues (20)
- ARDUINO IDE 1.6.12 compile error with esp8266 HOT 1
- Consecutive page refreshes finally leads to data corruption and Connection Refused HOT 4
- Upload file is very slow HOT 1
- Upload speed it's slow HOT 1
- Something wrong in http response header HOT 1
- server.authenticate problem HOT 2
- multiple definition of base64 error with ver. 1.8.3 HOT 3
- Missing ESP definitions ..... HOT 1
- Needing help ! HOT 1
- ESP32 keeps rebooting when trying to use pointers. HOT 1
- Udp Multicast HOT 3
- AdvancedWebServer example give me wrong ip HTTP EthernetWebServer is @ IP : 1.0.1.0 HOT 2
- Teensy 4.1 server.streamFile not working HOT 2
- RP2040-W5500 UdpSendReceive HOT 2
- AdvancedWebServer example give me wrong ip HTTP EthernetWebServer is @ IP : 0.0.0.0 HOT 48
- RP2040 (IP Unset) with localIP HOT 3
- Not Working With Default ETH Library HOT 1
- fatal error: functional-vlpp.h: No such file or directory HOT 1
- FS_EthernetWebServer Example for PICO (WIZnet 5100S-EVB-Pico ) not working
- undefined reference to EthernetWebServer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ethernetwebserver.