[PATCH 2/2] Simplify get affinitiy directives

2021-04-26 Thread Sebastian Huber
There is no need to disable thread dispatching to get the affinity of a task. --- cpukit/posix/src/pthreadgetaffinitynp.c | 3 --- cpukit/rtems/src/taskgetaffinity.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/cpukit/posix/src/pthreadgetaffinitynp.c

[PATCH 1/2] Return status code for _Scheduler_Get_affinity()

2021-04-26 Thread Sebastian Huber
This avoids having conditional expressions to the API-specific status code. --- cpukit/include/rtems/score/schedulerimpl.h | 7 --- cpukit/posix/src/pthreadgetaffinitynp.c| 7 --- cpukit/posix/src/pthreadgetattrnp.c| 7 --- cpukit/rtems/src/taskgetaffinity.c | 7

Fwd: rtems-bootstrap failed on master

2021-04-26 Thread Sebastian Huber
Hello, since the old build system no longer works, I suggest to remove it now: https://git.rtems.org/sebh/rtems.git/commit/?h=remove-old-build-system Forwarded Message Subject:rtems-bootstrap failed on master Date: Mon, 26 Apr 2021 13:49:26 +0200 From: Pierre

Re: [PATCH] Implementation for STM32 HAL_GetTick using RTEMS

2021-04-26 Thread Sebastian Huber
Thanks, I checked it in with a minor format fix. -- 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-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899

[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

[PATCH] Return status code for _Thread_Start()

2021-04-26 Thread Sebastian Huber
This avoids having conditional statements to get the API-specific status code. --- cpukit/include/rtems/score/threadimpl.h | 7 +++ cpukit/posix/src/pthreadcreate.c| 5 ++--- cpukit/rtems/src/taskstart.c| 7 --- cpukit/score/src/threadstart.c | 6 +++--- 4

[PATCH] Return status code for _Scheduler_Set_affinity()

2021-04-26 Thread Sebastian Huber
This avoids having conditional statements to get the API-specific status code. --- cpukit/include/rtems/score/scheduler.h| 12 ++--- cpukit/include/rtems/score/scheduleredfsmp.h | 9 --- cpukit/include/rtems/score/schedulerimpl.h| 27 ---

Re: rtems-bootstrap failed on master

2021-04-26 Thread Joel Sherrill
On Mon, Apr 26, 2021 at 7:10 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > since the old build system no longer works, I suggest to remove it now: > > https://git.rtems.org/sebh/rtems.git/commit/?h=remove-old-build-system Nice move but no. Still have waf blockers

Re: rtems-bootstrap failed on master

2021-04-26 Thread Sebastian Huber
On 26/04/2021 14:30, Joel Sherrill wrote: On Mon, Apr 26, 2021 at 7:10 AM Sebastian Huber > wrote: Hello, since the old build system no longer works, I suggest to remove it now:

[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 +++

[PATCH] rtems: Change rtems_task_get_affinity() status

2021-04-26 Thread Sebastian Huber
Return RTEMS_INVALID_SIZE if the processor set is too small to contain the processor affinity set of the task. --- cpukit/include/rtems/score/schedulerimpl.h | 2 +- cpukit/include/rtems/score/status.h| 2 ++ cpukit/score/src/schedulergetaffinity.c| 2 +-

Re: [PATCH rtems] Makefile.am: Remove legacy networking files

2021-04-26 Thread Vijay Kumar Banerjee
On Mon, Apr 26, 2021 at 7:40 AM Joel Sherrill wrote: > > This has lingered too long. Please feel free to push it. > Pushed. Thanks. > On Sat, Apr 24, 2021 at 11:27 PM Vijay Kumar Banerjee wrote: >> >> --- >> bsps/headers.am | 8 - >> bsps/shared/grlib-sources.am

Re: [PATCH rtems-docs v2] legacy-networking: Add note with build instructions for rtems-net-legacy

2021-04-26 Thread Joel Sherrill
On Thu, Apr 22, 2021 at 8:58 PM Vijay Kumar Banerjee wrote: > --- > legacy-networking/index.rst | 1 + > legacy-networking/quick_start.rst | 33 +++ > 2 files changed, 34 insertions(+) > create mode 100644 legacy-networking/quick_start.rst > > diff --git

[PATCH v4] psx13: Reworked and relicensed

2021-04-26 Thread Ryan Long
Changed the way the tests were structured, added rtems_test_assert()'s, updated psx13.scn and the license. Update #3899 --- testsuites/psxtests/psx13/main.c| 37 +- testsuites/psxtests/psx13/psx13.scn | 21 +- testsuites/psxtests/psx13/test.c| 852

Re: [PATCH rtems-docs v2] legacy-networking: Add note with build instructions for rtems-net-legacy

2021-04-26 Thread Joel Sherrill
Looks good. On Mon, Apr 26, 2021, 9:32 AM Vijay Kumar Banerjee wrote: > On Mon, Apr 26, 2021 at 8:23 AM Joel Sherrill wrote: > > > > > > > > On Thu, Apr 22, 2021 at 8:58 PM Vijay Kumar Banerjee > wrote: > >> > >> --- > >> legacy-networking/index.rst | 1 + > >>

[PATCH v3] psx13: Reworked and relicensed

2021-04-26 Thread Ryan Long
Changed the way the tests were structured, added rtems_test_assert()'s, updated psx13.scn and the license. --- testsuites/psxtests/psx13/main.c| 37 +- testsuites/psxtests/psx13/psx13.scn | 21 +- testsuites/psxtests/psx13/test.c| 852 3 files

RE: [PATCH v3] psx13: Reworked and relicensed

2021-04-26 Thread Ryan Long
Didn't realize I screwed up my rebase. I thought the "Update #3899" had been added. Sending again. -Original Message- From: Ryan Long Sent: Monday, April 26, 2021 10:00 AM To: devel@rtems.org Cc: Ryan Long Subject: [PATCH v3] psx13: Reworked and relicensed Changed the way the tests

Re: [PATCH rtems] Makefile.am: Remove legacy networking files

2021-04-26 Thread Joel Sherrill
This has lingered too long. Please feel free to push it. On Sat, Apr 24, 2021 at 11:27 PM Vijay Kumar Banerjee wrote: > --- > bsps/headers.am | 8 - > bsps/shared/grlib-sources.am | 4 - > bsps/shared/shared-sources.am | 14 --

Re: [PATCH rtems-docs v2] legacy-networking: Add note with build instructions for rtems-net-legacy

2021-04-26 Thread Vijay Kumar Banerjee
On Mon, Apr 26, 2021 at 8:23 AM Joel Sherrill wrote: > > > > On Thu, Apr 22, 2021 at 8:58 PM Vijay Kumar Banerjee wrote: >> >> --- >> legacy-networking/index.rst | 1 + >> legacy-networking/quick_start.rst | 33 +++ >> 2 files changed, 34 insertions(+) >>

Re: [PATCH] c-user: Generate interrupt manager documentation

2021-04-26 Thread Sebastian Huber
On 26/04/2021 20:30, Gedare Bloom wrote: I need clarification on a subtle point, which exists prior to your change. It may be that I just don't understand what we mean by "The directive will not cause the calling task to be preempted.", but does rtems_interrupt_enable() and

Re: [PATCH v1 1/3] cpukit: Add signal mapping support

2021-04-26 Thread Gedare Bloom
On Fri, Apr 23, 2021 at 8:28 AM Kinsey Moore wrote: > > On 4/20/2021 01:44, Chris Johns wrote: > > On 20/4/21 4:38 pm, Sebastian Huber wrote: > >> On 20/04/2021 08:30, Chris Johns wrote: > >>> On 20/4/21 3:54 pm, Sebastian Huber wrote: > On 20/04/2021 07:30, Chris Johns wrote: > > >

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

2021-04-26 Thread Gedare Bloom
Hi Robin, I'm wading in here a little bit late, but I want to address a couple things. First, if we will move forward with this, it would be best to separate the functional patch from the build patch. I.e., split the cmake stuff from the driver/code improvements. That said, see the following 2

Re: Implimenting timer_monotonic

2021-04-26 Thread Gedare Bloom
On Thu, Apr 22, 2021 at 1:39 PM zack_on_the_speed_chanel wrote: > > Hello, > > So in looking at the ticket i realized it was more the making the test and > only testing the creation of a timer object. I also have to implement the > monotonic timer. Right now it seems like a monumental task for

Re: [PATCH] c-user: Generate interrupt manager documentation

2021-04-26 Thread Joel Sherrill
On Mon, Apr 26, 2021 at 1:36 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 26/04/2021 20:30, Gedare Bloom wrote: > > > I need clarification on a subtle point, which exists prior to your > > change. It may be that I just don't understand what we mean by "The > > directive

Re: RTEMS on PolarFire SoC ICICLE Kit FPGA

2021-04-26 Thread Hesham Almatary
On Sun, 25 Apr 2021 at 21:04, somesh deshmukh wrote: > > Hi Hesham, > > Comments added below and please find the attached device tree source file. > > Regards, > Somesh > > On Sun, Apr 25, 2021 at 12:34 AM Hesham Almatary > wrote: >> >> Hello Somesh, >> >> On Sat, 24 Apr 2021 at 20:52, somesh

Re: [PATCH v4] psx13: Reworked and relicensed

2021-04-26 Thread Gedare Bloom
Looks ok, confirm you tested with/without debug, and go ahead and push. On Mon, Apr 26, 2021 at 10:10 AM Ryan Long wrote: > > Changed the way the tests were structured, added rtems_test_assert()'s, > updated psx13.scn and the license. > > Update #3899 > --- > testsuites/psxtests/psx13/main.c

Re: [PATCH] c-user: Generate interrupt manager documentation

2021-04-26 Thread Gedare Bloom
I need clarification on a subtle point, which exists prior to your change. It may be that I just don't understand what we mean by "The directive will not cause the calling task to be preempted.", but does rtems_interrupt_enable() and rtems_interrupt_flash() introduce a preemption point? The

Re: [PATCH] c-user: Generate scheduling concepts documentation

2021-04-26 Thread Gedare Bloom
looks good. On Fri, Apr 23, 2021 at 1:15 PM Sebastian Huber wrote: > > The documentation is a consolidation of the comments in Doxygen markup > and the documentation sources in Sphinx markup. The documentation was > transfered to interface specification items. The documentation source > files

[PATCH v2] c-user: Generate interrupt manager documentation

2021-04-26 Thread Sebastian Huber
The documentation is a consolidation of the comments in Doxygen markup and the documentation sources in Sphinx markup. The documentation was transfered to interface specification items. The documentation source files were generated from the items by a script. Update #3993. --- Here is the