-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
46 lines (41 loc) · 944 Bytes
/
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
[platformio]
default_envs =
web
now
[env]
platform = espressif8266
board = d1_mini
framework = arduino
upload_port = /dev/ttyUSB0
upload_speed = 460800
monitor_speed = 115200
monitor_port = /dev/ttyUSB0
board_build.f_cpu = 160000000L
lib_deps =
ArduinoJson
Base64
build_flags =
-DNO_EXTRA_4K_HEAP
lib_ldf_mode = deep+
lib_compat_mode = strict
[env:web]
lib_deps =
${env.lib_deps}
Adafruit GFX Library
https://github.com/mcauser/Adafruit_SSD1306.git#esp8266-64x48
AsyncMqttClient
ESP Async WebServer
build_flags =
${env.build_flags}
# Enables OLED shield. Uncomment if OLED screen is used
; -DENABLE_OLED_SHIELD
# Set as WEB/MQTT device
-DDEV_MODE=1
# Web UI username/password, comment out for disable Web UI auth (not recommended)
; -DAUTH_USERNAME=admin
; -DAUTH_PASSWORD=pa55w0rd
[env:now]
build_flags =
${env.build_flags}
# Set as NOW device
-DDEV_MODE=2