forked from letscontrolit/ESPEasy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
94 lines (80 loc) · 3.29 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
#
# PlatformIO Project Configuration File
#
# Please make sure to read documentation with examples first
# http://docs.platformio.org/en/stable/projectconf.html
#
#minimal version for esps with 512K or less flash (only has minimal plugin set)
; [env:mini_512]
; platform = espressif8266
; framework = arduino
; board = esp01
; upload_speed=460800
; build_flags = !echo -Wl,-Tesp8266.flash.512k64.ld -D BUILD_GIT=\'\"$(git describe)\"\'
; # upload_port = /dev/ttyUSB0
#normal version with stable plugins, 1024k version
[env:normal_1024]
platform = espressif8266
framework = arduino
board = esp12e
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_NORMAL -D BUILD_GIT='"${env.TRAVIS_TAG}"'
# upload_port = /dev/ttyUSB0
#normal version with stable plugins, 4096k version
[env:normal_4096]
platform = espressif8266
framework = arduino
board = esp12e
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.4m1m.ld -D PLUGIN_BUILD_NORMAL -D BUILD_GIT='"${env.TRAVIS_TAG}"'
# upload_port = /dev/ttyUSB0
#normal version with stable plugins, 4096k version for esp8285
[env:normal_8285]
platform = espressif8266
framework = arduino
board = esp8285
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_NORMAL -D BUILD_GIT='"${env.TRAVIS_TAG}"' -DESP8285
# upload_port = /dev/ttyUSB0
#version with additional plugins (and dependend code) that are in test-stadium 1024k
[env:test_1024]
platform = espressif8266
framework = arduino
board = esp12e
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_NORMAL -D PLUGIN_BUILD_TESTING -D BUILD_GIT='"${env.TRAVIS_TAG}"'
#version with additional plugins (and dependend code) that are in test-stadium 4096k
[env:test_4096]
platform = espressif8266
framework = arduino
board = esp12e
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.4m1m.ld -D PLUGIN_BUILD_NORMAL -D PLUGIN_BUILD_TESTING -D BUILD_GIT='"${env.TRAVIS_TAG}"'
#version with additional plugins (and dependend code) that are in test-stadium 4096k for esp8285
[env:test_8285]
platform = espressif8266
framework = arduino
board = esp8285
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_NORMAL -D PLUGIN_BUILD_TESTING -D BUILD_GIT='"${env.TRAVIS_TAG}"' -DESP8285
#version with additional plugins (and dependend code) that is in development (probably broken or incomplete) 1024k
[env:dev_1024]
platform = espressif8266
framework = arduino
board = esp12e
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_NORMAL -D PLUGIN_BUILD_TESTING -D PLUGIN_BUILD_DEV -D BUILD_GIT='"${env.TRAVIS_TAG}"'
#version with additional plugins (and dependend code) that is in development (probably broken or incomplete) 4096k
[env:dev_4096]
platform = espressif8266
framework = arduino
board = esp12e
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.4m1m.ld -D PLUGIN_BUILD_NORMAL -D PLUGIN_BUILD_TESTING -D PLUGIN_BUILD_DEV -D BUILD_GIT='"${env.TRAVIS_TAG}"'
#version with additional plugins (and dependend code) that is in development (probably broken or incomplete) 4096k for esp8285
[env:dev_8285]
platform = espressif8266
framework = arduino
board = esp8285
upload_speed=460800
build_flags = -Wl,-Tesp8266.flash.1m128.ld -D PLUGIN_BUILD_NORMAL -D PLUGIN_BUILD_TESTING -D PLUGIN_BUILD_DEV -D BUILD_GIT='"${env.TRAVIS_TAG}"' -DESP8285