From 3c5babf374836c507528c86f73d476e44569b41c Mon Sep 17 00:00:00 2001 From: arovak Date: Sat, 2 May 2020 21:44:39 +0200 Subject: [PATCH] initial ethernet support for STM32F4xx --- platformio.ini | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 3fe9fa11..0a6cfa80 100644 --- a/platformio.ini +++ b/platformio.ini @@ -152,12 +152,16 @@ build_flags = -D HASP_OUTPUT_PIN=PE0 ; User LED D2 on DevEBox board -D HASP_INPUT_PIN=PD15 ; User Button K1 on DevEBox board -D STM32_SERIAL1 ; Set this option to use Serial1 as default sersial port, leave out if using Serial2 + -D HAL_ETH_MODULE_ENABLED=1 ; enable ethernet support + -D LAN8742A_PHY_ADDRESS=0x01U ; set LAN8720 address lib_deps = ${env.lib_deps} Ticker@^3.1.5 - STM32duino LwIP@^2.1.2 - STM32duino STM32Ethernet@^1.0.5 + ; STM32duino LwIP@^2.1.2 + ; STM32duino STM32Ethernet@^1.0.5 + https://github.com/stm32duino/LwIP.git + https://github.com/stm32duino/STM32Ethernet.git src_filter = +<*> -<.git/> -<.svn/> - - - - - +