diff --git a/main/eth.c b/main/eth.c index f5daaf3..c0ed1d5 100644 --- a/main/eth.c +++ b/main/eth.c @@ -16,7 +16,9 @@ static const char *TAG = "Ethernet"; static eth_on_connected_cb_t on_connected_cb = NULL; static eth_on_disconnected_cb_t on_disconnected_cb = NULL; static char *eth_hostname = NULL; +#if CONFIG_ETH_USE_ESP32_EMAC static esp_netif_t *eth_netif = NULL; +#endif void eth_set_on_connected_cb(eth_on_connected_cb_t cb) { diff --git a/sdkconfig.defaults.esp32c3 b/sdkconfig.defaults.esp32c3 new file mode 100644 index 0000000..e45a242 --- /dev/null +++ b/sdkconfig.defaults.esp32c3 @@ -0,0 +1,4 @@ +# This file was generated using idf.py save-defconfig. It can be edited manually. +# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration +# +CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y diff --git a/sdkconfig.defaults.esp32s3 b/sdkconfig.defaults.esp32s3 new file mode 100644 index 0000000..e45a242 --- /dev/null +++ b/sdkconfig.defaults.esp32s3 @@ -0,0 +1,4 @@ +# This file was generated using idf.py save-defconfig. It can be edited manually. +# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration +# +CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y