-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
125 lines (117 loc) · 2.82 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
; 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]
default_envs = gates_v1
data_dir = data_${PIOENV}
[env:lock]
platform = atmelavr
board = attiny85
framework = arduino
src_filter = -<*> +<lock.*>
upload_protocol = arduino
upload_flags = -Pnet:esp8266-avrisp.local:328
board_build.f_cpu = 8000000L
[env:gates]
platform = espressif8266
board = nodemcuv2
framework = arduino
src_filter = -<*> +<gates.*> +<audio.*>
lib_deps =
https://github.com/sippy/libg722.git
https://github.com/miguelbalboa/rfid.git
build_flags =
-Wl,-Tesp8266.flash.2m.ld
-D LLTWI_SDA=0
-D LLTWI_SCL=2
-D DEBUG
-D MFRC522_SPICLOCK=SPI_CLOCK_DIV32
-Ilib/dummylib
upload_speed = 921600
upload_port = gatecontrol.local
board_build.f_cpu = 160000000L
[env:handset]
platform = espressif8266
board = nodemcuv2
framework = arduino
src_filter = -<*> +<handset.*> +<audio.*> +<web-ui.*>
lib_ldf_mode = deep
lib_deps =
https://github.com/sippy/libg722.git
PubSubClient
WifiManager
Adafruit NeoPixel
ArduinoJson
https://github.com/Links2004/arduinoWebSockets.git
build_flags =
-Wl,-Teagle.flash.2m1m.ld
-D LLTWI_SDA=0
-D LLTWI_SCL=2
-D ADC8BIT
-D DEBUG
-D DISABLE_STA
-DENABLE_WEB_GUI
; -Ilib/dummylib
; upload_speed = 921600
upload_port = houston.local
upload_protocol = espota
board_build.f_cpu = 160000000L
[env:handset_v1]
platform = espressif8266
board = nodemcuv2
framework = arduino
src_filter = -<*> +<handset.*> +<audio.*> +<web-ui.*>
lib_ldf_mode = deep
lib_deps =
https://github.com/sippy/libg722.git
PubSubClient
WifiManager
Adafruit NeoPixel
ArduinoJson
https://github.com/Links2004/arduinoWebSockets.git
build_flags =
-Wl,-Teagle.flash.2m1m.ld
-D PT8211
; -D DEBUG
-D DISABLE_STA
-D ENABLE_WEB_GUI
-D UNIT16
-D CONNECT_BTN_ACTIVE=HIGH
; -Ilib/dummylib
upload_speed = 921600
upload_port = houston.local
upload_protocol = espota
board_build.f_cpu = 80000000L
[env:lock_v1]
platform = atmelavr
board = attiny13
framework = arduino
src_filter = -<*> +<lock.*>
upload_protocol = arduino
upload_port = esp8266-avrisp.local:328
upload_flags = -Pnet:esp8266-avrisp.local:328
board_build.f_cpu = 1200000L
[env:gates_v1]
platform = espressif8266
board = nodemcuv2
framework = arduino
src_filter = -<*> +<gates.*> +<audio.*>
lib_ldf_mode = deep
lib_deps =
https://github.com/sippy/libg722.git
https://github.com/miguelbalboa/rfid.git
build_flags =
-Wl,-Teagle.flash.2m1m.ld
; -D DEBUG
-D PT8211
-D UNIT16
upload_speed = 921600
upload_port = gatecontrol.local
upload_protocol = espota
board_build.f_cpu = 80000000L