Files
iotbutton/firmware/main_mcu/platformio.ini

46 lines
1.0 KiB
INI

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env]
src_filter =
+<*>
-<.git/>
-<.svn/>
-<example/>
-<examples/>
-<test/>
-<tests/>
-<src/config-example.h>
[hardware]
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:release]
extends = hardware
[env:debug]
extends = hardware
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