SDK2.2.0 for i.mx6ull, file fsl_enet.c, the code is:
static enet_handle_t *s_ENETHandle[FSL_FEATURE_SOC_ENET_COUNT] = {NULL};
the array size is 2, but in all other reletive arrays, the size is 3 whose first element means INVALID.
static ENET_Type *const s_enetBases[] = ENET_BASE_PTRS;
#define ENET_BASE_PTRS {(ENET_Type *)0u, ENET1, ENET2}
When using ENET2, s_ENETHandle will overflow
Hello,
Thanks for the catch Will fixed in next release.
Regards