luisllamasbinaburo / Arduino-ReactiveArduino

ReactiveArduino implements observable-observer pattern on Arduino
https://www.luisllamas.es/libreria-reactive-arduino/
Apache License 2.0
22 stars 8 forks source link

Compilation error #7

Closed rzeldent closed 1 year ago

rzeldent commented 1 year ago

Hi Luis,

This looks amazing and wanted to try it on an ESP32 using PlatformIo! However, I do get compilation errors. :-(

I looks like there are some templates overlapping? There are some problems in the files ObservableTimerMillis, ObservableTimerMicros and ObservableIntervalMicros. Could you take a look why? I attached a zip with the platformIo Project.

Looking forward to use your library and kind regards,

Rene

Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)

Removing unused dependencies... Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html PLATFORM: Espressif 32 (5.1.0) > Espressif ESP32 Dev Module HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa) PACKAGES:

rzeldent commented 1 year ago

Created a pull request. https://github.com/luisllamasbinaburo/Arduino-ReactiveArduino/pull/8 Please take a look and merge it... Would also be nice to have a new library pushed in PlatformIO :-)

Kind regards,

Rene

rzeldent commented 1 year ago

Issue is resolved with the update to version 2.0! A big improvement. Also new library for platformIO is published at the PlatformIO registry!

Thanks Luis!