diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-12-25 18:09:33 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-12-25 18:09:33 +0100 |
commit | 35a98377f52caf5ac37c2e932b9f2d4c9196c195 (patch) | |
tree | d87920e581a25b3ef30b4cce967cd8842db5c1eb /src/driver | |
parent | 16b712e0233cfd7b60668927067885f7e3551b92 (diff) |
Remove esp8266 support in favor of ESP8266 RTOS SDK
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/Kconfig | 2 | ||||
-rw-r--r-- | src/driver/ccs811.cc | 4 | ||||
-rw-r--r-- | src/driver/soft_i2c.cc | 4 |
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); |