forked from polyfloyd/esp32-sensornode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
65 lines (57 loc) · 1.57 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = ./main
default_envs = serial
extra_configs = platformio-*.ini
[env]
platform = espressif32
board = esp32thing
board_build.partitions = default.csv
framework = arduino
targets = upload
monitor_speed = 115200
lib_deps =
Adafruit BME280 [email protected]
Adafruit [email protected]
Adafruit SGP30 Sensor@^2.0.0
Adafruit Unified [email protected]
milesburton/DallasTemperature@=3.11.0
ESP-WiFiSettings@^3.8
NeoPixelBus
[common]
build_flags =
!python -c "import subprocess; print('-DPROJECT_VERSION=\'\"'+subprocess.check_output(['git', 'describe', '--always', '--dirty', '--tags']).strip().decode('utf-8')+'\"\'')"
[env:snuffelaar]
build_flags =
${common.build_flags}
-DMENU_BUTTON_PIN=15
-DCONFIG_SENSOR_BME280=1
-DCONFIG_SENSOR_DS18B20=1
-DCONFIG_SENSOR_MHZ19=1
-DCONFIG_SENSOR_PMS7003=1
[env:snuffelaar-polyfloyd-edition]
build_flags =
${env:snuffelaar.build_flags}
-DCONFIG_SENSOR_SGP30=1
-DCONFIG_SENSOR_BH1750=1
[env:powermeter]
build_flags =
${common.build_flags}
-DCONFIG_SENSOR_PZEM004T=1
[env:watermeter]
build_flags =
${common.build_flags}
-DCONFIG_SENSOR_WATER_NPN=1
[env:serial]
upload_protocol = esptool