From dc890618e57453c333dae99a6c44e8cce62a5525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 19 Dec 2016 12:07:36 +0100 Subject: [PATCH] Added hardware defines to use from Arduino IDE --- CHANGELOG.md | 1 + code/src/config/hardware.h | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a214c344..dc447d3c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Added - Added last-modified header to static contents - Added support for multi-button boards (SONOFF_4CH) +- Added support for WorkChoice ecoPlug (ECOPLUG). Thanks to David Myers - Force password changing if it's the default one - Comment out hardware selection in hardware.h if using Arduino IDE diff --git a/code/src/config/hardware.h b/code/src/config/hardware.h index babbfea0..249a21f6 100644 --- a/code/src/config/hardware.h +++ b/code/src/config/hardware.h @@ -1,3 +1,21 @@ +//-------------------------------------------------------------------------------- +// HARDWARE +// This setting is normally provided by PlatformIO +// Uncomment the appropiate line to build from the Arduino IDE +//-------------------------------------------------------------------------------- + +//#define NODEMCUV2 +//#define SONOFF +//#define SONOFF_TH +//#define SONOFF_POW +//#define SONOFF_DUAL +//#define SONOFF_4CH +//#define SLAMPHER +//#define S20 +//#define ESP_RELAY_BOARD +//#define ECOPLUG +//#define ESPURNA + // ----------------------------------------------------------------------------- // NODEMCUv2 development board // -----------------------------------------------------------------------------