forked from toblum/McLighting
-
Notifications
You must be signed in to change notification settings - Fork 30
/
platformio.ini
97 lines (92 loc) · 3.17 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
95
96
97
; 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]
src_dir = ./Arduino/McLighting/
data_dir = ./Arduino/McLighting/data/
default_envs = nodemcuv2
description = The ESP8266 based multi-client lighting gadget
[common]
# ------------------------------------------------------------------------------
# PLATFORM:
# !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266
# We use Arduino Core 2.5.0 (platformIO 2.0.4) as default
#
# arduino core 2.3.0 = platformIO 1.5.0
# arduino core 2.4.0 = platformIO 1.6.0
# arduino core 2.4.1 = platformIO 1.7.3
# arduino core 2.4.2 = platformIO 1.8.0
# arduino core 2.5.0 = platformIO 2.0.4
# arduino core 2.5.1 = platformIO 2.1.1
# arduino core 2.5.2 = platformIO 2.2.3
# arduino core 2.6.1 = platformIO 2.3.0
# arduino core 2.6.2 = platformIO 2.3.1
# arduino core 2.6.3 = platformIO 2.3.2
# arduino core stage = platformIO feature#stage
# ------------------------------------------------------------------------------
arduino_core_2_3_0 = [email protected]
arduino_core_2_4_0 = [email protected]
arduino_core_2_4_1 = [email protected]
arduino_core_2_4_2 = [email protected]
arduino_core_2_5_0 = [email protected]
arduino_core_2_5_1 = [email protected]
arduino_core_2_5_2 = [email protected]
arduino_core_2_6_1 = [email protected]
arduino_core_2_6_2 = [email protected]
arduino_core_2_6_3 = [email protected]
arduino_core_stage = https://github.com/platformio/platform-espressif8266.git#feature/stage
framework = arduino
;platform = ${common.arduino_core_2_4_2}
platform = ${common.arduino_core_2_6_3}
build_flags =
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
-DMQTT_MAX_PACKET_SIZE=512 ; PubSubClient Specific flags
-w ; supress all warnings
monitor_speed = 115200
board_build.flash_mode = dio
upload_speed = 115200
upload_resetmethod = nodemcu
lib_deps =
WiFiManager
AsyncMqttClient
ArduinoJson
WS2812FX
NeoPixelBus
WebSockets
ESPAsyncE131
ESPAsyncUDP
https://github.com/FabLab-Luenen/GY33_MCU
Brzo I2C
IRremoteESP8266
FastLED
[env:esp01_1m]
board = esp01_1m
framework = ${common.framework}
platform = ${common.platform}
board_build.f_cpu = 160000000L
build_flags =
${common.build_flags} -D D1=2
-Wl,-Teagle.flash.1m128.ld ; Required for core > v2.5.0 or staging version
monitor_speed = ${common.monitor_speed}
upload_speed = ${common.upload_speed}
upload_resetmethod = ${common.upload_resetmethod}
board_build.flash_mode = dout
lib_deps = ${common.lib_deps}
[env:nodemcuv2]
board = nodemcuv2
framework = ${common.framework}
platform = ${common.platform}
board_build.f_cpu = 160000000L
build_flags =
${common.build_flags}
-Wl,-Teagle.flash.4m2m.ld ; Required for core > v2.5.0 or staging version
monitor_speed = ${common.monitor_speed}
upload_speed = ${common.upload_speed}
upload_resetmethod = ${common.upload_resetmethod}
lib_deps = ${common.lib_deps}