forked from gmag11/QuickESPNow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
88 lines (70 loc) · 1.84 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
; 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]
src_dir = ./examples/
lib_dir = .
[debug]
none = 0
error = 1
warn = 2
info = 3
debug = 4
verbose = 5
level = ${debug.verbose}
default_esp32_level = -DCORE_DEBUG_LEVEL=${debug.level}
default_esp8266_level = -DDEBUG_LEVEL=${debug.level}
[env]
;upload_speed = 921600
monitor_speed = 115200
[esp32_common]
platform = espressif32
board = esp32dev
framework = arduino
build_flags =
${debug.default_esp32_level}
-DCONFIG_ARDUHAL_LOG_COLORS=1
lib_deps =
gmag11/QuickDebug
monitor_filters = time
[esp8266_common]
platform = espressif8266
board = esp12e
framework = arduino
build_flags =
${debug.default_esp8266_level}
-DCONFIG_ARDUHAL_LOG_COLORS=1
upload_speed = 921600
lib_deps =
gmag11/QuickDebug
monitor_filters = time
[env:esp32_basic_espnow]
extends = esp32_common
build_src_filter = -<*> +<basicespnow/>
[env:esp8266_basic_espnow]
extends = esp8266_common
build_src_filter = -<*> +<basicespnow/>
[env:esp32_advanced_espnow]
extends = esp32_common
build_src_filter = -<*> +<advancedespnow/>
[env:esp8266_advanced_espnow]
extends = esp8266_common
build_src_filter = -<*> +<advancedespnow/>
[env:esp32_espnow_sta]
extends = esp32_common
build_src_filter = -<*> +<wifi_sta_and_espnow/>
[env:esp8266_espnow_sta]
extends = esp8266_common
build_src_filter = -<*> +<wifi_sta_and_espnow/>
[env:esp32_espnow_ap]
extends = esp32_common
build_src_filter = -<*> +<wifi_ap_and_espnow/>
[env:esp8266_espnow_ap]
extends = esp8266_common
build_src_filter = -<*> +<wifi_ap_and_espnow/>