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

Duc Doan dtbpkmte at gmail.com
Fri Sep 9 23:13:07 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

v4:
- Fix improper code addition
- Fix aarch64 BSP list in lwip.py
- Remove unused lwip.h

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                          |  69 ++-
 rtemslwip/stm32f4/lwipopts.h     | 147 +++++
 rtemslwip/stm32f4/netstart.c     |  73 +++
 rtemslwip/stm32f4/stm32f4_lwip.c |  39 ++
 rtemslwip/stm32f4/stm32f4_lwip.h |  34 ++
 stm32/driver/dp83848.c           | 664 +++++++++++++++++++++
 stm32/driver/dp83848.h           | 436 ++++++++++++++
 stm32/ethernetif.c               | 986 +++++++++++++++++++++++++++++++
 stm32/ethernetif.h               |  54 ++
 11 files changed, 2508 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

-- 
2.37.2



More information about the devel mailing list