v1pr
May 9, 2023, 9:19pm
#1
Hi,
I’m porting a firmware from ESP8266 to ESP32. First I wanted to simply build for the original, board as d1_mini, but build failed with missing <ENC28J60lwIP.h>
Since that should be a part of Arduino ESP8266 Core libs, I’m totally confused
(platformio is a fresh install under vscode)
[platformio]
src_dir = .
include_dir = .
[env:d1_mini]
platform = espressif8266
board = d1_mini
framework = arduino
lib_ldf_mode = deep
lib_deps =
sui77/rc-switch @ ^2.6.3
https://github.com/ThingPulse/esp8266-oled-ssd1306/archive/4.2.0.zip
knolleary/PubSubClient @ ^2.8
https://github.com/OpenThingsIO/OpenThings-Framework-Firmware-Library/archive/refs/heads/master.zip
https://github.com/Links2004/arduinoWebSockets/archive/refs/tags/2.3.5.zip
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
Doesn’t seem to be built-into the Ethernet library of Arduino-ESP32… So you can use these libs
opened 05:21PM - 25 Oct 22 UTC
closed 10:01AM - 18 Jan 23 UTC
Type: Question
### Board
ESP32 dev mıodule
### Device Description
DevKit C
### Hardware Con… figuration
just esp32 with 1 led and button
### Version
latest master (checkout manually)
### IDE Name
Arduino IDE
### Operating System
macOS
### Flash frequency
40
### PSRAM enabled
yes
### Upload speed
115200
### Description
Hi wanto make ota updates from https server via ethernet how does it support?
### Sketch
```cpp
f
```
### Debug Message
```plain
f
```
### Other Steps to Reproduce
_No response_
### I have checked existing issues, online documentation and the Troubleshooting Guide
- [X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.
v1pr
May 10, 2023, 12:06pm
#3
That’s right, but it is in the esp8266 lib, however I couldn’t build for 8266.
Browsing the other related threads, I’ve found a solution: delete the framework dir & pio pkg update solved the issue.