[PATCH] build: Merge default-by-family into by-variant

2021-07-22 Thread Sebastian Huber
Prefix the BSP family name with "bsps/" to make it distinct to the BSP variant names. --- spec/build/bsps/optconsolebaud.yml | 5 + wscript| 10 ++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/spec/build/bsps/optconsolebaud.yml b/spec/bui

[PATCH] closes #3889

2021-07-22 Thread Zacchaeus Leung
--- cpukit/include/rtems/posix/timer.h | 1 + cpukit/posix/src/psxtimercreate.c | 1 + cpukit/posix/src/timergettime.c| 61 +++--- 3 files changed, 41 insertions(+), 22 deletions(-) diff --git a/cpukit/include/rtems/posix/timer.h b/cpukit/include/rtems/posix/timer.

Re: LwIP for RTEMS state querry Was: [PATCH rtems-lwip v2] STM32 lwIP addition

2021-07-22 Thread Vijay Kumar Banerjee
Hi all, On Thu, Jul 22, 2021 at 4:12 PM Pavel Pisa wrote: > > Hello Joel, > > On Thursday 22 of July 2021 22:19:21 Joel Sherrill wrote: > > On Thu, Jul 22, 2021 at 12:25 PM Robin Müller > > > The current version of the rtems-lwip support after I added STM32H7 can > > > still be found here: > >

Re: LwIP for RTEMS state querry Was: [PATCH rtems-lwip v2] STM32 lwIP addition

2021-07-22 Thread Pavel Pisa
Hello Joel, On Thursday 22 of July 2021 22:19:21 Joel Sherrill wrote: > On Thu, Jul 22, 2021 at 12:25 PM Robin Müller > > The current version of the rtems-lwip support after I added STM32H7 can > > still be found here: > > https://github.com/rmspacefish/rtems-lwip/tree/mueller/master and > > inc

Re: LwIP for RTEMS state querry Was: [PATCH rtems-lwip v2] STM32 lwIP addition

2021-07-22 Thread Joel Sherrill
On Thu, Jul 22, 2021 at 12:25 PM Robin Müller wrote: > > Hello, > > I am still waiting on STM32 reply because of the licensing issue. Might still > take weeks/months.. The Ultimate Liberty license is a bit of a misnomer. Quite a few restrictions on liberty there. > > Another solution would be t

Re: LwIP for RTEMS state querry Was: [PATCH rtems-lwip v2] STM32 lwIP addition

2021-07-22 Thread Robin Müller
Hello, I am still waiting on STM32 reply because of the licensing issue. Might still take weeks/months.. Another solution would be to write some scripts to copy the code from the Cube sources.. But I would prefer to avoid them, because I also had to merge some of the files provided by STM so that

Re: [PATCH 04/41] rtems: Add rtems_interrupt_cause_on()

2021-07-22 Thread Sebastian Huber
On 21/07/2021 20:10, Gedare Bloom wrote: One more thing, should we specifically say "on_processor" or something, to make it clear what this means? When I first read the function name, I thought it is "cause on a condition" so I was confused. Another thought with this "cause_on" directive, shoul

Re: [PATCH] build: Add "family/" prefix to BSP familiy enable

2021-07-22 Thread Chris Johns
> On 22 Jul 2021, at 6:53 pm, Sebastian Huber > wrote: >> On 22/07/2021 10:47, Chris Johns wrote: >>> On 22/7/21 6:37 pm, Sebastian Huber wrote: >>> On 22/07/2021 10:33, Chris Johns wrote: >> and so the arch part is not >> really needed. My concern is this type code ... >> >> h

Re: [PATCH] build: Add "family/" prefix to BSP familiy enable

2021-07-22 Thread Sebastian Huber
On 22/07/2021 10:47, Chris Johns wrote: On 22/7/21 6:37 pm, Sebastian Huber wrote: On 22/07/2021 10:33, Chris Johns wrote: and so the arch part is not really needed. My concern is this type code ... https://git.rtems.org/rtems_waf/tree/rtems.py#n758 that breaks. Is this an issue? I think a

Re: [PATCH] build: Add "family/" prefix to BSP familiy enable

2021-07-22 Thread Chris Johns
On 22/7/21 6:37 pm, Sebastian Huber wrote: > On 22/07/2021 10:33, Chris Johns wrote: and so the arch part is not really needed. My concern is this type code ... https://git.rtems.org/rtems_waf/tree/rtems.py#n758 that breaks. Is this an issue? I think a single `/` in a

libbsd kernel namespace generation

2021-07-22 Thread Chris Johns
Hello, Libbsd uses the pre-processor to map all the kernel calls into a libbsd kernel name space by prepending _bsd_ to each symbol. The script ... https://git.rtems.org/rtems-libbsd/tree/create-kernel-namespace.sh?h=6-freebsd-12 ... generates the list and the result is pushed into the repo. The

Re: [PATCH] build: Add "family/" prefix to BSP familiy enable

2021-07-22 Thread Sebastian Huber
On 22/07/2021 10:33, Chris Johns wrote: and so the arch part is not really needed. My concern is this type code ... https://git.rtems.org/rtems_waf/tree/rtems.py#n758 that breaks. Is this an issue? I think a single `/` in a BSP or family is cleaner. Why is this an issue? This BSP family stuff

Re: [PATCH] build: Add "family/" prefix to BSP familiy enable

2021-07-22 Thread Chris Johns
On 22/7/21 4:44 pm, Sebastian Huber wrote: > On 22/07/2021 08:37, Chris Johns wrote: >> On 22/7/21 4:20 pm, Sebastian Huber wrote: >>> On 22/07/2021 02:39, Chris Johns wrote: On 22/7/21 5:22 am, Sebastian Huber wrote: > BSP family and BSP variant names may be equal.  This prefix avoids >