|
|
@ -1,3 +1,13 @@ |
|
|
|
; 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 |
|
|
|
|
|
|
|
[platformio] |
|
|
|
src_dir = . |
|
|
|
|
|
|
@ -5,33 +15,67 @@ src_dir = . |
|
|
|
platform = espressif8266 |
|
|
|
framework = arduino |
|
|
|
board = d1_mini |
|
|
|
monitor_speed = 115200 |
|
|
|
board_build.f_cpu = 80000000L |
|
|
|
|
|
|
|
; ;;;;; Possible Debug options ;;;;;; |
|
|
|
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#debug-level |
|
|
|
;build_flags = -DDEBUG_ESP_PORT=Serial |
|
|
|
;-DDEBUG_ESP_CORE |
|
|
|
;-DDEBUG_ESP_WIFI |
|
|
|
;-DDEBUG_ESP_HTTP_CLIENT |
|
|
|
;-DDEBUG_ESP_HTTP_SERVER |
|
|
|
;-DDEBUG_ESP_OOM |
|
|
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
monitor_filters = |
|
|
|
;default ; Remove typical terminal control codes from input |
|
|
|
time ; Add timestamp with milliseconds for each new line |
|
|
|
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
|
|
|
|
|
|
lib_deps = |
|
|
|
nrf24/RF24@1.4.2 |
|
|
|
lib_deps = |
|
|
|
nrf24/RF24@1.4.2 |
|
|
|
paulstoffregen/Time@^1.6.1 |
|
|
|
knolleary/PubSubClient@^2.8 |
|
|
|
bblanchon/ArduinoJson@^6.19.4 |
|
|
|
;esp8266/DNSServer@1.1.0 |
|
|
|
;esp8266/EEPROM@^1.0 |
|
|
|
;esp8266/ESP8266HTTPUpdateServer@^1.0 |
|
|
|
;esp8266/ESP8266WebServer@^1.0 |
|
|
|
;esp8266/ESP8266WiFi@^1.0 |
|
|
|
;esp8266/SPI@1.0 |
|
|
|
;esp8266/Ticker@^1.0 |
|
|
|
bblanchon/ArduinoJson@^6.19.4 |
|
|
|
;esp8266/DNSServer@1.1.0 |
|
|
|
;esp8266/EEPROM@^1.0 |
|
|
|
;esp8266/ESP8266HTTPUpdateServer@^1.0 |
|
|
|
;esp8266/ESP8266WebServer@^1.0 |
|
|
|
;esp8266/ESP8266WiFi@^1.0 |
|
|
|
;esp8266/SPI@1.0 |
|
|
|
;esp8266/Ticker@^1.0 |
|
|
|
|
|
|
|
[env:node_mcu_v2] |
|
|
|
platform = espressif8266 |
|
|
|
framework = arduino |
|
|
|
board = nodemcuv2 |
|
|
|
monitor_speed = 115200 |
|
|
|
board_build.f_cpu = 80000000L |
|
|
|
|
|
|
|
; ;;;;; Possible Debug options ;;;;;; |
|
|
|
; https://docs.platformio.org/en/latest/platforms/espressif8266.html#debug-level |
|
|
|
;build_flags = -DDEBUG_ESP_PORT=Serial |
|
|
|
;-DDEBUG_ESP_CORE |
|
|
|
;-DDEBUG_ESP_WIFI |
|
|
|
;-DDEBUG_ESP_HTTP_CLIENT |
|
|
|
;-DDEBUG_ESP_HTTP_SERVER |
|
|
|
;-DDEBUG_ESP_OOM |
|
|
|
|
|
|
|
monitor_speed = 115200 |
|
|
|
monitor_filters = |
|
|
|
;default ; Remove typical terminal control codes from input |
|
|
|
time ; Add timestamp with milliseconds for each new line |
|
|
|
;log2file ; Log data to a file “platformio-device-monitor-*.log” located in the current working directory |
|
|
|
upload_port = /dev/ttyUSB0 |
|
|
|
|
|
|
|
lib_deps = |
|
|
|
nrf24/RF24@1.4.2 |
|
|
|
lib_deps = |
|
|
|
nrf24/RF24@1.4.2 |
|
|
|
paulstoffregen/Time@^1.6.1 |
|
|
|
knolleary/PubSubClient@^2.8 |
|
|
|
bblanchon/ArduinoJson@^6.19.4 |
|
|
|
bblanchon/ArduinoJson@^6.19.4 |
|
|
|
;esp8266/DNSServer@1.1.0 |
|
|
|
;esp8266/EEPROM@^1.0 |
|
|
|
;esp8266/ESP8266HTTPUpdateServer@^1.0 |
|
|
|
;esp8266/ESP8266WebServer@^1.0 |
|
|
|
;esp8266/ESP8266WiFi@^1.0 |
|
|
|
;esp8266/SPI@1.0 |
|
|
|
;esp8266/Ticker@^1.0 |
|
|
|