Skip to content

Commit

Permalink
fix platformio.ini to use UIPEthernet
Browse files Browse the repository at this point in the history
  • Loading branch information
rayshobby committed Nov 9, 2022
1 parent 2214c09 commit 8b9a02a
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 = +<*> -<html/*>
build_src_filter = +<*> -<html/*>
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
Expand All @@ -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 = +<*> -<html/*>
build_src_filter = +<*> -<html/*>

0 comments on commit 8b9a02a

Please sign in to comment.