File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,3 @@ USEPKG += driver_atwinc15x0
1717FEATURES_REQUIRED += periph_gpio
1818FEATURES_REQUIRED += periph_gpio_irq
1919FEATURES_REQUIRED += periph_spi
20-
21- # esp8266 and esp32 vendor code and atwinc15x0 both define conflicting
22- # spi_flash_{read, write} functions.
23- # esp8266 and esp32 already have build-in WiFi, so it's unlikely to ever
24- # use this driver - just blacklist the architecture.
25- FEATURES_BLACKLIST += arch_esp8266
26- FEATURES_BLACKLIST += arch_esp32
Original file line number Diff line number Diff line change @@ -40,8 +40,10 @@ sint8 nm_bus_init(void *arg)
4040 assert (atwinc15x0 );
4141 assert (gpio_is_valid (atwinc15x0 -> params .ssn_pin ));
4242
43+ #if !defined(CPU_ESP32 ) && !defined(CPU_ESP8266 )
4344 gpio_init (atwinc15x0 -> params .ssn_pin , GPIO_OUT );
4445 gpio_set (atwinc15x0 -> params .ssn_pin );
46+ #endif
4547
4648 nm_bsp_reset ();
4749 nm_bsp_sleep (1 );
You can’t perform that action at this time.
0 commit comments