From 17b4ff7a1f1d3f71509cd3e310ecc70cf9c7d2c9 Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Sat, 31 Oct 2020 21:41:44 +0100 Subject: [PATCH] Add build configuration for SP501A controller (#1303) This controller uses ESP8285 with 2MB built-in flash. Features: - LED string is connected to GPIO3, - On/off button connected to GPIO1, - Built-in transistors to drive non-addressable R-G-B-Wc-Ww strips (by default not connected, only pads are present). Signed-off-by: Lech Perczak --- platformio.ini | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/platformio.ini b/platformio.ini index 825584ef3..d545e4c42 100644 --- a/platformio.ini +++ b/platformio.ini @@ -362,6 +362,12 @@ lib_ignore = ESPAsyncUDP platform = espressif32@1.12.4 +[env:sp501a] +board = esp_wroom_02 +platform = ${common.platform_wled_default} +board_build.ldscript = ${common.ldscript_2m1m} +build_flags = ${common.build_flags_esp8266} -D LEDPIN=3 -D BTNPIN=1 + # ------------------------------------------------------------------------------ # travis test board configurations # ------------------------------------------------------------------------------