Skip to content

Commit 8b9a02a

Browse files
committed
fix platformio.ini to use UIPEthernet
1 parent 2214c09 commit 8b9a02a

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

platformio.ini

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,24 @@
1515
src_dir = .
1616
include_dir = .
1717

18-
[env:d1_mini_lite]
19-
platform = espressif8266
20-
board = d1_mini_lite
18+
[env:d1_mini]
19+
platform = espressif8266@2.6.3 ;this tells platformio to use esp8266 core 2.7.4
20+
board = d1_mini
2121
framework = arduino
2222
lib_ldf_mode = deep
2323
lib_deps =
24-
EthernetENC=https://github.com/jandrassy/EthernetENC/archive/refs/tags/2.0.1.zip
24+
https://github.com/UIPEthernet/UIPEthernet/archive/refs/tags/v2.0.12.zip
2525
sui77/rc-switch @ ^2.6.3
2626
https://github.com/ThingPulse/esp8266-oled-ssd1306/archive/4.2.0.zip
2727
knolleary/PubSubClient @ ^2.8
2828
; ignore html2raw.cpp source file for firmware compilation (external helper program)
29-
src_filter = +<*> -<html/*>
29+
build_src_filter = +<*> -<html/*>
30+
upload_speed = 460800
31+
monitor_speed=115200
32+
board_build.flash_mode = dio
33+
board_build.ldscript = eagle.flash.4m2m.ld
34+
board_build.f_cpu = 160000000L
35+
board_build.f_flash = 80000000L
3036

3137
[env:sanguino_atmega1284p]
3238
platform = atmelavr
@@ -36,8 +42,8 @@ board_build.variant = sanguino
3642
framework = arduino
3743
lib_ldf_mode = deep
3844
lib_deps =
39-
EthernetENC=https://github.com/jandrassy/EthernetENC/archive/refs/tags/2.0.1.zip
45+
https://github.com/UIPEthernet/UIPEthernet/archive/refs/tags/v2.0.12.zip
4046
knolleary/PubSubClient @ ^2.8
4147
greiman/SdFat @ 1.0.7
4248
Wire
43-
src_filter = +<*> -<html/*>
49+
build_src_filter = +<*> -<html/*>

0 commit comments

Comments
 (0)