forked from vitotai/BrewPiLess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
92 lines (80 loc) · 2.62 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
; 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, oled, thorrax, sonoff, sonoffota, ioexpander
[common_env_data]
lib_deps_external =
ArduinoJson
WifiManager
OneWire
ESP8266_SSD1306
[env:nodemcuv2]
platform = espressif8266@~1.5
board = nodemcuv2
framework = arduino
lib_extra_dirs = ./lib_async.legacy
build_flags = -Wl,-Tesp8266.flash.4m.ld -DLegacyEspAsyncLibraries=true
-DEanbleParasiteTempControl=true
; -DOLED_LCD=true
; -DSerialDebug=true
monitor_baud = 115200
lib_deps = ${common_env_data.lib_deps_external}
[env:nodemcuv2-1.6]
; the image built might break OTA, and sometimes File system. Be careful.
; you will need to add the flash layout script
platform = espressif8266
board = nodemcuv2
framework = arduino
lib_extra_dirs = ./lib_async
build_flags = -Wl,-Tesp8266.flash.4m2m.ld
-DSerialDebug=true
-DButtonViaPCF8574=true
; -DOLED_LCD=true
; -DNoEmbeddedFile=true
; -DEanbleParasiteTempControl=true
monitor_baud = 115200
[env:ioexpander]
platform = espressif8266@~1.5
board = nodemcuv2
framework = arduino
lib_extra_dirs = ./lib_async.legacy
build_flags = -Wl,-Tesp8266.flash.4m.ld -DLegacyEspAsyncLibraries=true
-DBREWPI_BUTTONS=false
-DButtonViaPCF8574=true
lib_deps = ${common_env_data.lib_deps_external}
[env:oled]
platform = espressif8266@~1.5
board = nodemcuv2
framework = arduino
lib_extra_dirs = ./lib_async.legacy
build_flags = -Wl,-Tesp8266.flash.4m.ld -DOLED_LCD=true -DLegacyEspAsyncLibraries=true
lib_deps = ${common_env_data.lib_deps_external}
[env:thorrax]
platform = espressif8266@~1.5
board = nodemcuv2
framework = arduino
lib_extra_dirs = ./lib_async.legacy
build_flags = -Wl,-Tesp8266.flash.4m.ld -DBOARD=Thorrak_PCB -DLegacyEspAsyncLibraries=true
lib_deps = ${common_env_data.lib_deps_external}
[env:sonoff]
platform = espressif8266@~1.5
board = esp01_1m
framework = arduino
lib_extra_dirs = ./lib_async.legacy
build_flags = -Wl,-Tesp8266.flash.1m512.ld -DBOARD=Sonoff -DLegacyEspAsyncLibraries=true
lib_deps = ${common_env_data.lib_deps_external}
[env:sonoffota]
platform = espressif8266@~1.5
board = esp01_1m
framework = arduino
lib_extra_dirs = ./lib_async.legacy
build_flags = -Wl,-Tesp8266.flash.1m64.ld -DBOARD=Sonoff -DNO_SPIFFS -DLegacyEspAsyncLibraries=true
lib_deps = ${common_env_data.lib_deps_external}