summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/Kconfig2
-rw-r--r--src/driver/ccs811.cc4
-rw-r--r--src/driver/soft_i2c.cc4
3 files changed, 1 insertions, 9 deletions
diff --git a/src/driver/Kconfig b/src/driver/Kconfig
index 4c87474..5fe4bad 100644
--- a/src/driver/Kconfig
+++ b/src/driver/Kconfig
@@ -135,7 +135,6 @@ default "i2c"
config driver_softi2c_scl
string "SCL Pin"
-default "d7" if arch_esp8266
default "pc5" if arch_arduino_nano
default "p1_7" if arch_msp430fr5969lp
default "p5_1" if arch_msp430fr5994lp
@@ -144,7 +143,6 @@ depends on driver_softi2c
config driver_softi2c_sda
string "SDA Pin"
-default "d6" if arch_esp8266
default "pc4" if arch_arduino_nano
default "p1_6" if arch_msp430fr5969lp
default "p5_0" if arch_msp430fr5994lp
diff --git a/src/driver/ccs811.cc b/src/driver/ccs811.cc
index 531dadb..0206a96 100644
--- a/src/driver/ccs811.cc
+++ b/src/driver/ccs811.cc
@@ -11,10 +11,6 @@
#include "driver/soft_i2c.h"
#endif
-#ifdef MULTIPASS_ARCH_esp8266
-#define nWAKE GPIO::d5
-#endif
-
void CCS811::init()
{
startFirmware();
diff --git a/src/driver/soft_i2c.cc b/src/driver/soft_i2c.cc
index 83aa20c..ada0481 100644
--- a/src/driver/soft_i2c.cc
+++ b/src/driver/soft_i2c.cc
@@ -246,9 +246,7 @@ SoftI2C i2c(GPIO::p5_0, GPIO::p5_1, GPIO::p8_2, GPIO::p8_3);
#error "softi2c_pullup = external not supported on this architecture"
#endif /* MULTIPASS_ARCH_* */
#else
-#ifdef MULTIPASS_ARCH_esp8266
-SoftI2C i2c(GPIO::d6, GPIO::d7);
-#elif MULTIPASS_ARCH_arduino_nano
+#if MULTIPASS_ARCH_arduino_nano
SoftI2C i2c(GPIO::pc4, GPIO::pc5);
#elif MULTIPASS_ARCH_blinkenrocket
SoftI2C i2c(GPIO::pc4, GPIO::pc5);