-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
55 lines (49 loc) · 1.75 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
; 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 = GetLiveValues
[common]
lib_deps_external =
h2zero/NimBLE-Arduino
Sensirion/Sensirion UPT Core
example_srcdir = ${PROJECT_DIR}/examples/GetLiveValues/
; Common environment settings
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
extra_scripts =
pre:py_scripts/make_cpp_files.py
lib_deps =
${common.lib_deps_external}
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:GetLiveValues]
build_src_filter = +<*> -<.git/> +<${common.example_srcdir}>
board = esp32dev
[env:develop]
build_src_filter = +<*> -<.git/> +<${common.example_srcdir}>
board = lilygo-t-display-s3
monitor_filters = esp32_exception_decoder
build_type = debug
build_flags = -DCORE_DEBUG_LEVEL=5 ; Available are (in increasing order):
; * ESP_LOG_NONE (0)
; * ESP_LOG_ERROR (1)
; * ESP_LOG_WARN (2)
; * ESP_LOG_INFO (3)
; * ESP_LOG_DEBUG (4)
; * ESP_LOG_VERBOSE (5)