A small bug about enet driver in imx6ull sdk

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

A small bug about enet driver in imx6ull sdk

883 次查看
Xi-nanWang
Contributor II

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 

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

870 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Thanks for the catch Will fixed in next release.

Regards

0 项奖励
回复