Re: RSB vs. Python 2.7

2022-09-09 Thread Chris Johns
On 9/9/2022 3:53 pm, Chris Johns wrote: > On 9/9/2022 3:50 pm, Sebastian Huber wrote: >> On 09.09.22 07:49, Chris Johns wrote: >>> On 9/9/2022 3:30 pm, Sebastian Huber wrote: Hello, it seems that the recent RSB no longer runs with Python 2.7: download:https://codeload.githu

[RSB] BSP buildset fixes

2022-09-09 Thread chrisj
Hi, These patches fix the BSP buildset files to use arch/bsp. There are some other fixes building the BSPs exposed. Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 1/3] rtems/packages: Remove lwip from the generic packages

2022-09-09 Thread chrisj
From: Chris Johns - Networking stacks are selected at the BSP level --- rtems/config/6/rtems-packages.bset | 1 - 1 file changed, 1 deletion(-) diff --git a/rtems/config/6/rtems-packages.bset b/rtems/config/6/rtems-packages.bset index edc7e6b..1f9d71d 100644 --- a/rtems/config/6/rtems-packages

[PATCH 2/3] rtems/bsps: Update the buildset defines to be arch/bsp

2022-09-09 Thread chrisj
From: Chris Johns - Remove the unused defines --- rtems/config/bsps/atsamv.bset | 2 +- rtems/config/bsps/beagleboneblack.bset | 2 +- rtems/config/bsps/erc32.bset| 4 +--- rtems/config/bsps/gr712rc.bset | 2 +- rtems/config/bsps/gr740.bset

[PATCH 3/3] rtems/jpeg: Update the checksum

2022-09-09 Thread chrisj
From: Chris Johns --- rtems/config/graphics/libjpeg-9a-1.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/graphics/libjpeg-9a-1.cfg b/rtems/config/graphics/libjpeg-9a-1.cfg index 04d2324..593bd31 100644 --- a/rtems/config/graphics/libjpeg-9a-1.cfg +++ b/r

[PATCH v2 3/3] rtems/jpeg: Update the checksum

2022-09-09 Thread chrisj
From: Chris Johns --- rtems/config/graphics/libjpeg-9a-1.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/graphics/libjpeg-9a-1.cfg b/rtems/config/graphics/libjpeg-9a-1.cfg index 04d2324..593bd31 100644 --- a/rtems/config/graphics/libjpeg-9a-1.cfg +++ b/r

[RSB v2] BSP buildset fixes

2022-09-09 Thread chrisj
Hi, These patches fix the BSP buildset files to use arch/bsp. There are some other fixes building the BSPs exposed. v2: Remove the extra defines from the bsp buildsets Chris ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/list

[PATCH v2 1/3] rtems/packages: Remove lwip from the generic packages

2022-09-09 Thread chrisj
From: Chris Johns - Networking stacks are selected at the BSP level --- rtems/config/6/rtems-packages.bset | 1 - 1 file changed, 1 deletion(-) diff --git a/rtems/config/6/rtems-packages.bset b/rtems/config/6/rtems-packages.bset index edc7e6b..1f9d71d 100644 --- a/rtems/config/6/rtems-packages

[PATCH v2 2/3] rtems/bsps: Update the buildset defines to be arch/bsp

2022-09-09 Thread chrisj
From: Chris Johns - Remove the unused defines --- rtems/config/bsps/atsamv.bset | 4 +--- rtems/config/bsps/beagleboneblack.bset | 4 +--- rtems/config/bsps/erc32.bset| 4 +--- rtems/config/bsps/gr712rc.bset | 4 +--- rtems/config/bsps/gr740.bset

Re: [PATCH rtems-lwip v3 1/7] lwip.py: Change arch and bsp check method

2022-09-09 Thread Kinsey Moore
On 9/9/2022 01:46, Chris Johns wrote: On 9/9/2022 2:52 am, Kinsey Moore wrote: At some point, the lwIP build needs to get better about managing which BSPs it supports, but that's not a task for you here and now. I think this is needed. Can lwip be built generically for a BSP that is not specifi

[PATCH] c-user: Add application config info directives

2022-09-09 Thread Sebastian Huber
Close #4267. Close #4269. --- c-user/config/directives.rst | 1197 c-user/config/index.rst|2 + c-user/config/intro.rst| 43 -- c-user/config/introduction.rst | 221 ++ 4 files changed, 1420 insertions(+), 43 deletions(-) create mode 1

Re: [PATCH rtems-lwip v3 1/7] lwip.py: Change arch and bsp check method

2022-09-09 Thread Chris Johns
On 9/9/2022 11:16 pm, Kinsey Moore wrote: > On 9/9/2022 01:46, Chris Johns wrote: >> On 9/9/2022 2:52 am, Kinsey Moore wrote: >>> At some point, the lwIP build needs to get better about managing which BSPs >>> it >>> supports, but that's not a task for you here and now. >> I think this is needed.

Re: [PATCH rtems-lwip v3 1/7] lwip.py: Change arch and bsp check method

2022-09-09 Thread Kinsey Moore
On 9/9/2022 16:29, Chris Johns wrote: On 9/9/2022 11:16 pm, Kinsey Moore wrote: On 9/9/2022 01:46, Chris Johns wrote: On 9/9/2022 2:52 am, Kinsey Moore wrote: At some point, the lwIP build needs to get better about managing which BSPs it supports, but that's not a task for you here and now. I

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

2022-09-09 Thread Duc Doan
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:

[PATCH rtems-lwip v4 1/7] lwip.py: Change arch and bsp check method

2022-09-09 Thread Duc Doan
--- lwip.py | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/lwip.py b/lwip.py index 84eef2c..2b0c205 100644 --- a/lwip.py +++ b/lwip.py @@ -99,6 +99,8 @@ def build(bld): drv_incl = [] arch_lib_path = rtems.arch_bsp_lib_path(bld.env

[PATCH rtems-lwip v4 2/7] lwip.py: Use ant_glob instead of os.walk()

2022-09-09 Thread Duc Doan
Updates #4714 --- lwip.py | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lwip.py b/lwip.py index 2b0c205..2d93d3e 100644 --- a/lwip.py +++ b/lwip.py @@ -110,15 +110,7 @@ def build(bld): source_files.extend(common_source_files) def walk_sources(path): -

[PATCH rtems-lwip v4 4/7] rtemslwip: Add STM32F4 lwipopts.h and netstart.c

2022-09-09 Thread Duc Doan
--- rtemslwip/stm32f4/lwipopts.h | 147 +++ rtemslwip/stm32f4/netstart.c | 73 + 2 files changed, 220 insertions(+) create mode 100644 rtemslwip/stm32f4/lwipopts.h create mode 100644 rtemslwip/stm32f4/netstart.c diff --git a/rtemslwip/stm32f4/lwi

[PATCH rtems-lwip v4 5/7] RTEMS port of lwIP for STM32 and STM32F4 BSP

2022-09-09 Thread Duc Doan
--- rtemslwip/stm32f4/stm32f4_lwip.c | 39 +++ rtemslwip/stm32f4/stm32f4_lwip.h | 34 ++ stm32/ethernetif.c | 107 +++ stm32/ethernetif.h | 7 ++ 4 files changed, 187 insertions(+) create mode 100644 rtemslwip/stm32f4/stm

[PATCH rtems-lwip v4 6/7] lwip.py: Add STM32 lwIP port to build

2022-09-09 Thread Duc Doan
--- lwip.py | 21 + 1 file changed, 21 insertions(+) diff --git a/lwip.py b/lwip.py index 2d93d3e..63e1f1d 100644 --- a/lwip.py +++ b/lwip.py @@ -92,6 +92,20 @@ common_source_files = [ 'rtemslwip/bsd_compat/rtems-kernel-program.c' ] +stm32_drv_incl = [ +'stm32', +

[PATCH rtems-lwip v4 3/7] Add STM32 Ethernet source

2022-09-09 Thread Duc Doan
This patch adds ST's Ethernet and lwIP port and DP83848 driver. The files are generated using STM32CubeIDE with STM32F4 Cube FW v1.27.1, under RTOS mode. --- COPYING.stm32 | 28 ++ ORIGIN.stm32 | 2 + stm32/driver/dp83848.c | 664 +++ stm32/driver/

[PATCH rtems-lwip v4 7/7] stm32: Convert to Unix line endings

2022-09-09 Thread Duc Doan
This patch converts all files imported from ST to Unix line endings using dos2unix. --- rtemslwip/stm32f4/lwipopts.h | 294 ++--- stm32/driver/dp83848.c | 1328 +++ stm32/driver/dp83848.h | 872 +++ stm32/ethernetif.c | 1972 +

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

2022-09-09 Thread Kinsey Moore
This addresses all my issues with the patch, looks good! Kinsey On 9/9/2022 18:13, Duc Doan wrote: 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.

[PATCH rtems-lwip] lwip.py: Allow lwIP to build against stale install

2022-09-09 Thread Kinsey Moore
This removes the default BSP include path from environment variables so that rtems-lwip can build even when there's a stale version with outdated headers installed in the BSP. --- lwip.py | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/lwip.py b/lwip.py

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

2022-09-09 Thread Joel Sherrill
I'd like to see another ack. Chris? Andrei? Christian? Poke them on discord please. On Fri, Sep 9, 2022, 9:05 PM Kinsey Moore wrote: > This addresses all my issues with the patch, looks good! > > > Kinsey > > On 9/9/2022 18:13, Duc Doan wrote: > > This patch set aims to port RTEMS lwIP for STM32

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

2022-09-09 Thread Kinsey Moore
I think this may also be waiting on the RTEMS patches to go in based on the prerequisite comment. On 9/9/2022 22:00, Joel Sherrill wrote: I'd like to see another ack. Chris? Andrei? Christian? Poke them on discord please. On Fri, Sep 9, 2022, 9:05 PM Kinsey Moore wrote: This addresses