Re: [PATCH] libtests/dl06: Add -lm

2020-11-10 Thread Sebastian Huber
On 10/11/2020 08:32, Sebastian Huber wrote: Would adding a pragma for this option to dl06-o1.c and dl06-o2.c be acceptable as a solution? I am not sure if a pragma works for these options. We can add -fno-builtin=tan -fno-builtin=atan2. We can use also some global volatile variables which see

[PATCH] dl06: Do not include loaded objs in base image

2020-11-10 Thread Sebastian Huber
--- spec/build/testsuites/libtests/dl06.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/build/testsuites/libtests/dl06.yml b/spec/build/testsuites/libtests/dl06.yml index 2f5d4ab08d..c5f1de49ad 100644 --- a/spec/build/testsuites/libtests/dl06.yml +++ b/spec/build/testsuites/libtests/

Re: [PATCH] libtests/dl06: Add -lm

2020-11-10 Thread Sebastian Huber
On 11/11/2020 00:58, Chris Johns wrote: These should not be linked into the base image. They are in the RAP image in dl06-tar.o. What shouldn't be linked in? The entire object files or only some functions in it? In this test dl06-o1.o and dl06-o2.o. In general any code placed in the tar file

[PATCH] Improve automatically generated warning

2020-11-10 Thread Sebastian Huber
--- c-user/config/bdbuf.rst | 9 - c-user/config/bsp-related.rst | 9 - c-user/config/classic-api.rst | 9 - c-user/config/classic-init-task.rst | 9 - c-user/config/device-driver.rst | 9 - c-user/config/event-record.rst | 9

[PATCH] Improve automatically generated warning

2020-11-10 Thread Sebastian Huber
--- cpukit/doxygen/appl-config.h| 9 - cpukit/include/rtems.h | 9 - cpukit/include/rtems/io.h | 9 - testsuites/validation/tc-message-construct-errors.c | 9 - testsuites/validation/tc-t

Re: [PATCH 00/11] Generate some header files

2020-11-10 Thread Sebastian Huber
On 11/11/2020 01:18, Chris Johns wrote: On 10/11/20 5:41 pm, Sebastian Huber wrote: On 10/11/2020 00:05, Chris Johns wrote: On 10/11/20 1:49 am, Sebastian Huber wrote: This patch set replaces some hand written header files of the Classic API with header files generated from specification ite

Re: [PATCH 00/11] Generate some header files

2020-11-10 Thread Chris Johns
On 10/11/20 5:41 pm, Sebastian Huber wrote: > On 10/11/2020 00:05, Chris Johns wrote: > >> On 10/11/20 1:49 am, Sebastian Huber wrote: >>> This patch set replaces some hand written header files of the Classic >>> API with header files generated from specification items.  The main >>> parts are the

Re: [PATCH 1/2] c-user: Generate Event Manager documentation

2020-11-10 Thread Chris Johns
On 10/11/20 5:49 pm, Sebastian Huber wrote: > Maybe we should remove the manual edit part entirely: > > .. This file is part of the RTEMS quality process and was automatically > .. generated.  If you find something that needs to be fixed or worded better > .. please post a report or patch to an RT

Re: Breaking Long Lines

2020-11-10 Thread Chris Johns
On 10/11/20 6:38 pm, Thomas Doerfler wrote: > Hi, > > Am 10.11.20 um 06:33 schrieb Chris Johns: >> On 9/11/20 5:50 pm, Sebastian Huber wrote: >>> On 09/11/2020 01:52, Chris Johns wrote: >>> On 6/11/20 7:11 pm, Sebastian Huber wrote: > ...   Avoid excess parentheses. Learn the operat

Re: [PATCH] libtests/dl06: Add -lm

2020-11-10 Thread Chris Johns
On 10/11/20 6:32 pm, Sebastian Huber wrote: > On 09/11/2020 23:42, Chris Johns wrote: > >> On 9/11/20 6:24 pm, Sebastian Huber wrote: >>> On 09/11/2020 02:23, Chris Johns wrote: >>> On 3/11/20 3:39 am, Sebastian Huber wrote: > There is probably something wrong with this test program.  If

Re: Is there a way to test all case in real bsp automatically?

2020-11-10 Thread Chris Johns
On 10/11/20 7:27 pm, small...@aliyun.com wrote: > hi, all > Recently, I was testing rtems-5.1 in xilinx bsp. There are many test cases > which > need compile and burn to bsp each time. > If I test 100 cases, I need compile and burn 100 times manually. This is > boring. > Is there a way to test 10

Re: [PATCH rtems 8/8] jffs2: Replace non-ASCII copyright character

2020-11-10 Thread Gedare Bloom
Let's leave the imported code the way they are for easier integration/maintenance, I think. On Mon, Nov 9, 2020 at 12:29 AM Christian Mauderer wrote: > > On 09/11/2020 07:58, Sebastian Huber wrote: > > On 07/11/2020 14:23, Christian Mauderer wrote: > > > >> diff --git a/cpukit/libfs/src/jffs2/inc

Re: [PATCH 4/4] eng: Clarify "Coding Conventions" introduction

2020-11-10 Thread Gedare Bloom
all 4 look good to me. On Thu, Nov 5, 2020 at 11:43 AM Sebastian Huber wrote: > > --- > eng/coding-conventions.rst | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/eng/coding-conventions.rst b/eng/coding-conventions.rst > index 5dd8df5..e34cd74 100644 > --- a/e

Re: Fatal exceptions on context-switching for more than two isolated threads

2020-11-10 Thread Utkarsh Rai
On Thu, Nov 5, 2020 at 11:45 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 04/11/2020 19:38, Gedare Bloom wrote: > > >> Based on the above suggestions I tried to move the > User_extensions_Iterator storage to the TCB by adding a new field to the > structure, but that did n

Code coverage via GCOV

2020-11-10 Thread Sebastian Huber
Hello, I reviewed a bit how the code coverage information is produced by GCC and what libgcov does. I think if we want to use GCOV in RTEMS to get code coverage in all system states, then we need some tweaks in GCC: https://gcc.gnu.org/pipermail/gcc/2020-November/234164.html -- embedded brai

Re: [PATCH] eng: Rework and clarify Doxygen Guidelines

2020-11-10 Thread Sebastian Huber
Hello Joel, On 09/11/2020 15:37, Sebastian Huber wrote: On 09/11/2020 15:12, Joel Sherrill wrote: On Mon, Nov 9, 2020 at 8:02 AM Sebastian Huber > wrote:     ---      eng/coding-doxygen.rst  | 210          en

Re: [PATCH 1/2] libtest: Make test case allocator configurable

2020-11-10 Thread Sebastian Huber
Please ignore this patch. I will simplify it in a v2 of the patch set. -- embedded brains GmbH 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 PGP: Public key available on request. embedded b

[PATCH 2/2] libtest: Simplify runtime measurement support

2020-11-10 Thread Sebastian Huber
Use the test case allocator functions T_zalloc() and T_malloc(). Restore the task affinity of the runner task. --- cpukit/libtest/t-test-rtems-measure.c | 64 +++ 1 file changed, 25 insertions(+), 39 deletions(-) diff --git a/cpukit/libtest/t-test-rtems-measure.c b/cpukit

[PATCH 1/2] libtest: Make test case allocator configurable

2020-11-10 Thread Sebastian Huber
--- cpukit/include/rtems/test.h | 7 ++ cpukit/libtest/t-test-malloc.c| 80 ++--- cpukit/libtest/t-test.c | 88 +++ cpukit/libtest/testrun.c | 2 + testsuites/libtests/ttest01/init.c| 2 + t

Re: [PATCH] bsp/atsam: Fix XDMAD status

2020-11-10 Thread Christian Mauderer
On 10/11/2020 06:34, Chris Johns wrote: On 9/11/20 7:20 pm, Christian Mauderer wrote: I would like to apply this patch to master (ticket #4173) and to the 5 branch (ticket #4172). It would be great if someone could have a look and acknowledge it. OK for 5. Chris Thanks. I'll give it anoth

Is there a way to test all case in real bsp automatically?

2020-11-10 Thread small...@aliyun.com
hi, all Recently, I was testing rtems-5.1 in xilinx bsp. There are many test cases which need compile and burn to bsp each time. If I test 100 cases, I need compile and burn 100 times manually. This is boring. Is there a way to test 100 cases in one compilation and burning ? Thanks very much. s