-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathplatformio.ini
74 lines (65 loc) · 2.02 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
; 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 = hfw02_ota
data_dir = src/data
[common]
version = -D VERSION=0.0.1
build_flags_debug = -DDEBUG=1 -DDEBUG_PORT=Serial
build_flags_release =
lib_deps =
ESPAsyncWebServer
ArduinoJson
[env:huzzah]
platform = espressif8266
framework = arduino
board = huzzah
src_build_flags = ${common.version} ${common.build_flags_debug}
lib_deps = ${common.lib_deps}
[env:huzzah_release]
platform = espressif8266
framework = arduino
board = huzzah
src_build_flags = ${common.version} ${common.build_flags_release}
lib_deps = ${common.lib_deps}
[env:huzzah_ota]
platform = espressif8266
framework = arduino
board = huzzah
upload_port = esplug.local
src_build_flags = ${common.version} ${common.build_flags_debug}
lib_deps = ${common.lib_deps}
[env:esp01]
platform = espressif8266
framework = arduino
board = esp01
src_build_flags = ${common.version} ${common.build_flags_debug}
lib_deps = ${common.lib_deps}
[env:esp12e]
platform = espressif8266
framework = arduino
board = esp12e
src_build_flags = ${common.version} ${common.build_flags_debug}
lib_deps = ${common.lib_deps}
[env:hfw02]
platform = espressif8266_40mhz
framework = arduino
board = esp01_1m
src_build_flags = ${common.version} ${common.build_flags_debug}
build_flags = -Wl,-Tesp8266.flash.1m128.ld -DF_CRYSTAL=0 -DWIFI_CONNECTION_LED=12
lib_deps = ${common.lib_deps}
[env:hfw02_ota]
platform = espressif8266_40mhz
framework = arduino
board = esp01_1m
upload_port = esplug.local
src_build_flags = ${common.version} ${common.build_flags_debug}
build_flags = -Wl,-Tesp8266.flash.1m128.ld -DF_CRYSTAL=0 -DWIFI_CONNECTION_LED=12
lib_deps = ${common.lib_deps}