2020-02-26 11:17:56 +01:00
|
|
|
# Example PlatformIO Project Configuration Override
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# Copy to platformio_override.ini to activate overrides
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
# Please visit documentation: https://docs.platformio.org/page/projectconf.html
|
2020-02-24 16:42:24 +01:00
|
|
|
|
2020-08-25 17:23:17 +02:00
|
|
|
[platformio]
|
2020-11-17 21:49:39 +01:00
|
|
|
default_envs = WLED_tasmota_1M
|
2020-08-25 17:23:17 +02:00
|
|
|
|
2020-11-17 21:49:39 +01:00
|
|
|
[env:WLED_tasmota_1M]
|
2020-02-26 11:17:56 +01:00
|
|
|
board = esp01_1m
|
2020-11-17 21:49:39 +01:00
|
|
|
platform = ${common.platform_wled_default}
|
|
|
|
platform_packages = ${common.platform_packages}
|
2021-02-20 23:21:55 +01:00
|
|
|
board_build.ldscript = ${common.ldscript_1m128k}
|
2021-08-02 05:23:05 +02:00
|
|
|
lib_deps = ${esp8266.lib_deps}
|
2020-11-17 21:49:39 +01:00
|
|
|
build_unflags = ${common.build_unflags}
|
|
|
|
build_flags = ${common.build_flags_esp8266}
|
|
|
|
; *********************************************************************
|
2020-11-18 00:54:41 +01:00
|
|
|
; *** Use custom settings from file my_config.h
|
|
|
|
-DWLED_USE_MY_CONFIG
|
2020-11-17 21:49:39 +01:00
|
|
|
; *********************************************************************
|
2022-03-14 18:23:53 +01:00
|
|
|
;
|
|
|
|
;
|
|
|
|
; *** To use the below defines/overrides, copy and paste each onto it's own line just below build_flags in the section above.
|
|
|
|
;
|
|
|
|
; disable specific features
|
2020-12-01 13:33:22 +01:00
|
|
|
; -D WLED_DISABLE_OTA
|
|
|
|
; -D WLED_DISABLE_ALEXA
|
2020-11-17 21:49:39 +01:00
|
|
|
; -D WLED_DISABLE_BLYNK
|
2020-12-01 13:33:22 +01:00
|
|
|
; -D WLED_DISABLE_HUESYNC
|
2020-11-17 21:49:39 +01:00
|
|
|
; -D WLED_DISABLE_INFRARED
|
2020-12-01 13:33:22 +01:00
|
|
|
; -D WLED_DISABLE_WEBSOCKETS
|
2020-02-28 18:53:38 +01:00
|
|
|
; PIN defines - uncomment and change, if needed:
|
|
|
|
; -D LEDPIN=2
|
|
|
|
; -D BTNPIN=0
|
2020-09-20 16:12:46 +02:00
|
|
|
; -D TOUCHPIN=T0
|
2020-11-29 20:47:13 +01:00
|
|
|
; -D IRPIN=4
|
2020-02-28 18:53:38 +01:00
|
|
|
; -D RLYPIN=12
|
|
|
|
; -D RLYMDE=1
|
|
|
|
; digital LED strip types - uncomment only one ! - this will disable WS281x / SK681x support
|
|
|
|
; -D USE_APA102
|
|
|
|
; -D USE_WS2801
|
|
|
|
; -D USE_LPD8806
|
2020-08-25 10:32:32 +02:00
|
|
|
; PIN defines for 2 wire LEDs
|
2020-11-17 21:49:39 +01:00
|
|
|
-D CLKPIN=0
|
|
|
|
-D DATAPIN=2
|
2021-05-05 03:45:05 +02:00
|
|
|
; to drive analog LED strips (aka 5050) hardware configuration is no longer necessary
|
|
|
|
; configure the settings in the UI as follows (hard):
|
|
|
|
; for the Magic Home LED Controller use PWM pins 5,12,13,15
|
|
|
|
; for the H801 controller use PINs 15,13,12,14 (W2 = 04)
|
2021-08-02 05:23:05 +02:00
|
|
|
; for the BW-LT11 controller use PINs 12,4,14,5
|
2022-03-14 18:23:53 +01:00
|
|
|
;
|
|
|
|
; set the name of the module - make sure there is a quote-backslash-quote before the name and a backslash-quote-quote after the name
|
|
|
|
; -D SERVERNAME="\"WLED\""
|
|
|
|
;
|
|
|
|
; set the number of LEDs
|
|
|
|
; -D DEFAULT_LED_COUNT=30
|
|
|
|
;
|
|
|
|
; set milliampere limit when using ESP pin to power leds
|
2022-03-16 00:35:49 +01:00
|
|
|
; -D ABL_MILLIAMPS_DEFAULT=850
|
2022-03-14 18:23:53 +01:00
|
|
|
;
|
|
|
|
; enable IR by setting remote type
|
2022-03-16 00:17:49 +01:00
|
|
|
; -D IRTYPE=0 ;0 Remote disabled | 1 24-key RGB | 2 24-key with CT | 3 40-key blue | 4 40-key RGB | 5 21-key RGB | 6 6-key black | 7 9-key red | 8 JSON remote
|
|
|
|
;
|
|
|
|
; set default color order of your led strip
|
|
|
|
; -D DEFAULT_LED_COLOR_ORDER=COL_ORDER_GRB
|