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.

Hercules EMAC driver duplicate, but not use part of hdkif

Other Parts Discussed in Thread: HALCOGEN

Hello.

Why HalCoGen EMAC driver (emac. eventualy HL_emac.c depending on target CPU) duplicate incompatible hdkif interface like for LwIP?

LwIP  hercules demo use file v00.03.00\lwip-1.4.1\ports\hdk\netif\hdkif.c and don't use this duplicate code.

Therefore we can't use HalCoGen EMAC driver without modifications. Simply because it consume huge RAM area for pbuf_array.

Temporary solution is remove pbuf_array and hdkif_data declaration and remove EMACInstConfig and all following function. Could you add conditional compilation into HalCoGen to possibility use this driver directly for LwIP?

Jiri