-
Notifications
You must be signed in to change notification settings - Fork 69
/
platformio_8266.ini
81 lines (69 loc) · 2.91 KB
/
platformio_8266.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
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
[platformio]
default_envs = relay-all
[env]
extends = esp_defaults
framework = arduino
board = esp01_1m
board_build.f_cpu = 80000000L
board_build.flash_mode = dout
board_build.ldscript = eagle.flash.1m64.ld
board_build.filesystem = littlefs
; *** Esp8266 core for Arduino version 2.6.1
platform = espressif8266
build_flags = -DNDEBUG
-mtarget-align
-Wl,-Map,firmware.map
; -Wl,-Teagle.flash.1m.ld
-DBEARSSL_SSL_BASIC
; NONOSDK22x_190703 = 2.2.2-dev(38a443e)
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
; lwIP 2 - Higher Bandwidth no Features
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
; VTABLES in Flash
-DVTABLES_IN_FLASH
; No exception code in firmware
-fno-exceptions
-lstdc++
-DUSE_UFILESYS
${esp_defaults.build_flags}
; *** Fix [email protected] induced undesired all warnings
build_unflags = -Wall
[env:relay-all]
board_build.variant = esp8285
build_flags = ${env.build_flags} -DUSE_RCSWITCH -DUSE_DIMMING
lib_deps = ${env.lib_deps}
rc-switch
[env:relay-433]
board_build.variant = esp8285
build_flags = ${env.build_flags} -DUSE_RCSWITCH
lib_deps = ${env.lib_deps}
rc-switch
[env:relay-mini]
board_build.variant = esp8285
[env:relay-weile]
board_build.variant = esp8285
build_flags = ${env.build_flags} -DUSE_WEILE
lib_deps = ${env.lib_deps}
DallasTemperature
[env:relay-homekit]
board_build.f_cpu = 160000000L
board_build.variant = esp8285
build_flags = ${env.build_flags} -DUSE_RCSWITCH -DUSE_HOMEKIT
lib_deps = ${env.lib_deps}
rc-switch
HomeKit-ESP8266=https://github.com/qlwz/Arduino-HomeKit-ESP8266
[env:relay-ji]
board_build.f_cpu = 160000000L
board_build.variant = esp8285
build_flags = ${env.build_flags} -DUSE_RCSWITCH -DUSE_HOMEKIT -DMAX_RELAY_NUM=8 -DUSE_CAIJI
lib_deps = ${env.lib_deps}
rc-switch
HomeKit-ESP8266=https://github.com/qlwz/Arduino-HomeKit-ESP8266