diff --git a/Components/Device/examples/uDAQC_Configure/platformio.ini b/Components/Device/examples/uDAQC_Configure/platformio.ini index 72d0333..354156d 100644 --- a/Components/Device/examples/uDAQC_Configure/platformio.ini +++ b/Components/Device/examples/uDAQC_Configure/platformio.ini @@ -42,7 +42,11 @@ default_envs = nodemcu [env:nodemcu] -lib_extra_dirs = /home/tyler/Dropbox/My Programs/Git Repositories/uDAQC/Components/Device/src, /home/tyler/Dropbox/My Programs/PlatformIO/Libraries/Third Party/ +lib_deps = + uDAQC + ; to work with development library, just put a symlinc to the library folder in pio global storage and run "pio lib install" for this project; changes will be available to linker and compiler immediately without update + ; command for this is: ln -s "/home/tyler/Dropbox/My Programs/Git Repositories/uDAQC/Components/Device/" uDAQC + ; a library update will pull the uDAQC library from the server if there's a version discrepancy platform = espressif8266 ;platform = https://github.com/platformio/platform-espressif8266.git ;this is the upstream version board = nodemcuv2 @@ -56,6 +60,8 @@ build_flags = ;-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY ;-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH + -D DEBUG_UDAQC ; comment out to get rid of debug output + -D ROUND_WORKAROUND ; workaround for Arduino.h problem, see https://github.com/esp8266/Arduino/issues/5787 -DNDEBUG upload_speed = 921600 ;can be 115200, 921600 diff --git a/Components/Device/examples/uDAQC_Template/platformio.ini b/Components/Device/examples/uDAQC_Template/platformio.ini index 5e8aa66..354156d 100644 --- a/Components/Device/examples/uDAQC_Template/platformio.ini +++ b/Components/Device/examples/uDAQC_Template/platformio.ini @@ -43,7 +43,10 @@ default_envs = nodemcu [env:nodemcu] lib_deps = - uDAQC ; to work with development library, just put a symlinc to the library folder in pio global storage and run "pio lib install" for this project; changes will be available to linker and compiler immediately without update + uDAQC + ; to work with development library, just put a symlinc to the library folder in pio global storage and run "pio lib install" for this project; changes will be available to linker and compiler immediately without update + ; command for this is: ln -s "/home/tyler/Dropbox/My Programs/Git Repositories/uDAQC/Components/Device/" uDAQC + ; a library update will pull the uDAQC library from the server if there's a version discrepancy platform = espressif8266 ;platform = https://github.com/platformio/platform-espressif8266.git ;this is the upstream version board = nodemcuv2 @@ -60,7 +63,6 @@ build_flags = -D DEBUG_UDAQC ; comment out to get rid of debug output -D ROUND_WORKAROUND ; workaround for Arduino.h problem, see https://github.com/esp8266/Arduino/issues/5787 -DNDEBUG - echo pio lib update ; for development, update the uDAQC library every update upload_speed = 921600 ;can be 115200, 921600 [env:thing] diff --git a/Components/Device/library.json b/Components/Device/library.json index d448e81..efdc2e6 100644 --- a/Components/Device/library.json +++ b/Components/Device/library.json @@ -16,7 +16,15 @@ "export": { "include": "uDAQC" }, - "version": "0.2.4", + "build": + { + "srcFilter": + [ + "+", + "+" + ] + }, + "version": "0.3.0", "frameworks": "arduino", "platforms": "esp8266" } diff --git a/Components/Device/src/IO/Devices/Bases/IO_Node.h b/Components/Device/src/IO/Devices/Bases/IO_Node.h index 78dc06c..2beb3f9 100644 --- a/Components/Device/src/IO/Devices/Bases/IO_Node.h +++ b/Components/Device/src/IO/Devices/Bases/IO_Node.h @@ -2,6 +2,7 @@ #define IO_Node_h #include +#include #include #include