[PATCH v3 2/2] update README with instructions for stm32 patch

2021-10-24 Thread Robin Mueller
--- README.md | 10 ++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index ebbef12..3653b67 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,16 @@ It is recommended that the user supplies the `lwipopts.h` configuration file. Th contain template option files to g

Re: [PATCH v2] STM32 lwIP addition and CMake support

2021-09-09 Thread Robin Mueller
Hi Shiro, So you mean, retain the STM32 file unchanged in the source tree and then applying the patch? Or copy it from somewhere and then apply the patch? I thought of that option as well. The only issue I see here is that I merged the (example) files provided by STM32 so that one file can be

[PATCH] STM32H7 ethernet pin corrections

2021-07-16 Thread Robin Mueller
These patches were submitted a few months ago, but it was found out that the default-by-family: [] were missing in the GPIO .yml lines. This was fixed in this patch. This patch accounts for different pins for the ETH peripheral on STM32H7 devices. For example, the Nucleo H743ZI has slightly diffe

[PATCH v2] setbuilder minor list-host option

2021-07-16 Thread Robin Mueller
This adds a way to print the host triplet Can be useful for cross-compiling toolchains --- Change from v1 to v2: Removed "Displaying" in printout on first line. source-builder/sb/setbuilder.py | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source-builder/sb/set

[PATCH rtems-lwip v2] STM32 lwIP addition

2021-04-28 Thread Robin Mueller
This patch adds the STM32H7 / NUCLEO-H743ZI lwIP port. It also improves the architecture to make integration of new BSPs easier. The patch continues the wscript file to allow installing the lwIP support similar to how a RTEMS BSP is installed. https://github.com/rmspacefish/rtems-stm32-lwip is a s

[PATCH] CMake support for the STM32 lwIP addition

2021-04-27 Thread Robin Mueller
This patch adds full CMake support for the lwIP support. It can be easily extended to other architectures as well. More information can also be found in the README, which also specifies how to build with CMake. The waf build system still needs to be adapted to perform the same function. --- CMake

[PATCH] STM32 lwIP addition

2021-04-27 Thread Robin Mueller
This patch adds the STM32H7 / NUCLEO-H743ZI lwIP port. It also improves the architecture to make integration of new BSPs easier. https://github.com/rmspacefish/rtems-stm32-lwip is a self-contained repository to test the lwIP integration for the arm/stm32h7 and arm/nucleo-h743zi BSP. The STM32 por

[PATCH v2] STM32 lwIP addition and CMake support

2021-04-26 Thread Robin Mueller
This patch adds CMake support to RTEMS lwIP. It also improves the architecture to make integration of new BSPs easier. https://github.com/rmspacefish/rtems-stm32-lwip is a self-contained repository to test the lwIP integration for the arm/stm32h7 and arm/nucleo-h743zi BSP. The STM32 port includes

[PATCH] Implementation for STM32 HAL_GetTick using RTEMS

2021-04-26 Thread Robin Mueller
Uses configured millisecond per ticks --- bsps/arm/stm32h7/start/bspstart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bsps/arm/stm32h7/start/bspstart.c b/bsps/arm/stm32h7/start/bspstart.c index 7ae39f1410..75af44352f 100644 --- a/bsps/arm/stm32h7/start/bspstart.c +++ b

[PATCH 3/3] merge error fixes

2021-04-24 Thread Robin Mueller
A function was defined twice due to a merge error. This patch fixes this. --- lwip/ports/drivers/rtems_lwip.c | 30 -- 1 file changed, 30 deletions(-) diff --git a/lwip/ports/drivers/rtems_lwip.c b/lwip/ports/drivers/rtems_lwip.c index a106616..7e2771c 100644 --- a/lw

[PATCH 2/3] Consistent library name used now

2021-04-24 Thread Robin Mueller
Important fix for CMake build system --- CMakeLists.txt| 10 +- lwip/src/api/CMakeLists.txt | 2 +- lwip/src/core/CMakeLists.txt | 2 +- lwip/src/core/ipv4/CMakeLists.txt | 2 +- lwip/src/core/ipv6/CMakeLists.txt | 2 +- lwip/src/netif/CMakeLists.txt

[PATCH] STM32 lwIP addition and CMake support

2021-04-24 Thread Robin Mueller
This patch adds CMake support to RTEMS lwIP. It also improves the architecture to make integration of new BSPs easier. https://github.com/rmspacefish/rtems-stm32-lwip is a self-contained repository to test the lwIP integration for the arm/stm32h7 and arm/nucleo-h743zi BSP. The STM32 port includes

[PATCH] Nucleo UART3 (console) pins correction

2021-04-23 Thread Robin Mueller
Now using default pins --- spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml | 5 + spec/build/bsps/arm/stm32h7/optusart3gpioregs.yml | 5 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/spec/build/bsps/arm/stm32h7/optusart3gpiopins.yml b/spec/build/bsps/arm/stm32h7/optus

[PATCH 2/2] added GPIOB option for STM32 ETH config

2021-04-23 Thread Robin Mueller
Follow-up patch to avoid checks against the BSP name. Separate option to only define the pins for nucleo-h743zi BSP --- bsps/arm/stm32h7/start/stm32h7-hal-eth.c | 8 ++-- spec/build/bsps/arm/stm32h7/grp.yml | 2 ++ .../bsps/arm/stm32h7/optethgpiobregs.yml | 19 ++

[PATCH] Correct NUCLEO-H743ZI Ethernet Pins

2021-04-22 Thread Robin Mueller
The nucleo BSP has different pins for the Ethernet configuration. This patch adds support for this. --- bsps/arm/stm32h7/start/stm32h7-hal-eth.c | 18 +- spec/build/bsps/arm/stm32h7/grp.yml | 2 ++ .../bsps/arm/stm32h7/optethgpiogregs.yml | 19 +++

[PATCH] Implementation for STM32 HAL_GetTick using RTEMS

2021-04-22 Thread Robin Mueller
Accounts for the tick base not being 1ms now. Perform division first to reduce chance of arithmetic overflow. --- bsps/arm/stm32h7/start/bspstart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bsps/arm/stm32h7/start/bspstart.c b/bsps/arm/stm32h7/start/bspstart.c index 7ae

[PATCH] Patch attempt two to avoid nameclash of PAGESIZE define

2021-04-21 Thread Robin Mueller
This commit excludes the PAGESIZE legacy define because there is a nameclash with a define of the same name coming from the RTEMS header limits.h. --- .../stm32h7/include/Legacy/stm32_hal_legacy.h | 172 +- 1 file changed, 88 insertions(+), 84 deletions(-) diff --git a/bsps/arm/st

[PATCH] Patch to avoid nameclash of PAGESIZE define

2021-04-20 Thread Robin Mueller
This commit excludes the PAGESIZE legacy define because there is a nameclash with a define of the same name coming from the RTEMS header limits.h. All other changes come from loading the file from a Unix system. --- .../stm32h7/include/Legacy/stm32_hal_legacy.h | 172 +- 1 file ch

[PATCH] Updated tick implementation for HAL_GetTick

2021-04-20 Thread Robin Mueller
This now uses rtems_clock_get_uptime_nanoseconds to calculate the uptime ticks in milliseconds. --- bsps/arm/stm32h7/start/bspstart.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bsps/arm/stm32h7/start/bspstart.c b/bsps/arm/stm32h7/start/bspstart.c index 2fc8133cca..7ae3

[PATCH] Fixes for TMS570 BSP

2021-04-19 Thread Robin Mueller
When compiling the lwIP port for the TMS570, there were issues with the BSP. Headers are expected in a folder named ti_herc which did not exist. This fixes the issue. Furthermore, there were multiple warnings about define redefinitions. This was fixed as well. --- bsps/arm/tms570/include/bsp/irq.

[PATCH] updated HAL_GetTick function

2021-04-19 Thread Robin Mueller
diff --git a/bsps/arm/stm32h7/start/bspstart.c b/bsps/arm/stm32h7/start/bspstart.c index 2fc8133cca..e6e995a50c 100644 --- a/bsps/arm/stm32h7/start/bspstart.c +++ b/bsps/arm/stm32h7/start/bspstart.c @@ -32,9 +32,10 @@ #include +/* Get number of milliseconds elapsed since startup */ uint32_t

[PATCH] STM32H743ZI Nucleo and basic lwIP support

2021-03-29 Thread Robin Mueller
aries + This can be achieved by appending +__attribute__((section(.bsp_no_cache),__aligned__(0x20))); + to the descriptor definitions. +type: build +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 Robin Mueller -- 2.23.0.windows.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 2/2] This adds a way to print the host triplet

2021-02-24 Thread Robin Mueller
Can be useful for cross-compiling toolchains --- source-builder/sb/setbuilder.py | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/source-builder/sb/setbuilder.py b/source-builder/sb/setbuilder.py index b0e2b23..e480ad5 100644 --- a/source-builder/sb/setbuilder.py

[PATCH] Basic lwIP for STM32H7 BSP

2021-02-02 Thread Robin Mueller
wIP heap memory location, configure the MPU + properly and do the configuration of the hardware and other peripherals. +type: build +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 Robin Mueller -- 2.29.2.windows.2 ___

[PATCH] STM32H7 BSP: Commented out legacy define which causes nameclashes

2021-01-28 Thread Robin Mueller
--- I had a warning related to nameclash of defines for the arm/stm32h7 BSP. More specifically, the define PAGESIZE which is defined in stm32_hal_legacy.h as well as in limits.h (which is located in arm-rtems6/include) I solved the problem for now by commenting out the define in stm32_hal_legacy.

[PATCH] STM32H7 doc update

2021-01-13 Thread Robin Mueller
--- Added doc for board variation, added some fixes from code review. (typo and line width formatting) user/bsps/arm/stm32h7.rst | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/user/bsps/arm/stm32h7.rst b/user/bsps/arm/stm32h7.rst index 3eee511..e1b9d8c 10

[PATCH] command correction to perform tests

2020-12-02 Thread Robin Mueller
--- The old command seems to be incosistent with the rest of the quick start guide. I was able to run tests for both RTEMS5 (released build) and RTEMS 6 ( git clone) with the following commands. user/start/bsp-test.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/use

[PATCH] quick start variable version number

2020-12-02 Thread Robin Mueller
--- user/start/sources.rst | 10 -- user/start/tools.rst | 19 +-- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/user/start/sources.rst b/user/start/sources.rst index 8c40aa0..836cab9 100644 --- a/user/start/sources.rst +++ b/user/start/sources.rst @@ -9

[PATCH] doc improvements

2020-12-02 Thread Robin Mueller
--- user/start/sources.rst | 9 + user/start/tools.rst | 9 - 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/user/start/sources.rst b/user/start/sources.rst index 8c40aa0..fddc439 100644 --- a/user/start/sources.rst +++ b/user/start/sources.rst @@ -86,12 +86,21 @@

[PATCH] updated python section

2020-12-02 Thread Robin Mueller
--- user/hosts/windows.rst | 12 1 file changed, 12 insertions(+) diff --git a/user/hosts/windows.rst b/user/hosts/windows.rst index fac1366..ca8026d 100644 --- a/user/hosts/windows.rst +++ b/user/hosts/windows.rst @@ -126,6 +126,18 @@ Python2 package. The MSYS Python is version 3 an