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

Duc Doan dtbpkmte at gmail.com
Tue Sep 6 16:20:27 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

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

 lwip.py                          |  66 ++-
 rtemslwip/stm32f4/lwipopts.h     | 151 +++++
 rtemslwip/stm32f4/netstart.c     |  75 +++
 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               | 989 +++++++++++++++++++++++++++++++
 stm32/ethernetif.h               |  53 ++
 stm32/lwip.c                     | 207 +++++++
 stm32/lwip.h                     |  78 +++
 11 files changed, 2718 insertions(+), 24 deletions(-)
 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.c
 create mode 100644 stm32/lwip.h

-- 
2.37.2



More information about the devel mailing list