Skip to content

Commit 1bcdd8a

Browse files
author
Marcin Tomczyk
committed
UBLOX_EVK_ODIN_W2 fails in emac tests due to heap memory allocation failure, UBLOX_EVK_ODIN_W2 and MTB_UBLOX_ODIN_W2 haven't multicast implementation
1 parent daafb95 commit 1bcdd8a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

TESTS/network/emac/emac_test_multicast_filter.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ using namespace utest::v1;
2929
void test_emac_multicast_filter_cb(int opt)
3030
{
3131
static bool multicasts_are_filtered = true;
32-
unsigned char forward_addr[ETH_MAC_ADDR_LEN];
32+
static unsigned char forward_addr[ETH_MAC_ADDR_LEN];
3333
static bool send_request = true;
3434
static bool receive = true;
3535
static int no_response_cnt = 0;
@@ -71,7 +71,6 @@ void test_emac_multicast_filter_cb(int opt)
7171
receive = true;
7272
break;
7373

74-
7574
case 3:
7675
printf("STEP 3: set ipv4 multicast filter, test if input message is filtered\r\n\r\n");
7776
{

TESTS/network/emac/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ Case cases[] = {
7272
Case("EMAC unicast frame length", test_emac_unicast_frame_len),
7373
Case("EMAC unicast burst", test_emac_unicast_burst),
7474
Case("EMAC unicast long", test_emac_unicast_long),
75+
#if !defined(TARGET_UBLOX_EVK_ODIN_W2) && \
76+
!defined(TARGET_MTB_UBLOX_ODIN_W2)
7577
Case("EMAC multicast filter", test_emac_multicast_filter),
78+
#endif // !defined(TARGET_UBLOX_EVK_ODIN_W2) && !defined(TARGET_MTB_UBLOX_ODIN_W2)
7679
Case("EMAC memory", test_emac_memory)
7780
};
7881

0 commit comments

Comments
 (0)