-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
69 lines (57 loc) · 1.38 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
;//
;// Copyright (c) 2021 Alexander Mohr
;// Licensed under the terms of the GNU General Public License v3.0
;//
; 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
[platformio]
default_envs = nodemcuv2
[mode]
build_flags=
-DDISABLE_ALL_LOGGING=false
-DCMAKE_BUILD_TYPE=RELEASE
build_type=release
[common_env_data]
build_flags =
-DVERSION=0.1.0
-DMONITOR_SPEED=115200
-O3
-DTEMP_SENSOR=BM280
-std=c++17
-std=gnu++17
-DCMAKE_C_STANDARD=c99
-DYAL_ARDUINO_SUPPORT=true
build_unflags =
-std=gnu++11
[wifi_manager_data]
lib_deps =
ESP Async WebServer@>=1.2.3
ESP AsyncTCP@>=1.2.2
AsyncTCP@>=1.1.1
ESP_DoubleResetDetector@>=1.1.0
Adafruit BME280 Library
Adafruit BMP280 Library
MQTT@>=2.5.0
yal
[env:nodemcuv2]
build_flags =
${common_env_data.build_flags}
${mode.build_flags}
build_unflags =
${common_env_data.build_unflags}
lib_deps =
${wifi_manager_data.lib_deps}
extra_scripts =
pre:scripts/generate_html.py
platform = espressif8266
board = nodemcuv2
framework = arduino
monitor_speed = 115200
upload_speed = 921600
build_type = ${mode.build_type}