Re: How to build multiple BSPs with waf?

2019-10-04 Thread Chris Johns
On 4/10/19 11:33 pm, Sebastian Huber wrote: > Hello, > > I tried to figure how a standard waf build can be configured so that > out-of-tree > or multiple build trees can be used. I couldn't get this working. > > The Samba project seems to have support for out-of-tree builds: > > https://wiki.sa

Re: How to build start.o using waf?

2019-10-04 Thread Chris Johns
On 4/10/19 5:55 pm, Sebastian Huber wrote: > On 04/10/2019 09:20, Chris Johns wrote: >> On 4/10/19 4:21 pm, Sebastian Huber wrote: >>> On 03/10/2019 04:32, Chris Johns wrote: On 3/10/19 3:30 am, Gedare Bloom wrote: > On Wed, Oct 2, 2019 at 5:12 AM Sebastian Huber > wrote: >> >

Re: Adding RTEMS_INTERRUPTED

2019-10-04 Thread Joel Sherrill
On Fri, Oct 4, 2019 at 1:53 PM Peter Dufault wrote: > > > > On Oct 4, 2019, at 14:04 , Joel Sherrill wrote: > > > > Hi > > > > I am now looking at the second phase of processing -C to generate > SIGINTR is > > to have read() return -1/EINTR. I want to specifically add this support > to termios >

Re: Adding RTEMS_INTERRUPTED

2019-10-04 Thread Peter Dufault
> On Oct 4, 2019, at 14:04 , Joel Sherrill wrote: > > Hi > > I am now looking at the second phase of processing -C to generate > SIGINTR is > to have read() return -1/EINTR. I want to specifically add this support to > termios > although I think other file types would have to address this

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2019-10-04 Thread Christian Mauderer
On 04/10/2019 20:38, dufa...@hda.com wrote: >> On Oct 4, 2019, at 08:59 , Christian Mauderer wrote: >> >> >> That's great news. I'm quite sure we tried some external oscillators >> back then too without luck. Might I ask which types (drive strength, >> ppm, ...) you used so I can remember them for

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2019-10-04 Thread dufault
> On Oct 4, 2019, at 08:59 , Christian Mauderer wrote: > > > That's great news. I'm quite sure we tried some external oscillators > back then too without luck. Might I ask which types (drive strength, > ppm, ...) you used so I can remember them for my next odd problem with > this chip? > > So

Adding RTEMS_INTERRUPTED

2019-10-04 Thread Joel Sherrill
Hi I am now looking at the second phase of processing -C to generate SIGINTR is to have read() return -1/EINTR. I want to specifically add this support to termios although I think other file types would have to address this independently, For termios, we need rtems_deviceio_read() to return -1/EI

Re: Use YAML configuration files for the build?

2019-10-04 Thread Joel Sherrill
On Fri, Oct 4, 2019 at 12:50 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > - Am 4. Okt 2019 um 19:41 schrieb joel j...@rtems.org: > > > On Fri, Oct 4, 2019 at 12:25 PM Sebastian Huber < > > sebastian.hu...@embedded-brains.de> wrote: > > > >> - Am 4. Okt 2019 um 16:15 sc

Re: Use YAML configuration files for the build?

2019-10-04 Thread Sebastian Huber
- Am 4. Okt 2019 um 19:41 schrieb joel j...@rtems.org: > On Fri, Oct 4, 2019 at 12:25 PM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> - Am 4. Okt 2019 um 16:15 schrieb joel j...@rtems.org: >> >> > On Fri, Oct 4, 2019 at 8:29 AM Sebastian Huber < >> > sebastian.hu...

Re: Use YAML configuration files for the build?

2019-10-04 Thread Joel Sherrill
On Fri, Oct 4, 2019 at 12:25 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > - Am 4. Okt 2019 um 16:15 schrieb joel j...@rtems.org: > > > On Fri, Oct 4, 2019 at 8:29 AM Sebastian Huber < > > sebastian.hu...@embedded-brains.de> wrote: > > > >> Hello, > >> > >> I would like to

Re: Use YAML configuration files for the build?

2019-10-04 Thread Sebastian Huber
- Am 4. Okt 2019 um 16:15 schrieb joel j...@rtems.org: > On Fri, Oct 4, 2019 at 8:29 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> Hello, >> >> I would like to use YAML configuration files for the new build system. >> > > For what purpose? To store the items which d

Re: [PATCH 2/3] Add hook for BSP to act when time is set

2019-10-04 Thread Joel Sherrill
I can't conceive of a use case where you would need more than one hook set. Do you have something in mind? The int returned may need to be an enum so there is a list of known failures which can be mapped to API specific errors. Any ideas on the new API to register with? Whether it is one hook or

Re: Use YAML configuration files for the build?

2019-10-04 Thread Joel Sherrill
On Fri, Oct 4, 2019 at 8:29 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I would like to use YAML configuration files for the new build system. > For what purpose? To achieve what end? > The reason for this is that Doorstop uses this file format and I would > lik

Re: [PATCH 1/3] rtems/confdefs.h add another initial extension set

2019-10-04 Thread Joel Sherrill
On Fri, Oct 4, 2019 at 12:02 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 04/10/2019 00:08, Joel Sherrill wrote: > > This adds back the capability for the BSP to configure an > > initial extension that is specific to itself. The parameter > > BSP_INITIAL_EXTENSION was taken

How to build multiple BSPs with waf?

2019-10-04 Thread Sebastian Huber
Hello, I tried to figure how a standard waf build can be configured so that out-of-tree or multiple build trees can be used. I couldn't get this working. The Samba project seems to have support for out-of-tree builds: https://wiki.samba.org/index.php/Waf#Out_of_tree_builds However, this '-b

Use YAML configuration files for the build?

2019-10-04 Thread Sebastian Huber
Hello, I would like to use YAML configuration files for the new build system. The reason for this is that Doorstop uses this file format and I would like to maintain the build specification with Doorstop. The problem is that that a YAML encoder/decoder is not included in the standard Python l

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2019-10-04 Thread Christian Mauderer
On 04/10/2019 14:17, dufa...@hda.com wrote: > > >> On Nov 25, 2018, at 14:45 , Christian Mauderer > > wrote: >> >> Thomas mentioned already the bug that has been reported to Microchip. >> Please note that I had two more problems with the BSP on another >> customers boar

Re: BSP for Microchip ATSAMA5D27-SOM1-EK1

2019-10-04 Thread dufault
> On Nov 25, 2018, at 14:45 , Christian Mauderer wrote: > > Thomas mentioned already the bug that has been reported to Microchip. > Please note that I had two more problems with the BSP on another > customers board: > > - The core clock couldn't be set to the maximum frequency from the data >

[PATCH] ttest01: Adjust SPDX-License-Identifier

2019-10-04 Thread Sebastian Huber
Update #3199. --- testsuites/libtests/ttest01/test-example.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testsuites/libtests/ttest01/test-example.c b/testsuites/libtests/ttest01/test-example.c index bcbf7b33b0..0e68b014c9 100644 --- a/testsuites/libtests/ttest01/test-exa

[PATCH 3/3] linkersets: Avoid use of zero-length array

2019-10-04 Thread Sebastian Huber
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead. --- cpukit/include/rtems/linkersets.h | 34 ++ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/cpukit/include/rtems/linkersets.h b/cpukit/include/rtems/linkersets.h index bad046999c..4a23d7a696 10

[PATCH 1/3] score: Add RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION()

2019-10-04 Thread Sebastian Huber
Update #3799. --- cpukit/include/rtems/score/basedefs.h | 19 +++ testsuites/sptests/spmisc01/init.c| 7 +++ 2 files changed, 26 insertions(+) diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h index 782958920c..5f38559b6d 100644 -

[PATCH 2/3] config: Avoid zero-length array

2019-10-04 Thread Sebastian Huber
Use RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION() instead. Close #3799. --- cpukit/include/rtems/confdefs.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index 5eb5425283..4e6b91ad2c 100644 --- a/cpukit/includ

Re: How to build start.o using waf?

2019-10-04 Thread Sebastian Huber
On 04/10/2019 09:20, Chris Johns wrote: On 4/10/19 4:21 pm, Sebastian Huber wrote: On 03/10/2019 04:32, Chris Johns wrote: On 3/10/19 3:30 am, Gedare Bloom wrote: On Wed, Oct 2, 2019 at 5:12 AM Sebastian Huber wrote: On 30/09/2019 15:14, Sebastian Huber wrote: Hello, I would like to work

Re: How to build start.o using waf?

2019-10-04 Thread Chris Johns
On 4/10/19 4:21 pm, Sebastian Huber wrote: > On 03/10/2019 04:32, Chris Johns wrote: >> On 3/10/19 3:30 am, Gedare Bloom wrote: >>> On Wed, Oct 2, 2019 at 5:12 AM Sebastian Huber >>> wrote: On 30/09/2019 15:14, Sebastian Huber wrote: > Hello, > > I would like to work on a new