28 lines
886 B
INI
28 lines
886 B
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:nodemcuv2]
|
|
platform = espressif8266
|
|
board = d1_mini
|
|
framework = arduino
|
|
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY -D BME680
|
|
; build_flag needs define the Bosch sensor...
|
|
; -D BMP280
|
|
;or
|
|
; -D BME680
|
|
|
|
; the latest development branch (convention V3.0.x)
|
|
lib_deps = https://github.com/homieiot/homie-esp8266.git#develop
|
|
EspSoftwareSerial
|
|
NeoPixel
|
|
adafruit/Adafruit BMP280 Library @ ^2.4.2
|
|
adafruit/Adafruit BME680 Library @ ^2.0.1
|
|
|
|
upload_port = /dev/ttyUSB0 |