Progress towards a better application FSM, testing

This commit is contained in:
2021-09-06 23:18:43 -04:00
parent 983cd1423e
commit 7e59cd49e8
18 changed files with 462 additions and 17 deletions

View File

@@ -9,29 +9,54 @@
; https://docs.platformio.org/page/projectconf.html
[env]
platform = espressif8266
framework = arduino
board = esp12e
lib_deps =
knolleary/PubSubClient@^2.8.0
bblanchon/ArduinoJson@^6.17.2
upload_speed = 115200
src_filter =
;; Default filter
+<*>
-<.git/>
-<.svn/>
-<example/>
-<examples/>
-<test/>
-<tests/>
;; Don't compile until the user adds their own config
+<*>
-<.git/>
-<.svn/>
-<example/>
-<examples/>
-<test/>
-<tests/>
-<src/config-example.h>
[env:button-release]
platform = espressif8266
framework = arduino
board = esp12e
lib_ldf_mode = deep+ ;; Required for Platformio to identify some transitive dependencies of AutoConnect
lib_deps =
knolleary/PubSubClient@^2.8.0
bblanchon/ArduinoJson@^6.17.2
hieromon/AutoConnect@^1.2.2
upload_speed = 115200
[env:button-timing]
platform = espressif8266
framework = arduino
board = esp12e
lib_ldf_mode = deep+ ;; Required for Platformio to identify some transitive dependencies of AutoConnect
lib_deps =
knolleary/PubSubClient@^2.8.0
bblanchon/ArduinoJson@^6.17.2
hieromon/AutoConnect@^1.2.2
upload_speed = 115200
build_flags = -D DEBUG_SKETCH_TIMING
[env:button-debug]
platform = espressif8266
framework = arduino
board = esp12e
lib_ldf_mode = deep+ ;; Required for Platformio to identify some transitive dependencies of AutoConnect
lib_deps =
knolleary/PubSubClient@^2.8.0
bblanchon/ArduinoJson@^6.17.2
hieromon/AutoConnect@^1.2.2
upload_speed = 115200
build_flags = -D DEBUG_SKETCH
[env:native]
platform = native
lib_compat_mode = off ;; Otherwise, the private libs aren't included.
build_flags = -pthread ;; Required for googletest
lib_deps =
google/googletest @ ^1.10.0