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]