-
Notifications
You must be signed in to change notification settings - Fork 74
/
platformio.ini
54 lines (44 loc) · 1.18 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
;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]
debug = -D DEBUG_NTPCLIENT
[env]
upload_speed = 921600
monitor_speed = 115200
;upload_port = COM17
lib_deps =
paulstoffregen/Time
[esp32_common]
platform = espressif32
board = esp32dev
framework = arduino
build_flags = -std=c++11 ${debug.debug}
;${debug.default_esp32_level}
;debug_tool = esp-prog
;upload_protocol = esp-prog
;debug_init_break = tbreak setup
[esp8266_common]
platform = espressif8266
board = esp12e
framework = arduino
upload_resetmethod = nodemcu
build_flags = -std=c++11 -D PIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191122 -D LED_BUILTIN=2 ${debug.debug}
lib_deps =
${env.lib_deps}
me-no-dev/ESPAsyncUDP
[env:esp8266]
extends = esp8266_common
src_filter = -<*> +<NTPClientESP8266/>
[env:esp32]
extends = esp32_common
src_filter = -<*> +<NTPClientESP32/>