-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplatformio.ini
75 lines (57 loc) · 1.66 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
; 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 = esp32dev
[env]
framework = arduino
monitor_speed = 1500000
upload_speed = 1500000
; monitor_port = socket://bme280-env-sensor.local:23
; upload_port = bme280-env-sensor.local
; upload_protocol = espota
monitor_filters =
default
colorize
time
board_build.filesystem = littlefs
build_flags =
-D PROJECT_NAME='"BME280 Sensor Publisher"'
-D HOSTNAME='"bme280-env-sensor"'
-D ELEGANTOTA_USE_ASYNC_WEBSERVER=1
-D BS_USE_TELNETSPY
-D BME280_LOG_LEVEL_BASIC
; -D BME280_LOG_LEVEL_FULL
lib_deps =
synman/ESP-Bootstrap@>=1.0.0
https://github.com/adafruit/Adafruit_BME280_Library.git@>=2.2.2
https://github.com/knolleary/pubsubclient.git@^2.8
https://github.com/shedokan/arduino-home-assistant.git#93787b2dd1e7c025cc62dd38b3413bb055e32a5d
[env:d1_mini]
platform = [email protected]
board = d1_mini
monitor_filters =
esp8266_exception_decoder
${env.monitor_filters}
; board_build.ldscript = eagle.flash.4m3m.ld
lib_deps =
${env.lib_deps}
[env:esp32dev]
platform = [email protected]
board = esp32dev
monitor_filters =
esp32_exception_decoder
${env.monitor_filters}
; board_build.partitions = littlefs_4m3m.ld
build_flags =
-D esp32
${env.build_flags}
lib_deps =
bblanchon/ArduinoJson@^6.21.3
${env.lib_deps}