From 93d27e2c64bc123a36c57f57c278b8840d71c243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 24 Mar 2018 12:27:30 +0100 Subject: [PATCH] Add env for Tarpuna Shield --- code/espurna/config/hardware.h | 4 ---- code/platformio.ini | 10 ++++++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index ba6b209d..dc43b467 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -102,10 +102,6 @@ #define MANUFACTURER "WEMOS" #define DEVICE "D1_TARPUNA_SHIELD" - // Relays - #define RELAY1_PIN 12 - #define RELAY1_TYPE RELAY_TYPE_NORMAL - // ----------------------------------------------------------------------------- // ESPurna // ----------------------------------------------------------------------------- diff --git a/code/platformio.ini b/code/platformio.ini index 1f8a8858..615e9f5a 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -190,6 +190,16 @@ build_flags = ${common.build_flags} -DTINKERMAN_ESPURNA_SWITCH monitor_baud = 115200 extra_scripts = ${common.extra_scripts} +[env:wemos-d1-tarpunashield] +platform = ${common.platform} +framework = arduino +board = esp12e +lib_deps = ${common.lib_deps} +lib_ignore = ${common.lib_ignore} +build_flags = ${common.build_flags} -DWEMOS_D1_TARPUNA_SHIELD +monitor_baud = 115200 +extra_scripts = ${common.extra_scripts} + # ------------------------------------------------------------------------------ [env:itead-sonoff-basic]