-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini-sample
73 lines (61 loc) · 1.68 KB
/
platformio.ini-sample
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
; 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]
workspace_dir=/tmp/pio-workspaces/$PROJECT_HASH
default_envs=local
[env]
platform = espressif8266
; set frequency to 160MHz
board_build.f_cpu = 160000000L
board = nodemcuv2
framework = arduino
build_flags =
-D BE_MINIMAL
-D PIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
-D PIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191122
-D BEARSSL_SSL_BASIC
'-DOTAKEY="Wimt3odpodBy"'
lib_deps = fastled/FastLED
ruleechen/HomeKit-ESP8266
WifiManager
[env:local]
build_flags = ${env.build_flags}
-D NODEMCU -D NUM_LEDS=100
upload_protocol = esptool
[env:leds]
build_flags = ${env.build_flags}
-D WEMOSD1MINI
-D NUM_LEDS=300
upload_protocol = esptool
[env:ledsota100]
build_flags = ${env.build_flags}
-D WEMOSD1MINI
-D NUM_LEDS=100
upload_protocol = espota
upload_flags = --auth=ChangeMeNow
[env:ledsota300]
build_flags = ${env.build_flags}
-D NODEMCU
-D NUM_LEDS=300
upload_protocol = espota
upload_flags = --auth=ChangeMeNow
[env:strip]
build_flags = ${env.build_flags}
-D NODEMCU
-D LEDSTRIP
-D NUM_LEDS=300
upload_protocol = esptool
[env:stripota]
build_flags = ${env.build_flags}
-D NODEMCU
-D LEDSTRIP
-D NUM_LEDS=300
upload_protocol = espota
upload_flags = --auth=ChangeMeNow