From 35a98377f52caf5ac37c2e932b9f2d4c9196c195 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 25 Dec 2021 18:09:33 +0100 Subject: Remove esp8266 support in favor of ESP8266 RTOS SDK --- src/driver/Kconfig | 2 -- src/driver/ccs811.cc | 4 ---- src/driver/soft_i2c.cc | 4 +--- 3 files changed, 1 insertion(+), 9 deletions(-) (limited to 'src/driver') 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); -- cgit v1.2.3