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.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs
  • lwIP | stm3... Claudio Grasso (@ClaudioGrasso)
    • Re: lw... Kinsey Moore (@opticron)
    • Re: lw... Kinsey Moore (@opticron)
    • Re: lw... Supertoken (@project_491_bot_5f4dfb224b936e57b5f7b6883423c5ed)
    • Re: lw... Supertoken (@project_491_bot_5f4dfb224b936e57b5f7b6883423c5ed)
    • Re: lw... Claudio Grasso (@ClaudioGrasso)
      • Re... Kinsey Moore (@opticron)
        • ... Claudio Grasso (@ClaudioGrasso)
          • ... Kinsey Moore (@opticron)
            • ... Kinsey Moore (@opticron)
              • ... Claudio Grasso (@ClaudioGrasso)

Reply via email to