espurna
espurna copied to clipboard
ESP32 porting
Hi, Great Job! Any idea what it would take to port this project to ESP32 chip? thanks
Time. Now seriously, it's something I want to do, but it's not a priority.
I can imagine this would allow you to do wonders for Web UI responsiveness, assuming multi-threading across cores was implemented and application/wifi functionality were evenly assigned to each of the two cores.
I have just a ESP32 development board from Aliexpress from here. It's under the 5 euro and has bluetooth and 160MHz dualcore processor. Looks ideal for a RF bridge (with a shield) and bluetooth. I stay tuned here :)
Hi!
I'm working on this, but I need some help. For example with EEPROM_Rotate library. I'm using EEPROM32_Rotate from @xoseperez , but the API has changed and I'm not sure what should I do.
It's my first project bigger than Blink example but I'm ready to spend time on it. Could you give me some help, @xoseperez. Thanks!
This is the progress right now:
Processing wemos-d1mini32 (framework: arduino; platform: https://github.com/platformio/platform-espressif32.git#feature/stage; board: esp32doit-devkit-v1)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: Espressif 32 (Stage) > DOIT ESP32 DEVKIT V1
SYSTEM: ESP32 240MHz 320KB RAM (4MB Flash)
DEBUG: CURRENT(esp-prog) EXTERNAL(esp-prog, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny)
Converting espurna.ino
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(off) COMPATIBILITY(soft)
Collected 64 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <ArduinoJson> 5.13.2
|-- <EEPROM> 1.0
|-- <EEPROM32_Rotate> 0.9.0 #c9983cf
|-- <SPI> 1.0
|-- <WiFi> 1.2.7
|-- <Update> 1.0
|-- <ArduinoOTA> 1.0
|-- <Ticker> 3.1.4
|-- <DNSServer> 1.1.0
|-- <AsyncTCP> 1.0.1 #6fab772
|-- <Embedis> 1.2.0 #554f5b5
|-- <JustWifi> 2.0.0 #21a7662
Compiling .pioenvs/wemos-d1mini32/src/espurna.ino.cpp.o
Compiling .pioenvs/wemos-d1mini32/src/fs_math.c.o
Generating partitions .pioenvs/wemos-d1mini32/partitions.bin
Archiving .pioenvs/wemos-d1mini32/libf14/libArduinoJson_ID64.a
Indexing .pioenvs/wemos-d1mini32/libf14/libArduinoJson_ID64.a
Compiling .pioenvs/wemos-d1mini32/libf7a/EEPROM/EEPROM.cpp.o
Compiling .pioenvs/wemos-d1mini32/libd89/EEPROM32_Rotate/EEPROM32_Rotate.cpp.o
Compiling .pioenvs/wemos-d1mini32/lib38e/SPI/SPI.cpp.o
Compiling .pioenvs/wemos-d1mini32/lib658/WiFi_ID870/WiFi.cpp.o
Archiving .pioenvs/wemos-d1mini32/lib38e/libSPI.a
Indexing .pioenvs/wemos-d1mini32/lib38e/libSPI.a
Compiling .pioenvs/wemos-d1mini32/lib658/WiFi_ID870/WiFiClient.cpp.o
Compiling .pioenvs/wemos-d1mini32/lib658/WiFi_ID870/WiFiServer.cpp.o
Compiling .pioenvs/wemos-d1mini32/lib658/WiFi_ID870/WiFiUdp.cpp.o
Compiling .pioenvs/wemos-d1mini32/lib658/WiFi_ID870/utility/server_drv.cpp.o
The APIs of the EEPROM_Rotate and EEPROM32_Rotate are different, that's true. I guess I could try to make them compatible up to some extent. But since the differences would be limited to the eeprom.ino
file I guess it's OK to just add some build conditionals there on the setup method.
Ok, I'll try to work on it tonight. I'll start with why is not needed .rotate()
, .reserved()
and other methods in ESP32 version.
any movement on this?
Any updates on ESP32 porting?
are there any activities here ?
News?
Lots of functionality are already ported from master branch.
So where is the part that is already done?