-
Notifications
You must be signed in to change notification settings - Fork 4
/
platformio.ini
56 lines (50 loc) · 1.33 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
;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]
default_envs = megaatmega2560, d1_mini, d1_mini_ota
; defaults
[env]
framework = arduino
lib_deps =
nrf24/[email protected]
[env:megaatmega2560]
platform = atmelavr
board = megaatmega2560
monitor_speed = 115200
[env:d1_mini_ota]
extends = espressif_base
upload_protocol = espota
upload_port = 192.168.12.216
[env:d1_mini]
extends = espressif_base
upload_protocol = esptool
upload_speed = 115200
[espressif_base]
platform = espressif8266
board = d1_mini
board_build.mcu = esp8266
board_build.f_cpu = 80000000L
monitor_speed = 115200
monitor_filters: colorize, esp8266_exception_decoder
build_flags =
#-D WIFI_SSID="\"${sysenv.WIFI_SSID}\""
#-D WIFI_PASSWORD="\"${sysenv.WIFI_PASSWORD}\""
-D MQTT_ENABLED
# MQTT_MAX_PACKET_SIZE is used by PubSubclient library
-D MQTT_MAX_PACKET_SIZE=1024
-D PROG_VERSION="\"${sysenv.PROG_VERSION}\""
lib_deps =
${env.lib_deps}
ESP8266WiFi
PubSubClient
https://github.com/nmaupu/telnetspy
RingBuf
ESPAsyncTCP
ESP Async WebServer