Closed malbrook closed 3 years ago
The library can support only STM32 boards with built-in LAN8742A Ethernet.
Check Currently Supported Boards
Currently support STM32 boards with built-in Ethernet (to use USE_BUILTIN_ETHERNET = true) such as :
- Nucleo-144 (F429ZI, F767ZI)
- Discovery (STM32F746G-DISCOVERY)
- STM32 boards (STM32F/L/H/G/WB/MP1) with 32K+ Flash, with Built-in Ethernet,
- See How To Use Built-in Ethernet at (https://github.com/khoih-prog/EthernetWebServer_STM32/issues/1)
Whenever the board has built-in LAN8742A Ethernet, those definitions will be auto-included in the board package.
If you decide to add LAN8742A Ethernet into your board (certainly with correct hardware design), you have to modify the board package (a little more complicated job, but just imitate what have been done with Nucleo-144 F767ZI, F429ZI, etc.)
Hi but the Nucleo-F743ZI2, Nucleo-H743ZI and the Nucleo-H745 all have the LAN8742A fitted, see the attached diagram from ST Microelectronics, but none of them will compile. Thety give errors regarding definition of a number of ETH_.... defines en.MB1364-H743ZI-C01_Schematic.pdf
This library relies on STM32Ethernet Library, which in turn relies on the STM32 core to support F767ZI, F756ZG, F429ZI, F746ZG
Currently, the STM32 core doesn't support H743ZI, H743ZI2, H745 using STM32Ethernet Library. You can try by test compile a simple Ethernet example,such as WebClient.
I certainly can modify the core to provide Ethernet support, but I have no such H7 board as well as time to do / test. So, you can do that or post on the Arduino_Core_STM32 isue to request an enhancement.
Currently the Ethernet is not supported on H7.
Many people are experiencing the Ethernet issue with H7 boards. Have a look at to see if you can use the solution
I suggest you, if in a rush, use the F767ZI which is currently supported by the core as well as those above-mentioned libraries.
Good Luck,
Whwn compiling the examples for use with the Nucleo-H743ZI2 board I get errors due to missing definitions, where do I find definitions of items such as ETH_RXBUFNB, ETH_TXBUFNB as I need to define these for this Nucleo board which is supported by the Arduino compiler but not by this library.
regards M Brook