[PATCH rtems-lwip v3 0/7] lwIP port for STM32F4 BSP

Duc Doan dtbpkmte at gmail.com
Thu Sep 8 16:34:37 UTC 2022


This patch set aims to port RTEMS lwIP for STM32F4 BSP. It also contains
generic drivers for STM32 chips in general. It is tested with a TCP echo
server application on STM32F407 Discovery Board.

Prerequisite: this patch set requires my STM32F4 patches to be applied
because it uses STM32 HAL.

v2:
- Changes the arch and BSP check to use rtems.arch and rtems.bsp
- Updates #4714: replace os.walk by ant_glob
- Group STM32F4 BSP-specific files together

v3:
- Make BSP check exact
- Add ORIGIN.stm32 and COPYING.stm32
- Imported files under stm32/ are now generated by STM32CubeIDE under
RTOS mode
- Remove unused lwip.c

Duc Doan (7):
  lwip.py: Change arch and bsp check method
  lwip.py: Use ant_glob instead of os.walk()
  Add STM32 Ethernet source
  rtemslwip: Add STM32F4 lwipopts.h and netstart.c
  RTEMS port of lwIP for STM32 and STM32F4 BSP
  lwip.py: Add STM32 lwIP port to build
  stm32: Convert to Unix line endings

 COPYING.stm32                    |  28 +
 ORIGIN.stm32                     |   2 +
 lwip.py                          |  66 ++-
 rtemslwip/stm32f4/lwipopts.h     | 147 +++++
 rtemslwip/stm32f4/netstart.c     |  74 +++
 rtemslwip/stm32f4/stm32f4_lwip.c |  14 +
 rtemslwip/stm32f4/stm32f4_lwip.h |   9 +
 stm32/driver/dp83848.c           | 664 +++++++++++++++++++++
 stm32/driver/dp83848.h           | 436 ++++++++++++++
 stm32/ethernetif.c               | 985 +++++++++++++++++++++++++++++++
 stm32/ethernetif.h               |  53 ++
 stm32/lwip.h                     |  78 +++
 12 files changed, 2532 insertions(+), 24 deletions(-)
 create mode 100644 COPYING.stm32
 create mode 100644 ORIGIN.stm32
 create mode 100644 rtemslwip/stm32f4/lwipopts.h
 create mode 100644 rtemslwip/stm32f4/netstart.c
 create mode 100644 rtemslwip/stm32f4/stm32f4_lwip.c
 create mode 100644 rtemslwip/stm32f4/stm32f4_lwip.h
 create mode 100644 stm32/driver/dp83848.c
 create mode 100644 stm32/driver/dp83848.h
 create mode 100644 stm32/ethernetif.c
 create mode 100644 stm32/ethernetif.h
 create mode 100644 stm32/lwip.h

-- 
2.37.2



More information about the devel mailing list