This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294NCPDT: Double initialization of g_TxDescList.ui32Read in tiva-tm4c129.c

Part Number: TM4C1294NCPDT

Good Morning!

In file "TivaWare_C_Series-2.2.0.295/third_party/lwip-1.4.1/ports/tiva-tm4c129/netif/tiva-tm4c129.c"
the fields "ui32Read" and "ui32Write" are 2 times (in lines 245-246 and 279-280) initialized for transmission
"g_TxDescList" and 0 times for reception "g_RxDescList":
------------------------------------------------------------------------------
$ grep -nF -e g_TxDescList tiva-tm4c129.c
200:tDescriptorList g_TxDescList = {
207:    0, &g_TxDescList, &g_RxDescList
245:   g_TxDescList.ui32Read = 0;
246:   g_TxDescList.ui32Write = 0;
279:  g_TxDescList.ui32Read = 0;
280:  g_TxDescList.ui32Write = 0;
$ grep -nF -e g_RxDescList tiva-tm4c129.c
203:tDescriptorList g_RxDescList = {
207:    0, &g_TxDescList, &g_RxDescList
$
------------------------------------------------------------------------------

Best wishes,

Piotr Kasprzyk