| 
									
										
										
										
											2018-11-08 22:57:50 +00:00
										 |  |  | ; PlatformIO Project Configuration File | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | ; Please visit documentation: https://docs.platformio.org/page/projectconf.html | 
					
						
							| 
									
										
										
										
											2018-11-08 22:57:50 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | [platformio] | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | src_dir = ./wled00 | 
					
						
							|  |  |  | data_dir = ./wled00/data | 
					
						
							|  |  |  | lib_extra_dirs = ./wled00/src | 
					
						
							| 
									
										
										
										
											2018-12-06 15:31:52 +00:00
										 |  |  | env_default = nodemcuv2 | 
					
						
							|  |  |  | ; env_default = esp01 | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | ; env_default = esp01_1m | 
					
						
							|  |  |  | ; env_default = d1_mini | 
					
						
							|  |  |  | ; env_default = esp32dev | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | [common] | 
					
						
							|  |  |  | framework = arduino | 
					
						
							|  |  |  | monitor_speed = 115200 | 
					
						
							|  |  |  | board_build.flash_mode = dout | 
					
						
							|  |  |  | upload_speed = 921600 | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  | build_flags = | 
					
						
							| 
									
										
										
										
											2018-12-06 15:31:52 +00:00
										 |  |  |   ; -D VERSION=0.8.2 | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  |   ; -D DEBUG | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | # TODO replace libs in /lib with managed libs in here if possible. | 
					
						
							| 
									
										
										
										
											2018-12-06 15:31:52 +00:00
										 |  |  | # If they are not changed it's just a matter of setting the correct version and change the import statement | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | lib_deps_external = | 
					
						
							|  |  |  |   #Blynk@0.5.4 | 
					
						
							|  |  |  |   #E131@1.0.0 | 
					
						
							|  |  |  |   #webserver | 
					
						
							|  |  |  |   FastLED@3.2.1 | 
					
						
							| 
									
										
										
										
											2019-01-09 21:52:42 +00:00
										 |  |  |   NeoPixelBus@2.4.1 | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   #PubSubClient@2.7 | 
					
						
							|  |  |  |   #Time@1.5 | 
					
						
							|  |  |  |   #Timezone@1.2.1 | 
					
						
							|  |  |  |   #WS2812FX@1.1.2 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  | [common:esp8266] | 
					
						
							|  |  |  | platform = espressif8266@1.8.0 | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | build_flags = | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  |   -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [common:esp8266_512k] | 
					
						
							|  |  |  | platform = espressif8266@1.7.0 | 
					
						
							|  |  |  | build_flags = | 
					
						
							|  |  |  |   -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH | 
					
						
							| 
									
										
										
										
											2018-11-16 18:59:00 +00:00
										 |  |  |   ; -D WLED_DISABLE_MOBILE_UI | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  |   -D WLED_DISABLE_OTA | 
					
						
							|  |  |  |   -D WLED_DISABLE_ALEXA | 
					
						
							|  |  |  |   ; -D WLED_DISABLE_BLYNK | 
					
						
							|  |  |  |   ; -D WLED_DISABLE_CRONIXIE | 
					
						
							| 
									
										
										
										
											2018-11-16 18:59:00 +00:00
										 |  |  |   -D WLED_DISABLE_HUESYNC | 
					
						
							| 
									
										
										
										
											2018-12-06 15:31:52 +00:00
										 |  |  |   -D WLED_DISABLE_INFRARED | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  | [common:esp32] | 
					
						
							|  |  |  | platform = espressif32@1.5.0 | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | build_flags = | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  |   -D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH | 
					
						
							|  |  |  |   -D ARDUINO_ARCH_ESP32 | 
					
						
							|  |  |  |   -D WORKAROUND_ESP32_BITBANG | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # see: http://docs.platformio.org/en/latest/platforms/espressif8266.html | 
					
						
							|  |  |  | [env:nodemcuv2] | 
					
						
							|  |  |  | board = nodemcuv2 | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  | platform = ${common:esp8266.platform} | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | monitor_speed = ${common.monitor_speed} | 
					
						
							|  |  |  | upload_speed = ${common.upload_speed} | 
					
						
							|  |  |  | framework = ${common.framework} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | build_flags = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.build_flags} | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  |   ${common:esp8266.build_flags} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | lib_deps = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.lib_deps_external} | 
					
						
							| 
									
										
										
										
											2018-12-06 15:31:52 +00:00
										 |  |  |   IRremoteESP8266@2.5.3 | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | [env:d1_mini] | 
					
						
							|  |  |  | board = d1_mini | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  | platform = ${common:esp8266.platform} | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | monitor_speed = ${common.monitor_speed} | 
					
						
							|  |  |  | upload_speed = ${common.upload_speed} | 
					
						
							|  |  |  | framework = ${common.framework} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | build_flags = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.build_flags} | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  |   ${common:esp8266.build_flags} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | lib_deps = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.lib_deps_external} | 
					
						
							| 
									
										
										
										
											2018-12-06 15:31:52 +00:00
										 |  |  |   IRremoteESP8266@2.5.3 | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | [env:esp01_1m] | 
					
						
							|  |  |  | board = esp01_1m | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  | platform = ${common:esp8266.platform} | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | monitor_speed = ${common.monitor_speed} | 
					
						
							|  |  |  | upload_speed = ${common.upload_speed} | 
					
						
							|  |  |  | framework = ${common.framework} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | build_flags = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.build_flags} | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  |   ${common:esp8266.build_flags} | 
					
						
							| 
									
										
										
										
											2018-12-06 15:31:52 +00:00
										 |  |  |   # disable IR because there is no pin for it | 
					
						
							|  |  |  |   -D WLED_DISABLE_INFRARED | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | lib_deps = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.lib_deps_external} | 
					
						
							| 
									
										
										
										
											2018-11-08 22:57:50 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | [env:esp01] | 
					
						
							|  |  |  | board = esp01 | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  | platform = ${common:esp8266_512k.platform} | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | monitor_speed = ${common.monitor_speed} | 
					
						
							|  |  |  | upload_speed = ${common.upload_speed} | 
					
						
							|  |  |  | framework = ${common.framework} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | build_flags = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.build_flags} | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  |   ${common:esp8266_512k.build_flags} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | lib_deps = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.lib_deps_external} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | # see: http://docs.platformio.org/en/latest/platforms/espressif32.html | 
					
						
							|  |  |  | [env:esp32dev] | 
					
						
							|  |  |  | board = esp32dev | 
					
						
							| 
									
										
										
										
											2018-11-14 19:21:36 +00:00
										 |  |  | platform = ${common:esp32.platform} | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  | monitor_speed = ${common.monitor_speed} | 
					
						
							|  |  |  | upload_speed = ${common.upload_speed} | 
					
						
							|  |  |  | framework = ${common.framework} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  | build_flags = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.build_flags} | 
					
						
							|  |  |  |   ${common:esp32.build_flags} | 
					
						
							| 
									
										
										
										
											2018-11-08 22:57:50 +00:00
										 |  |  | lib_deps = | 
					
						
							| 
									
										
										
										
											2018-11-13 23:05:06 +00:00
										 |  |  |   ${common.lib_deps_external} | 
					
						
							| 
									
										
										
										
											2018-11-11 18:34:19 +00:00
										 |  |  |    |