wizard97 / ArduinoProcessScheduler

An Arduino object oriented process scheduler designed to replace them all
46 stars 16 forks source link

ESP32 #4

Open MarcFinns opened 7 years ago

MarcFinns commented 7 years ago

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

wizard97 commented 7 years ago

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

MarcFinns commented 7 years ago

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!

wizard97 commented 7 years ago

You're using all 64K of RAM?

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

MarcFinns commented 7 years ago

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.

thijstriemstra commented 3 years ago

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 commented 3 years ago

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