forked from vitotai/BrewPiLess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
69 lines (60 loc) · 1.76 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
; 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 = nodemcuv2
;env_default = nodemcuv2, glycol, oled, thorrax, sonoff, sonoffota
[common_env_data]
lib_deps_external =
ArduinoJson
ESPAsyncWebServer
WifiManager
OneWire
PCF8574_ESP
ESP8266_SSD1306
[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m.ld
; -DSerialDebug=true
; -DEnableGlycolSupport
; -DOLED_LCD=true
monitor_baud = 115200
lib_deps = ${common_env_data.lib_deps_external}
[env:glycol]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m.ld -DEnableGlycolSupport
lib_deps = ${common_env_data.lib_deps_external}
[env:oled]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m.ld -DOLED_LCD=true
lib_deps = ${common_env_data.lib_deps_external}
[env:thorrax]
platform = espressif8266
board = nodemcuv2
framework = arduino
build_flags = -Wl,-Tesp8266.flash.4m.ld -DBOARD=Thorrak_PCB
lib_deps = ${common_env_data.lib_deps_external}
[env:sonoff]
platform = espressif8266
board = esp01_1m
framework = arduino
build_flags = -Wl,-Tesp8266.flash.1m512.ld -DBOARD=Sonoff
lib_deps = ${common_env_data.lib_deps_external}
[env:sonoffota]
platform = espressif8266
board = esp01_1m
framework = arduino
build_flags = -Wl,-Tesp8266.flash.1m64.ld -DBOARD=Sonoff -DNO_SPIFFS
lib_deps = ${common_env_data.lib_deps_external}