Re: [PATCH] bsps/arm: fix installation broken by recent CMSIS files update

2023-07-24 Thread Karel Gardas
Sure! Not a problem, I was just waiting for Christian to confirm its also working on his side. Thanks, Karel On 7/25/23 03:34, Chris Johns wrote: Hi Karel, I did not see this and made and pushed a similar patch. Thanks for this and sorry for not checking closely as I missed it on the first

Re: [PATCH] score: Add workaround for GCC bug

2023-07-24 Thread Chris Johns
OK Chris On 25/7/2023 4:04 pm, Sebastian Huber wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658 > > This GCC bug leads to an incomplete code coverage status. > > Update #4932. > --- > cpukit/score/cpu/no_cpu/cpuidle.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a

[RSB PATCH] rtems/kernel: Update to the current kernel

2023-07-24 Thread chrisj
From: Chris Johns - Pick up the Beatnik support for the legacy driver --- rtems/config/tools/rtems-kernel-6.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtems/config/tools/rtems-kernel-6.cfg b/rtems/config/tools/rtems-kernel-6.cfg index f2174c7..c9c884f 100644 ---

[PATCH] score: Add workaround for GCC bug

2023-07-24 Thread Sebastian Huber
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108658 This GCC bug leads to an incomplete code coverage status. Update #4932. --- cpukit/score/cpu/no_cpu/cpuidle.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/cpukit/score/cpu/no_cpu/cpuidle.c b/cpukit/score/cpu/no_cpu/cpuidle.c inde

Re: [PATCH] 6: Use GDB 13.2

2023-07-24 Thread Chris Johns
On 25/7/2023 3:18 pm, Sebastian Huber wrote: > On 25.07.23 03:43, Chris Johns wrote: >> On 24/7/2023 9:53 pm, Sebastian Huber wrote: >>> Hello Karel, >>> >>> On 24.07.23 13:15, Karel Gardas wrote: this together with also libexpat patch builds fine on: - macOS 13.4.1 - FreeB

Re: [PATCH rtems 2/3] confdefs: Add configure macro for libi2c

2023-07-24 Thread Sebastian Huber
On 25.07.23 04:31, Vijay Kumar Banerjee wrote: On Mon, Jul 24, 2023 at 10:09 AM Sebastian Huber wrote: On 20.07.23 03:10, Vijay Kumar Banerjee wrote: Add CONFIGURE_APPLICATION_NEEDS_LIBI2C_DRIVER define Do we really need this? What happens if an I2C device needs interrupts during initializ

Re: [PATCH v2] c-user: Link task entry and global construction

2023-07-24 Thread Sebastian Huber
On 25.07.23 04:30, Gedare Bloom wrote: OK. Next time if you can just comment on the v1 that there's a v2. thanks Sorry, I try to remember this next time. Thanks for having a look at it. -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@emb

Re: [PATCH] score: Move _IO_Relax() to new

2023-07-24 Thread Sebastian Huber
On 24.07.23 21:45, Joel Sherrill wrote: On Mon, Jul 24, 2023 at 10:49 AM Sebastian Huber > wrote: On 24.07.23 17:34, Joel Sherrill wrote: > > What about the other io methods in score like for gcov and hashing? > Is there a better l

Re: [PATCH] 6: Use GDB 13.2

2023-07-24 Thread Sebastian Huber
On 25.07.23 03:43, Chris Johns wrote: On 24/7/2023 9:53 pm, Sebastian Huber wrote: Hello Karel, On 24.07.23 13:15, Karel Gardas wrote: this together with also libexpat patch builds fine on: - macOS 13.4.1 - FreeBSD 13.2 - Ubuntu 20.04 thanks for the testing. btw, recently Joel remarked

Re: [PATCH rtems 2/3] confdefs: Add configure macro for libi2c

2023-07-24 Thread Vijay Kumar Banerjee
Hi Sebastian, On Mon, Jul 24, 2023 at 10:09 AM Sebastian Huber wrote: > > On 20.07.23 03:10, Vijay Kumar Banerjee wrote: > > Add CONFIGURE_APPLICATION_NEEDS_LIBI2C_DRIVER define > > Do we really need this? What happens if an I2C device needs interrupts > during initialization? > the libi2c initi

Re: [PATCH v2] c-user: Link task entry and global construction

2023-07-24 Thread Gedare Bloom
OK. Next time if you can just comment on the v1 that there's a v2. thanks On Sun, Jul 23, 2023 at 11:51 PM Sebastian Huber wrote: > > --- > v2: Mention global construction in application configuration options. > > c-user/config/classic-init-task.rst | 5 - > c-user/config/idle-task.rst

Re: [PATCH] c-user: Link task entry and global construction

2023-07-24 Thread Gedare Bloom
looks good On Sat, Jul 22, 2023 at 4:54 AM Sebastian Huber wrote: > > --- > c-user/glossary.rst | 13 + > c-user/initialization/operations.rst | 25 +++-- > c-user/rtems_data_types.rst | 2 +- > c-user/task/directives.rst | 6

Re: [PATCH] membench: Add memory benchmark programs

2023-07-24 Thread Gedare Bloom
On Mon, Jul 24, 2023 at 2:01 AM Sebastian Huber wrote: > > On 21.07.23 09:43, Chris Johns wrote: > > On 21/7/2023 3:28 pm, Sebastian Huber wrote: > >> On 21.07.23 03:27, Chris Johns wrote: > >>> On 21/7/2023 3:51 am, Sebastian Huber wrote: > On 20.07.23 18:58, Gedare Bloom wrote: > > On T

Re: [PATCH] 6: Use GDB 13.2

2023-07-24 Thread Chris Johns
On 24/7/2023 9:53 pm, Sebastian Huber wrote: > Hello Karel, > > On 24.07.23 13:15, Karel Gardas wrote: >> >> this together with also libexpat patch builds fine on: >> >> - macOS 13.4.1 >> - FreeBSD 13.2 >> - Ubuntu 20.04 > > thanks for the testing. > >> >> btw, recently Joel remarked that gdb fr

Re: [PATCH] bsps/arm: fix installation broken by recent CMSIS files update

2023-07-24 Thread Chris Johns
Hi Karel, I did not see this and made and pushed a similar patch. Thanks for this and sorry for not checking closely as I missed it on the first pass. Thanks Chris On 25/7/2023 1:53 am, Karel Gardas wrote: > --- > spec/build/bsps/arm/grp.yml | 7 --- > 1 file changed, 4 insertions(+), 3 del

[PATCH] bsps/arm: Fix CMSIS v5 install files list

2023-07-24 Thread chrisj
From: Chris Johns --- spec/build/bsps/arm/grp.yml | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/build/bsps/arm/grp.yml b/spec/build/bsps/arm/grp.yml index 1058f58d92..a48cd80d74 100644 --- a/spec/build/bsps/arm/grp.yml +++ b/spec/build/bsps/arm/grp.yml @@ -10,12

Re: [PATCH v1 2/2] bsps/stm32h7: Configure UART clocks when enabled

2023-07-24 Thread Kinsey Moore
On Mon, Jul 24, 2023 at 3:30 PM Karel Gardas wrote: > > Hello Kinsey, > > honestly I don't know what to do about this patch. Let me explain a bit > history behind STM32h7. It was originally submitted by embedded brains > guys (Sebastian main, Christian added few things later) supporting the > o

Re: [PATCH v1 2/2] bsps/stm32h7: Configure UART clocks when enabled

2023-07-24 Thread Karel Gardas
Hello Kinsey, honestly I don't know what to do about this patch. Let me explain a bit history behind STM32h7. It was originally submitted by embedded brains guys (Sebastian main, Christian added few things later) supporting the only eval board of that time stm32h743-eval(2). Sebastian also

Re: [PATCH v1 1/2] bsps/stm32h7: Make UART7 pins configurable

2023-07-24 Thread Kinsey Moore
Hi Karel, I happen to have a board in hand that doesn't nominally use UART7, but has been reconfigured to use it since the typical USART1 connection was ripped off of the board. It won't ever have a public BSP, but I'm using the base stm32h7 BSP with the right options layered on top to get the nece

Re: [PATCH v1 1/2] bsps/stm32h7: Make UART7 pins configurable

2023-07-24 Thread Karel Gardas
Hello Kinsey, I think the patch looks good, although I've not verified precise PIN/REGs assignment value. I trust you test this somehow otherwise you would not submit it. And this steers my curiosity. The only board (from ST Micro) I know which provides connection to UART7 is stm32h735g-dk

Re: [PATCH] score: Move _IO_Relax() to new

2023-07-24 Thread Joel Sherrill
On Mon, Jul 24, 2023 at 10:49 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 24.07.23 17:34, Joel Sherrill wrote: > > > > What about the other io methods in score like for gcov and hashing? > > Is there a better location for those? > > We could move everything in rtems/score/

[PATCH v1 1/2] bsps/stm32h7: Make UART7 pins configurable

2023-07-24 Thread Kinsey Moore
This change allows for the pins assigned to UART7 to be reconfigured via config.ini. --- bsps/arm/stm32h7/console/console-uart7-cfg.c| 4 ++-- spec/build/bsps/arm/stm32h7/grp.yml | 4 .../build/bsps/arm/stm32h7/optuart7gpiopins.yml | 17 + .../build/bsps/arm/

[PATCH v1 2/2] bsps/stm32h7: Configure UART clocks when enabled

2023-07-24 Thread Kinsey Moore
This change allows configuration of all enabled UART clocks without direct modificaton of the exiting BSP. --- .../stm/stm32h743i-eval/stm32h7-config-per.c | 41 +-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/bsps/arm/stm32h7/boards/stm/stm32h743i-eval/stm32h7-

[PATCH] bsps/arm: fix installation broken by recent CMSIS files update

2023-07-24 Thread Karel Gardas
--- spec/build/bsps/arm/grp.yml | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/build/bsps/arm/grp.yml b/spec/build/bsps/arm/grp.yml index 1058f58d92..a48cd80d74 100644 --- a/spec/build/bsps/arm/grp.yml +++ b/spec/build/bsps/arm/grp.yml @@ -10,12 +10,13 @@ includes:

Re: [PATCH] score: Move _IO_Relax() to new

2023-07-24 Thread Sebastian Huber
On 24.07.23 17:34, Joel Sherrill wrote: What about the other io methods in score like for gcov and hashing? Is there a better location for those? We could move everything in rtems/score/io.h to rtems/dev/io.h. The gcov stuff could be moved to rtems/test-gcov.h. -- embedded brains GmbH Herr

Re: [PATCH] score: Move _IO_Relax() to new

2023-07-24 Thread Joel Sherrill
No comments on this. Thanks and push it. I think you sent this the day we lost power for 8 hours. :( What about the other io methods in score like for gcov and hashing? Is there a better location for those? --joel On Mon, Jul 24, 2023 at 10:13 AM Sebastian Huber < sebastian.hu...@embedded-brain

Re: [PATCH] score: Move _IO_Relax() to new

2023-07-24 Thread Sebastian Huber
Hello Joel, On 18.07.23 09:59, Sebastian Huber wrote: This function is not a super core service. any comments to this patch? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian.hu...@embedded-brains.de phone: +49-89-18 94 741 - 16 fax: +49-89-1

Re: [PATCH rtems 2/3] confdefs: Add configure macro for libi2c

2023-07-24 Thread Sebastian Huber
On 20.07.23 03:10, Vijay Kumar Banerjee wrote: Add CONFIGURE_APPLICATION_NEEDS_LIBI2C_DRIVER define Do we really need this? What happens if an I2C device needs interrupts during initialization? -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: sebastian

[PATCH rtems 1/2] bsps/shared: Add MCP7940M RTC driver

2023-07-24 Thread Christian Mauderer
The MCP7940M is a I2C RTC chip. The new driver uses the dev/i2c API to support the RTC. It is written with the intention, that the driver can be adapted to other RTCs with a similar register layout by just replacing the initialization function. --- bsps/include/libchip/mcp7940m-rtc.h | 103 +++

[PATCH rtems 2/2] bsps/arm/imx: Enable shared RTC support

2023-07-24 Thread Christian Mauderer
This allows to use a I2C RTC together with this BSP. --- spec/build/bsps/arm/imx/bspimx.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/build/bsps/arm/imx/bspimx.yml b/spec/build/bsps/arm/imx/bspimx.yml index 63733dd5a4..51c2413409 100644 --- a/spec/build/bsps/arm/imx/bspimx.yml +++

Re: [PATCH] bsps/arm: replace CMSIS v4 with CMSIS v5 files

2023-07-24 Thread Christian MAUDERER
Hello Karel, with this change, it seems that I can't install an ARM BSP anymore. The core_cmFunc.h and similar files are missing now. I assume that some old headers have to be removed, and new headers added to the yml files. Is it necessary to install all the new headers or only some of them?

Re: [PATCH] 6: Use GDB 13.2

2023-07-24 Thread Sebastian Huber
Hello Karel, On 24.07.23 13:15, Karel Gardas wrote: this together with also libexpat patch builds fine on: - macOS 13.4.1 - FreeBSD 13.2 - Ubuntu 20.04 thanks for the testing. btw, recently Joel remarked that gdb from 7/ makes troubles building on fbsd 12.x. I verified the same on fbsd 1

Re: [PATCH] 6: Use GDB 13.2

2023-07-24 Thread Karel Gardas
Hello Sebastian, this together with also libexpat patch builds fine on: - macOS 13.4.1 - FreeBSD 13.2 - Ubuntu 20.04 btw, recently Joel remarked that gdb from 7/ makes troubles building on fbsd 12.x. I verified the same on fbsd 13.x and Hesham noted on discord that he has the same issues on

[PATCH] 6: Use libexpat 2.5.0

2023-07-24 Thread Sebastian Huber
This version contains security fixes. Prepare for RTEMS 6.1 release. Update #4921. --- bare/config/devel/expat-2.5.0-1.cfg | 20 rtems/config/6/rtems-default.bset| 2 +- rtems/config/6/rtems-microblaze.bset | 2 +- rtems/config/7/rtems-default.bset| 2 +- 4 files

[PATCH] 6: Use GDB 13.2

2023-07-24 Thread Sebastian Huber
Prepare for RTEMS 6.1 release. Update #4921. --- rtems/config/6/rtems-default.bset | 2 +- rtems/config/6/rtems-microblaze.bset | 2 +- rtems/config/tools/rtems-gdb-13.2.cfg | 17 + 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 rtems/config/tools/rte

Re: [PATCH] membench: Add memory benchmark programs

2023-07-24 Thread Sebastian Huber
On 21.07.23 09:43, Chris Johns wrote: On 21/7/2023 3:28 pm, Sebastian Huber wrote: On 21.07.23 03:27, Chris Johns wrote: On 21/7/2023 3:51 am, Sebastian Huber wrote: On 20.07.23 18:58, Gedare Bloom wrote: On Thu, Jul 20, 2023 at 7:42 AM Sebastian Huber   wrote: These memory benchmark program