forked from dev-git-usr/KNX-Sonoff-S26
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
72 lines (65 loc) · 1.86 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
; 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]
; We have to keep libdeps dir out the project directory otherwise,
; library scanner seems to have issues so compilation fails
libdeps_dir = ../libdeps
src_dir = .
;--- ESP8266 -----------------------------------------------
[env:esp8266_IP] ;Sonoff_S26
platform = espressif8266
board = esp12e
board_build.ldscript = eagle.flash.1m.ld
framework = arduino
upload_speed = 57600
lib_deps =
https://github.com/thelsing/knx.git
ESP8266WiFi
https://github.com/tzapu/WiFiManager.git
build_flags =
-DMASK_VERSION=0x57B0
-Wno-unknown-pragmas
monitor_speed = 57600
monitor_filters = esp8266_exception_decoder
build_type = debug
[env:nodemcuv2]
board = nodemcuv2
platform = espressif8266@4.2.0
board_build.ldscript = eagle.flash.4m1m.ld
framework = arduino
upload_speed = 115200
lib_deps =
https://github.com/thelsing/knx.git
ESP8266WiFi
https://github.com/tzapu/WiFiManager.git
build_flags =
-DMASK_VERSION=0x57B0
-Wno-unknown-pragmas
monitor_speed = 115200
monitor_filters = esp8266_exception_decoder
build_type = debug
;--- ESP8285 -----------------------------------------------
[env:Sonoff_4Ch_Pro_Rev2]
board = esp8285
platform = espressif8266@4.2.0
board_build.ldscript = eagle.flash.1m128.ld
framework = arduino
upload_speed = 115200
lib_deps =
https://github.com/thelsing/knx.git
ESP8266WiFi
https://github.com/tzapu/WiFiManager.git
build_flags =
-DMASK_VERSION=0x57B0
-Wno-unknown-pragmas
-D ESP8285
monitor_speed = 115200
monitor_filters = esp8266_exception_decoder
build_type = debug