Re: Waf and Ada?

2019-10-04 Thread Chris Johns
On 4/10/19 3:17 pm, Sebastian Huber wrote: > On 03/10/2019 04:38, Chris Johns wrote: >> On 2/10/19 9:21 pm, Sebastian Huber wrote: >>> >>> the waf build prototype contains no examples for building Ada objects, >>> libraries >>> and executables. >>> >>> https://git.rtems.org/amar/waf-old.git/ >>>

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

2019-10-04 Thread Chris Johns
On 4/10/19 3:10 pm, Sebastian Huber wrote: > On 04/10/2019 04:44, Chris Johns wrote: >> Is this only useful for virtual BSPs and is it always a requirement to >> implement >> this call in those environments? >> >> Would this call be useful to a non-virtual BSP, for example one with a >> battery

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: Testing the interrupt extension API?

2019-10-04 Thread Sebastian Huber
On 03/10/2019 07:44, Chris Johns wrote: On 2/10/19 5:28 pm, Sebastian Huber wrote: the interrupt extension API implementation is already quite complex and not covered by the test suite: https://git.rtems.org/rtems/tree/bsps/shared/irq In order to write generic tests for this we have to know

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

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

2019-10-04 Thread Sebastian Huber
On 04/10/2019 08:06, Chris Johns wrote: On 4/10/19 3:10 pm, Sebastian Huber wrote: On 04/10/2019 04:44, Chris Johns wrote: Is this only useful for virtual BSPs and is it always a requirement to implement this call in those environments? Would this call be useful to a non-virtual BSP, for

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

Re: Waf and Ada?

2019-10-04 Thread Sebastian Huber
On 04/10/2019 08:08, Chris Johns wrote: On 4/10/19 3:17 pm, Sebastian Huber wrote: On 03/10/2019 04:38, Chris Johns wrote: On 2/10/19 9:21 pm, Sebastian Huber wrote: the waf build prototype contains no examples for building Ada objects, libraries and executables.

Re: Testing the interrupt extension API?

2019-10-04 Thread Sebastian Huber
On 02/10/2019 19:44, Gedare Bloom wrote: On Wed, Oct 2, 2019 at 1:28 AM Sebastian Huber wrote: Hello, the interrupt extension API implementation is already quite complex and not covered by the test suite: https://git.rtems.org/rtems/tree/bsps/shared/irq In order to write generic tests for

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

[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

[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

Re: How to build start.o using waf?

2019-10-04 Thread Sebastian Huber
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 build system prototype. The idea is to use specification items maintained

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: > >

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: 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 >

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

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

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 >

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

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

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

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

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? > >

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

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

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

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

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

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