espurna icon indicating copy to clipboard operation
espurna copied to clipboard

ESP32 porting

Open zafrirron opened this issue 6 years ago • 12 comments

Hi, Great Job! Any idea what it would take to port this project to ESP32 chip? thanks

zafrirron avatar Mar 17 '18 16:03 zafrirron

Time. Now seriously, it's something I want to do, but it's not a priority.

xoseperez avatar Mar 19 '18 05:03 xoseperez

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.

Sanfam avatar Mar 30 '18 16:03 Sanfam

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 :)

henkiejan1 avatar Aug 04 '18 20:08 henkiejan1

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

skarcha avatar Oct 15 '18 17:10 skarcha

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.

xoseperez avatar Oct 15 '18 17:10 xoseperez

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.

skarcha avatar Oct 15 '18 17:10 skarcha

any movement on this?

Zixim avatar Dec 05 '18 16:12 Zixim

Any updates on ESP32 porting?

sushantr5 avatar Oct 01 '19 14:10 sushantr5

are there any activities here ?

lblabr avatar Dec 08 '20 14:12 lblabr

News?

MikelMirror avatar Oct 04 '21 14:10 MikelMirror

Lots of functionality are already ported from master branch.

RDobrinov avatar Oct 17 '21 07:10 RDobrinov

So where is the part that is already done?

MelanieT avatar Jan 14 '22 21:01 MelanieT