-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
60 lines (54 loc) · 1.79 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
; 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 = basicUsage
[common]
lib_deps_external =
Sensirion/Sensirion Core
Sensirion/Sensirion UPT Core
Sensirion/Sensirion I2C SHT4x
Sensirion/Sensirion I2C SCD4x
Sensirion/Sensirion I2C SFA3x
Sensirion/Sensirion I2C SVM4x
Sensirion/Sensirion I2C SEN5X
Sensirion/Sensirion I2C SCD30
Sensirion/Sensirion I2C SGP41
Sensirion/Sensirion I2C STC3x
basicUsage_srcdir = ${PROJECT_DIR}/examples/basicUsage/
advancedUsage_srcdir = ${PROJECT_DIR}/examples/advancedUsage/
hacksterExample_srcdir = ${PROJECT_DIR}/examples/hacksterExample/
; Common environment settings
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
lib_deps =
${common.lib_deps_external}
extra_scripts =
pre:py_scripts/make_cpp_files.py
check_tool = cppcheck, clangtidy
check_skip_packages = yes
check_flags=
clangtidy: --style=file
cppcheck: --suppress=unusedFunction
check_src_filters =
+<${PROJECT_DIR}/src/>
+<${PROJECT_DIR}/examples/>
; Board and example specific environments
[env:basicUsage]
build_src_filter = +<*> -<.git/> +<${common.basicUsage_srcdir}>
board = esp32dev
[env:advancedUsage]
build_src_filter = +<*> -<.git/> +<${common.advancedUsage_srcdir}>
board = esp32dev
[env:hacksterExample]
; Please read the corresponding README in ./examples/hacksterExample
build_src_filter = +<*> -<.git/> +<${common.hacksterExample_srcdir}> -<${common.hacksterExample_srcdir}/.pio/>
board = esp32dev