A small bug about enet driver in imx6ull sdk

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

A small bug about enet driver in imx6ull sdk

937件の閲覧回数
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 返信

924件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Thanks for the catch Will fixed in next release.

Regards

0 件の賞賛
返信