ArduinoProcessScheduler icon indicating copy to clipboard operation
ArduinoProcessScheduler copied to clipboard

ESP32

Open MarcFinns opened this issue 7 years ago • 6 comments

Are you considering a port to the ESP32 board? or is the project dead?

MarcFinns avatar Mar 11 '17 09:03 MarcFinns

Last time I checked they didn't even have a stable Arduino port for the ESP32.

wizard97 avatar Mar 11 '17 13:03 wizard97

Looks like times are changing... My project is getting complex and easily runs out of ram. Let me know if you are considering the port. Thanks!

MarcFinns avatar Mar 11 '17 13:03 MarcFinns

You're using all 64K of RAM?

I will work on the port once the ESP32 has stable Arduino support.

wizard97 avatar Mar 11 '17 14:03 wizard97

The esp 2.3.0 has barely 40 K available. It's a pretty complex project and just the Jason returned by Google maps API is 16 K. I am squeezing now but I doubt that all features will fit.

MarcFinns avatar Mar 11 '17 14:03 MarcFinns

I will work on the port once the ESP32 has stable Arduino support.

Are you still planning this? I tested with ESP8266 Arduino framework and it seems to work fine, so I expect ESP32 to work as well, so this ticket can be closed.

thijstriemstra avatar Jan 26 '21 21:01 thijstriemstra

Looks like ESP32 is explicitly unsupported. Building with an ESP32 board results in this error:

 In file included from lib/ArduinoProcessScheduler/src/ProcessScheduler/Includes.h:5:0,
Compiling .pio/build/esp-wrover-kit/libcdd/RingBuf/RingBuf.c.o
                 from lib/ArduinoProcessScheduler/src/ProcessScheduler/Process.h:4,
                 from lib/ArduinoProcessScheduler/src/ProcessScheduler.h:4,
                 from /tmp/tmpybord9ma/src/Ex_01_SayHello.ino:8:
/home/runner/.platformio/lib/RingBuf/RingBuf.h:50:10: warning: #warning "This library only fully supports AVR and ESP8266 Boards." [-Wcpp]
         #warning "This library only fully supports AVR and ESP8266 Boards."
          ^
/home/runner/.platformio/lib/RingBuf/RingBuf.h:51:10: warning: #warning "Operations on the buffer in ISRs are not safe!" [-Wcpp]
         #warning "Operations on the buffer in ISRs are not safe!"
          ^
In file included from lib/ArduinoProcessScheduler/src/ProcessScheduler/Process.h:4:0,
                 from lib/ArduinoProcessScheduler/src/ProcessScheduler.h:4,
                 from /tmp/tmpybord9ma/src/Ex_01_SayHello.ino:8:
lib/ArduinoProcessScheduler/src/ProcessScheduler/Includes.h:89:6: error: #error “This library only supports AVR and ESP8266 Boards.”
     #error “This library only supports AVR and ESP8266 Boards.”
      ^
In file included from /home/runner/.platformio/lib/RingBuf/RingBuf.c:7:0:
/home/runner/.platformio/lib/RingBuf/RingBuf.h:50:10: warning: #warning "This library only fully supports AVR and ESP8266 Boards." [-Wcpp]
         #warning "This library only fully supports AVR and ESP8266 Boards."
          ^
/home/runner/.platformio/lib/RingBuf/RingBuf.h:51:10: warning: #warning "Operations on the buffer in ISRs are not safe!" [-Wcpp]
         #warning "Operations on the buffer in ISRs are not safe!"
          ^
Archiving .pio/build/esp-wrover-kit/libcdd/libRingBuf.a
*** [.pio/build/esp-wrover-kit/src/Ex_01_SayHello.ino.cpp.o] Error 1

thijstriemstra avatar Jan 28 '21 13:01 thijstriemstra