[platformio]
env_default = basic, chat

[common]
framework = arduino
platform = espressif8266
board = esp12e
upload_speed = 921600
monitor_baud = 115200
lib_deps = 
    Hash
    TaskScheduler
    SPIFFS
    ArduinoJson
    https://gitlab.com/wirelos/sprocket-lib.git#develop
    https://gitlab.com/wirelos/sprocket-network-wifi.git

[env:basic]
src_filter = +<*> -<examples/> +<examples/basic/>
platform = ${common.platform}
board = ${common.board}
upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
    PubSubClient

[env:chat]
src_filter = +<*> -<examples/> +<examples/chat/>
platform = ${common.platform}
board = ${common.board}
upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
    PubSubClient

[env:chat-esp01]
src_filter = +<*> -<examples/> +<examples/chat/>
platform = ${common.platform}
board = esp01
upload_speed = ${common.upload_speed}
monitor_baud = ${common.monitor_baud}
framework = ${common.framework}
lib_deps = ${common.lib_deps}
    PubSubClient