Re: [rtems-docs commit] c-user: Generate Timer Manager documentation

2020-12-14 Thread Chris Johns
On 15/12/20 5:39 pm, Sebastian Huber wrote: > On 15/12/2020 05:08, Chris Johns wrote: >> >> On 11/12/20 5:02 pm, Sebastian Huber wrote: >>> On 11/12/2020 01:35, Chris Johns wrote: >> Suggestions? > We could add a script which performs some post processing after creation > the of >

Re: [PATCH] Add GMP as a prerequisite for GDB

2020-12-14 Thread Chris Johns
On 15/12/20 6:42 pm, Sebastian Huber wrote: > On 15/12/2020 04:59, Chris Johns wrote: > >> Sorry, I have been distracted with other things >> >> On 14/12/20 5:55 pm, Sebastian Huber wrote: >>> On 11/12/2020 14:00, Sebastian Huber wrote: >>> ---    bare/config/devel/gmp-6.1.0.cfg   |

Re: [PATCH] Add GMP as a prerequisite for GDB

2020-12-14 Thread Sebastian Huber
On 15/12/2020 04:59, Chris Johns wrote: Sorry, I have been distracted with other things On 14/12/20 5:55 pm, Sebastian Huber wrote: On 11/12/2020 14:00, Sebastian Huber wrote: ---   bare/config/devel/gmp-6.1.0.cfg   | 18 ++   rtems/config/6/rtems-default.bset |  1 +  

Re: [rtems-docs commit] c-user: Generate Timer Manager documentation

2020-12-14 Thread Sebastian Huber
On 15/12/2020 05:08, Chris Johns wrote: On 11/12/20 5:02 pm, Sebastian Huber wrote: On 11/12/2020 01:35, Chris Johns wrote: Suggestions? We could add a script which performs some post processing after creation the of the release branches. What about

Re: CMake support

2020-12-14 Thread Chris Johns
On 14/12/20 8:26 pm, Robin Müller wrote: > Hi. > > I now implemented pkg-config parsing and it works nicely with the tools given > by > CMake / kitware. I was able to build the hello application with the automatic > pkg flag parsing for sparc/erc32, sparc/leon3 and arm/stm32h7. Awesome. > I do

Re: [rtems-docs commit] c-user: Generate Timer Manager documentation

2020-12-14 Thread Chris Johns
On 11/12/20 5:02 pm, Sebastian Huber wrote: > On 11/12/2020 01:35, Chris Johns wrote: Suggestions? >>> We could add a script which performs some post processing after creation >>> the of >>> the release branches. >> What about >> >> https://www.rtems.org/support/bugs.html >> >> If a

Re: [PATCH] Add GMP as a prerequisite for GDB

2020-12-14 Thread Chris Johns
Sorry, I have been distracted with other things On 14/12/20 5:55 pm, Sebastian Huber wrote: > On 11/12/2020 14:00, Sebastian Huber wrote: > >> --- >>   bare/config/devel/gmp-6.1.0.cfg   | 18 ++ >>   rtems/config/6/rtems-default.bset |  1 + >>   rtems/config/7/rtems-default.bset |  1

[PATCH rtems 4/6] bsps/imxrt: Add DMA numbers to dtsi

2020-12-14 Thread Christian Mauderer
Also currently no driver uses these numbers, it is usefull for applications that want to use the DMA. Update #4180 --- bsps/arm/imxrt/dts/imxrt1050-evkb.c | 1037 ++- bsps/arm/imxrt/include/imxrt/imxrt1050.dtsi | 45 + 2 files changed, 604 insertions(+), 478

[PATCH rtems 1/6] bsps/imxrt: Use standard names to avoid warnings

2020-12-14 Thread Christian Mauderer
If spi or i2c slaves are "connected" to the spi or i2c bus, the device tree compiler complains if the busses are not named spi or i2c. Update #4180 --- bsps/arm/imxrt/dts/imxrt1050-evkb.c | 193 ++-- bsps/arm/imxrt/include/imxrt/imxrt1050.dtsi | 16 +- 2 files changed,

[PATCH rtems 3/6] bsps/shared: Adapt fsl-edma driver for imxrt

2020-12-14 Thread Christian Mauderer
Note: The changes have been done with portability in mind. The driver should (in theory) be able to replace the original one in the MPC BSPs too. For full compatibility an adaption layer and especially a test would be necessary. Because both are missing, don't integrate it into the MPC BSP now.

[PATCH rtems 2/6] bsps/shared: Copy fsl-edma from mpc55xx

2020-12-14 Thread Christian Mauderer
This is a preparation for making the driver universal. Update #4180 --- bsps/include/fsl/edma.h| 329 +++ bsps/include/fsl/regs-edma.h | 710 + bsps/shared/dev/dma/fsl-edma.c | 329 +++ 3 files changed, 1368 insertions(+) create

[PATCH rtems 6/6] bsps/imxrt: Add ioctl to LPSPI to get registers

2020-12-14 Thread Christian Mauderer
This allows an application to get the registers of the LPSPI. That is usefull for applications that want to use DMA for a very specialized and highly optimized communication. Update #4180 --- bsps/arm/imxrt/include/imxrt/lpspi.h | 54 ++ bsps/arm/imxrt/spi/imxrt-lpspi.c

[PATCH rtems 5/6] cpukit/spi: Allow driver specific ioctl

2020-12-14 Thread Christian Mauderer
This allows a SPI driver to add a hardware specific ioctl. --- cpukit/dev/spi/spi-bus.c | 3 +++ cpukit/include/dev/spi/spi.h | 7 +++ 2 files changed, 10 insertions(+) diff --git a/cpukit/dev/spi/spi-bus.c b/cpukit/dev/spi/spi-bus.c index 5308603216..42b70aa6c9 100644 ---

Re: Fwd: [rtems-bsp-builder] 2020-12-11 12:57:21: Profile(s): everything

2020-12-14 Thread Christian MAUDERER
Hello Joel, Am 14.12.20 um 15:23 schrieb Joel Sherrill: On Sun, Dec 13, 2020 at 3:32 AM Christian Mauderer > wrote: Hello Joel, that patch should most likely fix that problem: Great!

Re: [PATCH rtems] cpu/armv7m: Fix table based init for ARMV7M_MPU

2020-12-14 Thread Christian MAUDERER
Thanks. I pushed them both (together with some other pending patches). Am 14.12.20 um 12:01 schrieb Sebastian Huber: On 14/12/2020 11:31, Christian Mauderer wrote: Somehow the table index has been missing in the latest patch version. With that, the configuration for the first region has been

Re: [PATCH rtems] cpu/armv7m: Fix table based init for ARMV7M_MPU

2020-12-14 Thread Sebastian Huber
On 14/12/2020 11:31, Christian Mauderer wrote: Somehow the table index has been missing in the latest patch version. With that, the configuration for the first region has been applied multiple times. Update #4180 Please check it in and also the patch which fixes the imx7 header file

[PATCH rtems] cpu/armv7m: Fix table based init for ARMV7M_MPU

2020-12-14 Thread Christian Mauderer
Somehow the table index has been missing in the latest patch version. With that, the configuration for the first region has been applied multiple times. Update #4180 --- cpukit/score/cpu/arm/include/rtems/score/armv7m.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

Re: CMake support

2020-12-14 Thread Robin Müller
Hi. I now implemented pkg-config parsing and it works nicely with the tools given by CMake / kitware. I was able to build the hello application with the automatic pkg flag parsing for sparc/erc32, sparc/leon3 and arm/stm32h7. I do not know exactly when this feature was added to be honest. I set

[PATCH] basedefs: Add stringification of argument lists

2020-12-14 Thread Sebastian Huber
Change RTEMS_STRING() and RTEMS_XSTRING() to accept a variable number of arguments which is stringified. This can be used for example to create register lists for inline assembler statements. --- cpukit/include/rtems/score/basedefs.h | 16 1 file changed, 8 insertions(+), 8