-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
54 lines (51 loc) · 1.55 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
; 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
[common_env_data]
board = esp12e
platform = espressif8266
build_flags =
monitor_speed = 115200
lib_deps =
bblanchon/ArduinoJson@^6.18.3
adafruit/DHT sensor library@^1.4.2
adafruit/Adafruit CCS811 Library@^1.0.5
adafruit/Adafruit Unified Sensor@^1.1.4
claws/BH1750@^1.2.0
adafruit/Adafruit AHTX0@^2.0.1
board_build.filesystem = littlefs
build_type = release
check_flags =
cppcheck: --suppress=*:*/.pio/*
[env:hub]
platform = ${common_env_data.platform}
board = ${common_env_data.board}
framework = arduino
monitor_speed = ${common_env_data.monitor_speed}
build_flags =
${common_env_data.build_flags}
-DMODE=1
lib_deps =
${common_env_data.lib_deps}
board_build.filesystem = ${common_env_data.board_build.filesystem}
build_type = ${common_env_data.build_type}
check_flags = ${common_env_data.check_flags}
[env:follower]
platform = ${common_env_data.platform}
board = ${common_env_data.board}
framework = arduino
monitor_speed = ${common_env_data.monitor_speed}
build_flags =
${common_env_data.build_flags}
-DMODE=2
lib_deps =
${common_env_data.lib_deps}
board_build.filesystem = ${common_env_data.board_build.filesystem}
build_type = ${common_env_data.build_type}
check_flags = ${common_env_data.check_flags}