-
Notifications
You must be signed in to change notification settings - Fork 51
Support for STM32F Series #1
Comments
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
For example, supporting these boards if using STM32 core from:
But if there is any issue with the UIPEthernet library, please post the issue there.
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. |
Update These boards running ENC28J60 (with Flash 64+K) are supported if using official STM32 core from STMicroElectronics:
and these are not supported:
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. |
Add note for STM32 board usage [***Supported STM Boards and how to use***](#1)
Thanks. |
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
This is simple yet complete WebServer library for The library supports
Regards, |
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 |
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. Boards supported by EthernetWebServer_STM32
Cheers, |
This library currently supports 1. STM32 boards with built-in Ethernet such as : - ***Nucleo-144 (F429ZI, F767ZI)*** - ***Discovery (STM32F746G-DISCOVERY)*** - ***All STM32 Boards with Built-in Ethernet***, See [How To Use Built-in Ethernet](#1) 2. ***STM32 boards (with 64+K Flash) running EMC28J60 shields*** 3. See [EthernetWebServer Library Issue 1](khoih-prog/EthernetWebServer#1) for reason to create this separate library from [EthernetWebServer library](https://github.com/khoih-prog/EthernetWebServer)
Hi,
Your README says that From v1.0.2+, the library supports ... STM32F series .... But when I attempt to compile the PostServer example for an STM32F103, I get
WARNING: library functional-vlpp claims to run on avr architecture(s) and may be incompatible with your current board which runs on STM32F1 architecture(s).
and subsequent complaints that PGM_VOID_P and memccpy_P aren't defined
Can you please confirm what STM32F boards are supported and/or if there are any simple defines I need to change to use the STM32F103
Cheers
Andy
Arduino IDE version: 1.8.12
The text was updated successfully, but these errors were encountered: