lwIP | stm32h7: Add Ethernet driver for STM32H743ZI Nucleo (!37)
Claudio Grasso (@ClaudioGrasso)
gitlab at rtems.org
Tue Jan 20 15:51:22 UTC 2026
Claudio Grasso created a merge request: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/37
Project:Branches: ClaudioGrasso/lw-ip-stm-32-h-743-zi-nucleo:pr/stm32h7-driver to rtems/pkg/rtems-lwip:main
Author: Claudio Grasso
## Overview
This MR adds a new Ethernet driver for the STM32H743ZI Nucleo board. It is based on the STMicroelectronics HAL templates but has been significantly refactored for RTEMS and LwIP.
## Features
- **Zero-Copy RX**: Implements a custom pbuf pool in D2-SRAM to allow DMA to write directly into LwIP buffers.
- **Hardware Checksums**: Offloads IP/TCP/UDP checksum calculation to the STM32H7 hardware.
- **Alignment Handling**: Correctly implements `ETH_PAD_SIZE=2` to ensure the IP header is 32-bit aligned, preventing hardware usage faults on the Cortex-M7.
- **Manual Descriptor Management**: Reliable RX/TX polling logic with robust error handling for RBU (Receive Buffer Unavailable) states.
## Hardware Tested
- STM32H743ZI Nucleo-144 board.
## Changes included:
- New BSP definition: defs/bsps/arm/nucleo-h743zi.json.
- Core driver and PHY logic in `rtemslwip/stm32h7/`.
- Integration test app in `rtemslwip/test/stm32h7_test/` (includes UDP echo for verification).
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-lwip/-/merge_requests/37
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/20260120/689264eb/attachment.htm>
More information about the bugs
mailing list