-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
75 lines (57 loc) · 1.7 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
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
;env_default = esp32dev
env_default = nodemcuv2
[common]
; build_flags = -g -DDEBUG_PORT=Serial
;Add the PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY build flag to ensure reliable OTA updates.
build_flags = -D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
serial_speed = 74880
; You MUST inject these options into [env:] section
; using ${common_env_data.***} (see below)
[common_env_data]
lib_deps =
NTPClient
TimeZone
git+https://github.com/xoseperez/Time.git
;https://github.com/stritti/homie-esp8266.git#develop-v3
git+https://github.com/homieiot/homie-esp8266.git#develop-v3
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
build_flags = -D SERIAL_SPEED=${common.serial_speed}
lib_deps =
${common_env_data.lib_deps}
; Serial Monitor options
monitor_speed = ${common.serial_speed}
upload_speed = 230400
;upload_protocol = esptool
;upload_port = 192.168.178.23
;upload_flags =
; --timeout=20
; --port=3232
; --auth=st25277472
; Unit Testing options
test_ignore = test_desktop
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = -D SERIAL_SPEED=${common.serial_speed}
lib_deps =
${common_env_data.lib_deps}
; Serial Monitor options
; Serial Monitor options
monitor_speed = ${common.serial_speed}
upload_speed = 230400
; Unit Testing options
test_ignore = test_desktop