Re: rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Sebastian Huber
On 01/12/2020 07:49, Chris Johns wrote: On 1/12/20 5:31 pm, Sebastian Huber wrote: On 30/11/2020 21:43, Joel Sherrill wrote: On Mon, Nov 30, 2020 at 1:06 PM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote:     On 30/11/2020 20:00, Joel Sherrill wrote:     >     

Re: rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Chris Johns
On 1/12/20 5:31 pm, Sebastian Huber wrote: > On 30/11/2020 21:43, Joel Sherrill wrote: >> On Mon, Nov 30, 2020 at 1:06 PM Sebastian Huber >> > > wrote: >>     On 30/11/2020 20:00, Joel Sherrill wrote: >>     >     Applications can use something like: >>   

Re: qemu5 and zynq console input

2020-11-30 Thread Sebastian Huber
On 01/12/2020 00:25, Joel Sherrill wrote: Does this combination work for anyone? I am suspicious that this broke with the qemu version bump in the RSB. I built Qemu using the master branch last week and also had the problem that the console input didn't work. -- embedded brains GmbH Herr

Re: rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Sebastian Huber
On 30/11/2020 21:43, Joel Sherrill wrote: On Mon, Nov 30, 2020 at 1:06 PM Sebastian Huber > wrote: On 30/11/2020 20:00, Joel Sherrill wrote: >     Applications can use something like: > >     #if __RTEMS_MAJOR__ >= 5 > >   

Re: qemu5 and zynq console input

2020-11-30 Thread Chris Johns
On 1/12/20 10:25 am, Joel Sherrill wrote: > Does this combination work for anyone? I am suspicious that this broke with > the > qemu version bump in the RSB. I did not test input. The tester does not have the ability to test input. Chris ___ devel

qemu5 and zynq console input

2020-11-30 Thread Joel Sherrill
Hi Does this combination work for anyone? I am suspicious that this broke with the qemu version bump in the RSB. --joel ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-docs] shell: Document i2c and spi commands.

2020-11-30 Thread Gedare Bloom
On Mon, Nov 30, 2020 at 12:14 PM Christian Mauderer wrote: > Hello Gedare, > > thanks for the review. > > On 30/11/2020 18:43, Gedare Bloom wrote: > > > > > > On Mon, Nov 30, 2020 at 7:14 AM Christian Mauderer > > > > wrote: > > > > --- > >

Re: rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Joel Sherrill
On Mon, Nov 30, 2020 at 1:06 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 30/11/2020 20:00, Joel Sherrill wrote: > > > Applications can use something like: > > > > #if __RTEMS_MAJOR__ >= 5 > > > > POSIX threads are always enabled ... > > > > #endif > > > >

Re: [PATCH rtems-docs] shell: Document i2c and spi commands.

2020-11-30 Thread Christian Mauderer
Hello Gedare, thanks for the review. On 30/11/2020 18:43, Gedare Bloom wrote: On Mon, Nov 30, 2020 at 7:14 AM Christian Mauderer > wrote: ---  shell/general_commands.rst | 200 +  1 file

Re: rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Sebastian Huber
On 30/11/2020 20:00, Joel Sherrill wrote: Applications can use something like: #if __RTEMS_MAJOR__ >= 5 POSIX threads are always enabled ... #endif This is a change to our public API that was completely unnecessary. We do not require changes to application code when it can

Re: rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Sebastian Huber
On 30/11/2020 20:00, Joel Sherrill wrote: > Similarly, RTEMS_POSIX_API should probably always be set and another > macro provided for POSIX signals. > > The meaning changed without considering the impact. We need to account > for this. If RTEMS_POSIX_API is

Re: rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Joel Sherrill
On Mon, Nov 30, 2020, 12:56 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello Joel, > > On 30/11/2020 19:40, Joel Sherrill wrote: > > if rtems.check_posix(bld): > > bld.recurse('posix_hello_world') > > bld.recurse('both_hello') > if these examples don't

Re: rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Sebastian Huber
Hello Joel, On 30/11/2020 19:40, Joel Sherrill wrote:     if rtems.check_posix(bld):         bld.recurse('posix_hello_world')         bld.recurse('both_hello') if these examples don't use signals, I would just remove the check. I suspect rtems_check_posix() should always return true now and

rtems waf, examples, and RTEMS_POSIX_API

2020-11-30 Thread Joel Sherrill
Hi With more POSIX enabled by default, the RTEMS_POSIX_API flag has changed meanings and this has broken the meaning of checking for POSIX in rtems_waf. The rtems-examples use code like this which now turns off all POSIX examples because POSIX signals are disabled. if rtems.check_posix(bld):

Re: [PATCH] sapi: Remove obsolete README file

2020-11-30 Thread Gedare Bloom
I see it already went through ;) On Mon, Nov 30, 2020 at 10:51 AM Gedare Bloom wrote: > ok with me. > > On Thu, Nov 26, 2020 at 3:29 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> --- >> cpukit/sapi/include/rtems/README | 129 --- >> 1 file

Re: [PATCH] sapi: Remove obsolete README file

2020-11-30 Thread Gedare Bloom
ok with me. On Thu, Nov 26, 2020 at 3:29 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > --- > cpukit/sapi/include/rtems/README | 129 --- > 1 file changed, 129 deletions(-) > delete mode 100644 cpukit/sapi/include/rtems/README > > diff --git

Re: [PATCH rtems-docs] shell: Document i2c and spi commands.

2020-11-30 Thread Gedare Bloom
On Mon, Nov 30, 2020 at 7:14 AM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > --- > shell/general_commands.rst | 200 + > 1 file changed, 200 insertions(+) > > diff --git a/shell/general_commands.rst b/shell/general_commands.rst > index

Re: [PATCH v4 0/1] Test for clock_nanosleep() with CLOCK_MONOTONIC option

2020-11-30 Thread Gedare Bloom
I don't have time to try it out, if no one else gets back to you by early January ping me on it. I'll have more time to look at it. On Mon, Nov 30, 2020 at 8:40 AM Utkarsh Rai wrote: > Hello, > Is there any update on this patch? > > On Wed, Oct 28, 2020 at 7:04 PM Utkarsh Rai > wrote: > >>

Re: [PATCH v4 0/1] Test for clock_nanosleep() with CLOCK_MONOTONIC option

2020-11-30 Thread Utkarsh Rai
Hello, Is there any update on this patch? On Wed, Oct 28, 2020 at 7:04 PM Utkarsh Rai wrote: > Ping. > > On Wed, Oct 21, 2020 at 8:58 AM Utkarsh Rai > wrote: > >> This patch has the tests for clock_nanosleep with the CLOCK_MONOTONIC >> option. >> The psxtests/psxclocknanosleep01/.. tests for

[PATCH rtems-docs] shell: Document i2c and spi commands.

2020-11-30 Thread Christian Mauderer
--- shell/general_commands.rst | 200 + 1 file changed, 200 insertions(+) diff --git a/shell/general_commands.rst b/shell/general_commands.rst index c74ae45..a6f7e18 100644 --- a/shell/general_commands.rst +++ b/shell/general_commands.rst @@ -44,6 +44,14 @@