diff --git a/platformio.ini b/platformio.ini index 44aa7fc3..0a1b9984 100644 --- a/platformio.ini +++ b/platformio.ini @@ -15,18 +15,24 @@ src_dir = . include_dir = . -[env:d1_mini_lite] -platform = espressif8266 -board = d1_mini_lite +[env:d1_mini] +platform = espressif8266@2.6.3 ;this tells platformio to use esp8266 core 2.7.4 +board = d1_mini framework = arduino lib_ldf_mode = deep lib_deps = - EthernetENC=https://github.com/jandrassy/EthernetENC/archive/refs/tags/2.0.1.zip + https://github.com/UIPEthernet/UIPEthernet/archive/refs/tags/v2.0.12.zip sui77/rc-switch @ ^2.6.3 https://github.com/ThingPulse/esp8266-oled-ssd1306/archive/4.2.0.zip knolleary/PubSubClient @ ^2.8 ; ignore html2raw.cpp source file for firmware compilation (external helper program) -src_filter = +<*> - +build_src_filter = +<*> - +upload_speed = 460800 +monitor_speed=115200 +board_build.flash_mode = dio +board_build.ldscript = eagle.flash.4m2m.ld +board_build.f_cpu = 160000000L +board_build.f_flash = 80000000L [env:sanguino_atmega1284p] platform = atmelavr @@ -36,8 +42,8 @@ board_build.variant = sanguino framework = arduino lib_ldf_mode = deep lib_deps = - EthernetENC=https://github.com/jandrassy/EthernetENC/archive/refs/tags/2.0.1.zip + https://github.com/UIPEthernet/UIPEthernet/archive/refs/tags/v2.0.12.zip knolleary/PubSubClient @ ^2.8 greiman/SdFat @ 1.0.7 Wire -src_filter = +<*> - +build_src_filter = +<*> - \ No newline at end of file