add SOC_EMAC_SUPPORTED in soc_caps.h

This commit is contained in:
morris 2020-02-24 11:15:36 +08:00
parent c65b67115a
commit ea8d6318af
2 changed files with 4 additions and 2 deletions

View file

@ -14,8 +14,9 @@
#include "lwip/sockets.h"
#include "ping/ping_sock.h"
#include "esp32/rom/md5_hash.h"
#include "soc/soc_caps.h"
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2)
#if SOC_EMAC_SUPPORTED
static const char *TAG = "esp32_eth_test";
@ -503,4 +504,4 @@ TEST_CASE("esp32 ethernet download test", "[ethernet][test_env=UT_T2_Ethernet][t
vEventGroupDelete(eth_event_group);
}
#endif
#endif // SOC_EMAC_SUPPORTED

View file

@ -10,3 +10,4 @@
#define SOC_BT_SUPPORTED 1
#define SOC_SDIO_SLAVE_SUPPORTED 1
#define SOC_CAN_SUPPORTED 1
#define SOC_EMAC_SUPPORTED 1