---
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
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
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
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
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
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
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
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
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
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
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
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
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
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 ++
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 +++
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
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
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
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
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.
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
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
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
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
___
---
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.
---
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
---
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
---
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
---
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 @@
---
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
30 matches
Mail list logo