espressif / esp-homekit-sdk

562 stars 105 forks source link

Ethernet Bridge Example - wrong spi pin assignment range for esp32-s2 #44

Open Sinclair81 opened 3 years ago

Sinclair81 commented 3 years ago

In /esp-homekit-sdk/examples/ethernet_bridge/main/Kconfig.projbuild the range for spi gpio-pins is 0 - 33. But the esp32-s2 support spi on gpio-pin 35, 36 and 37. As an example: my board is a FeatherS2 form Unexpected Maker. spi sck - gpio 36 spi mosi - gpio 35 spi miso - gpio 37

shahpiyushv commented 3 years ago

@Sinclair81 thanks for bringing this to notice. We will make this change soon, but you may also file a PR based on this esp-idf example if you want to :)