Skip to content

Replace xil_printf with LWIP_DEBUGF(NETIF_DEBUG,...) #362

@davidalex792

Description

@davidalex792

Hello, would like to make a suggestion if possible,
most of Lwip from Xilinx uses xil_printf, however this affects embedded projects that replaces this function, resulting in ugly mixed characters output.
For instance, xaxiemacif_physpeed.c(259) replace:
xil_printf("Link error, temp = %x\r\n", temp);
with:
LWIP_DEBUGF(NETIF_DEBUG, ("Link error, temp = %x\r\n", temp));
This way output from library can be enabled only when needed using BSP configuration.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions