-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
55 lines (50 loc) · 2.29 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
[common]
lib_deps_builtin =
WiFi
selfManagedWifiUsage_srcdir = ${PROJECT_DIR}/examples/selfManagedWifiUsage/
delegatedWifiUsage_srcdir = ${PROJECT_DIR}/examples/delegatedWifiUsage/
board = lilygo-t-display-s3
[env]
platform = espressif32
framework = arduino
monitor_speed = 115200
extra_scripts =
pre:py_scripts/make_cpp_files.py
post:py_scripts/set_env_vars_from_json.py
lib_deps =
${common.lib_deps_builtin}
lib_extra_dirs =
${PROJECT_DIR}/src/*
[env:selfManagedWifiUsage]
build_src_filter = +<*> -<.git/> -<.svn/> +<${common.selfManagedWifiUsage_srcdir}>
board = ${common.board}
build_flags = -DCORE_DEBUG_LEVEL=2
[env:delegatedWifiUsage]
build_src_filter = +<*> -<.git/> -<.svn/> +<${common.delegatedWifiUsage_srcdir}>
board = ${common.board}
build_flags = -DCORE_DEBUG_LEVEL=2
[env:develop]
build_src_filter = +<*> -<.git/> -<.svn/> +<${common.selfManagedWifiUsage_srcdir}>
board = ${common.board}
monitor_filters = esp32_exception_decoder
build_type = debug
build_flags = -DCORE_DEBUG_LEVEL=4 ; 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)
; NOTE: the esp_log library includes some other means to control the log level,
; but I am unable to get them to work. It seems the only way to reliably
; control the log level is through this compiler flag, and to forgo any
; of the esp_log_level_set() methods.