lwIP | stm32h7: Add Ethernet driver for STM32H743ZI Nucleo (!37)
Kinsey Moore (@opticron)
gitlab at rtems.org
Sat Jan 24 06:16:48 UTC 2026
Kinsey Moore started a new discussion on stm32h7/ethernetif.c: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/37#note_139883
> +#ifdef _TRACE_MODE_
> + #define TRACE_PRINTF(...) printf(__VA_ARGS__)
> +#else
> + #define TRACE_PRINTF(...) do { } while (0)
> +#endif
> #endif
>
> /* USER CODE END 0 */
>
> /* Private define ------------------------------------------------------------*/
> /* The time to block waiting for input. */
> +#ifndef __rtems__
> #define TIME_WAITING_FOR_INPUT ( portMAX_DELAY )
> +#else
> +#define TIME_WAITING_FOR_INPUT ( 0 ) /* RTEMS: 0 = wait forever */
> +#endif
It is simpler to define `portMAX_DELAY` to 0 in an `#ifdef` block above.
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/37#note_139883
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260124/30ecfe67/attachment.htm>
More information about the bugs
mailing list