2020-12-19 20:12:31 +03:00
|
|
|
; 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
|
2020-09-02 22:34:49 +03:00
|
|
|
|
2020-12-30 16:56:26 +01:00
|
|
|
;Please use one of definition:
|
|
|
|
|
;esp8266_1mb , esp8266_4mb , esp32_4mb
|
2020-09-02 22:34:49 +03:00
|
|
|
[platformio]
|
2020-12-30 17:02:11 +01:00
|
|
|
default_envs = esp8266_4mb
|
2020-12-30 16:56:26 +01:00
|
|
|
|
|
|
|
|
|
2020-12-19 20:12:31 +03:00
|
|
|
|
2020-09-02 22:34:49 +03:00
|
|
|
[common_env_data]
|
|
|
|
|
lib_deps_external =
|
2020-10-18 09:38:24 +03:00
|
|
|
bblanchon/ArduinoJson @5.*
|
|
|
|
|
thomasfredericks/Bounce2
|
|
|
|
|
knolleary/PubSubClient
|
|
|
|
|
beegee-tokyo/DHT sensor library for ESPx
|
|
|
|
|
adafruit/Adafruit BMP280 Library
|
|
|
|
|
adafruit/Adafruit BME280 Library
|
|
|
|
|
milesburton/DallasTemperature
|
2020-09-02 22:34:49 +03:00
|
|
|
lib_deps_internal =
|
|
|
|
|
ESP Async WebServer
|
|
|
|
|
GyverFilters
|
|
|
|
|
OneWire
|
2020-12-19 20:12:31 +03:00
|
|
|
|
2020-12-30 16:56:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:esp8266_4mb]
|
2020-12-30 17:02:11 +01:00
|
|
|
build_flags = -Desp8266_4mb="esp8266_4mb"
|
2020-09-02 22:34:49 +03:00
|
|
|
framework = arduino
|
2020-12-30 16:56:26 +01:00
|
|
|
board = nodemcuv2
|
|
|
|
|
board_build.ldscript = eagle.flash.4m1m.ld
|
|
|
|
|
platform = https://github.com/platformio/platform-espressif8266.git
|
2020-09-02 22:34:49 +03:00
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${common_env_data.lib_deps_internal}
|
2020-12-30 16:56:26 +01:00
|
|
|
ESPAsyncTCP
|
|
|
|
|
ESPAsyncUDP
|
2020-12-30 13:48:29 +01:00
|
|
|
EspSoftwareSerial
|
2020-12-30 16:56:26 +01:00
|
|
|
CTBot
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
2020-10-19 00:20:49 +03:00
|
|
|
upload_speed = 921600
|
2020-09-02 22:34:49 +03:00
|
|
|
monitor_speed = 115200
|
2020-12-30 16:56:26 +01:00
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
|
|
|
|
|
|
2020-12-19 20:12:31 +03:00
|
|
|
|
2020-12-30 16:56:26 +01:00
|
|
|
[env:esp8266_1mb]
|
|
|
|
|
build_flags = -Desp8266_1mb="esp8266_1mb"
|
2020-09-02 22:34:49 +03:00
|
|
|
framework = arduino
|
2020-12-16 19:28:44 +01:00
|
|
|
board = nodemcuv2
|
2020-12-20 14:11:59 +01:00
|
|
|
board_build.ldscript = eagle.flash.1m256.ld
|
2020-09-02 22:34:49 +03:00
|
|
|
platform = https://github.com/platformio/platform-espressif8266.git
|
|
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${common_env_data.lib_deps_internal}
|
|
|
|
|
ESPAsyncTCP
|
|
|
|
|
ESPAsyncUDP
|
|
|
|
|
EspSoftwareSerial
|
2020-11-04 23:48:21 +03:00
|
|
|
CTBot
|
2020-09-02 22:34:49 +03:00
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
|
|
|
|
monitor_speed = 115200
|
2020-12-19 20:12:31 +03:00
|
|
|
|
2020-12-30 16:56:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
[env:esp32_4mb]
|
|
|
|
|
build_flags = -Desp32_4mb="esp32_4mb"
|
2020-09-02 22:34:49 +03:00
|
|
|
framework = arduino
|
2020-12-30 16:56:26 +01:00
|
|
|
board = esp32dev
|
|
|
|
|
platform = https://github.com/platformio/platform-espressif32.git
|
2020-09-02 22:34:49 +03:00
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${common_env_data.lib_deps_internal}
|
2020-12-30 16:56:26 +01:00
|
|
|
AsyncTCP
|
|
|
|
|
madhephaestus/ESP32Servo
|
|
|
|
|
luc-github/ESP32SSDP
|
2020-11-04 23:48:21 +03:00
|
|
|
CTBot
|
2020-12-30 16:56:26 +01:00
|
|
|
EspSoftwareSerial
|
|
|
|
|
monitor_filters = esp32_exception_decoder
|
2020-10-19 00:20:49 +03:00
|
|
|
upload_speed = 921600
|
2020-09-02 22:34:49 +03:00
|
|
|
monitor_speed = 115200
|
2020-12-30 16:56:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|