Re: [PATCH 1/2] capture: Split user extension methods out.

2014-09-03 Thread Chris Johns
Hi, These patches look fine. Chris On 4/09/2014 4:03 am, Jennifer Averett wrote: --- cpukit/libmisc/Makefile.am | 3 +- cpukit/libmisc/capture/capture.c| 428 +++ cpukit/libmisc/capture/capture_user_extension.c | 435 ++

[PATCH 2/2] capture: Add support for variable length records.

2014-09-03 Thread Jennifer Averett
--- cpukit/Makefile.am | 1 + cpukit/libmisc/Makefile.am | 5 +- cpukit/libmisc/capture/capture-cli.c| 7 +- cpukit/libmisc/capture/capture.c| 174 +++- cpukit/libmisc/capture/capture.h

[PATCH 1/2] capture: Split user extension methods out.

2014-09-03 Thread Jennifer Averett
--- cpukit/libmisc/Makefile.am | 3 +- cpukit/libmisc/capture/capture.c| 428 +++ cpukit/libmisc/capture/capture_user_extension.c | 435 cpukit/libmisc/capture/captureimpl.h| 195 +++ 4 files ch

Upcoming set of capture patchs

2014-09-03 Thread Jennifer Averett
The following two patches have minor changes from the previous submitted patches. If there are no further comments I'll commit them. Thanks jennifer ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

[PATCH 24/24] nios2_iss/Makefile.am: Add cache

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/nios2/nios2_iss/Makefile.am | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am b/c/src/lib/libbsp/nios2/nios2_iss/Makefile.am index 1094826..c10cd80 100644 --- a/c/src/lib/libbsp/nios2/nios2

Re: nios2 fails to link spcache01

2014-09-03 Thread Joel Sherrill
Thanks for the hint. The preferred way is to pick up the .rel from the libcpu directory. # Cache libbsp_a_LIBADD = ../../../libcpu/@RTEMS_CPU@/shared/cache.rel Long term, we probably need a better solution. On 9/3/2014 10:05 AM, Hesham Moustafa wrote: > # Cache > libbsp_a_SOURCES += ../../../li

[PATCH 23/23] spcpuset01: Use %zd for size_t to eliminate warning

2014-09-03 Thread Joel Sherrill
--- testsuites/sptests/spcpuset01/init.c | 4 ++-- testsuites/sptests/spcpuset01/test.c | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/testsuites/sptests/spcpuset01/init.c b/testsuites/sptests/spcpuset01/init.c index 0102e6c..3ed4d47 100644 --- a/testsuites/sptests/s

[PATCH 20/23] shell.c: Add cast to match printf() expectations for width specifier

2014-09-03 Thread Joel Sherrill
--- cpukit/libmisc/shell/shell.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c index a94724f..eeb60dc 100644 --- a/cpukit/libmisc/shell/shell.c +++ b/cpukit/libmisc/shell/shell.c @@ -306,7 +306,12 @@ static int

[PATCH 21/23] spfreechain01/init.c: Use %zd for size_t to eliminate warning

2014-09-03 Thread Joel Sherrill
--- testsuites/sptests/spfreechain01/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testsuites/sptests/spfreechain01/init.c b/testsuites/sptests/spfreechain01/init.c index 434c126..8f5e10f 100644 --- a/testsuites/sptests/spfreechain01/init.c +++ b/testsuites/sptest

[PATCH 19/23] rtems-rfs-buffer.c: Correct printf() format specifiers to eliminate warnings

2014-09-03 Thread Joel Sherrill
--- cpukit/libfs/src/rfs/rtems-rfs-buffer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c b/cpukit/libfs/src/rfs/rtems-rfs-buffer.c index 3d89f5f..4192b21 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-buffer.c +++ b/cpukit/libfs/src

[PATCH 22/23] Misc psxtmtests: Use uint32_t not long for end_time to match printf() format expectations

2014-09-03 Thread Joel Sherrill
--- testsuites/psxtmtests/psxtmcond01/init.c | 8 testsuites/psxtmtests/psxtmcond02/init.c | 4 ++-- testsuites/psxtmtests/psxtmcond03/init.c | 2 +- testsuites/psxtmtests/psxtmcond04/init.c | 8 testsuites/psxtmtests/psxtmcond05/init.c | 4 ++-- testsuites/psxtmte

[PATCH 11/23] lpc2362-testsuite.tcfg: Add tests which do not link with debug enabled

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc2362-testsuite.tcfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc2362-testsuite.tcfg b/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc2362-testsuite.tcfg index 4d7f178..46897d4 100644 --- a/c/src/li

[PATCH 15/23] rtems/score/assert.h: Rework to allow use of NDEBUG

2014-09-03 Thread Joel Sherrill
--- cpukit/score/include/rtems/score/assert.h | 56 --- 1 file changed, 43 insertions(+), 13 deletions(-) diff --git a/cpukit/score/include/rtems/score/assert.h b/cpukit/score/include/rtems/score/assert.h index b8d9463..43ec2d0 100644 --- a/cpukit/score/include/rtems/

[PATCH 18/23] sp19: Eliminate warnings

2014-09-03 Thread Joel Sherrill
--- testsuites/sptests/sp19/fptask.c | 6 + testsuites/sptests/sp19/fptest.h | 49 2 files changed, 16 insertions(+), 39 deletions(-) diff --git a/testsuites/sptests/sp19/fptask.c b/testsuites/sptests/sp19/fptask.c index 979182f..3ff7340 100644 --- a/

[PATCH 14/23] mprotect.c: Remove warning for no prototype

2014-09-03 Thread Joel Sherrill
--- cpukit/posix/src/mprotect.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/cpukit/posix/src/mprotect.c b/cpukit/posix/src/mprotect.c index f2f8af6..51b565e 100644 --- a/cpukit/posix/src/mprotect.c +++ b/cpukit/posix/src/mprotect.c @@ -3,10 +3,19 @@

[PATCH 12/23] lpc23xx_tli800-testsuite.tcfg: Add tests which do not link with debug enabled

2014-09-03 Thread Joel Sherrill
--- .../lib/libbsp/arm/lpc24xx/make/custom/lpc23xx_tli800-testsuite.tcfg | 4 1 file changed, 4 insertions(+) diff --git a/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc23xx_tli800-testsuite.tcfg b/c/src/lib/libbsp/arm/lpc24xx/make/custom/lpc23xx_tli800-testsuite.tcfg index a678ca2..b63ed50

[PATCH 17/23] score603e/start/start.S: Add start symbol to eliminate warning

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/powerpc/score603e/start/start.S | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c/src/lib/libbsp/powerpc/score603e/start/start.S b/c/src/lib/libbsp/powerpc/score603e/start/start.S index c67e598..d58d42c 100644 --- a/c/src/lib/libbsp/powerpc/score603e/start/start.S +++

[PATCH 16/23] mcf5235/.../linkcmds: Use dram region consistently like other variants

2014-09-03 Thread Joel Sherrill
"ram" and "dram" regions were used inconsistently. Most variants used the "dram" memory region so this was changed to be consistent. --- c/src/lib/libbsp/m68k/mcf5235/startup/linkcmds | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/c/src/lib/libbsp/m68k/mcf5235/startup/

[PATCH 13/23] tms570/Makefile.am: Remove bad networking build info

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/tms570/Makefile.am | 14 -- 1 file changed, 14 deletions(-) diff --git a/c/src/lib/libbsp/arm/tms570/Makefile.am b/c/src/lib/libbsp/arm/tms570/Makefile.am index e66cf79..ab2914c 100644 --- a/c/src/lib/libbsp/arm/tms570/Makefile.am +++ b/c/src/lib/libbsp/arm/t

[PATCH 02/23] csb337/.../bspreset.c: Eliminate warning for set not used variable

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/csb337/startup/bspreset.c | 1 - 1 file changed, 1 deletion(-) diff --git a/c/src/lib/libbsp/arm/csb337/startup/bspreset.c b/c/src/lib/libbsp/arm/csb337/startup/bspreset.c index 940ff7f..1167d92 100644 --- a/c/src/lib/libbsp/arm/csb337/startup/bspreset.c +++ b/c/src/lib/

[PATCH 08/23] lpc24xx/.../bspreset.c: Eliminate warning for set not used variable

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c b/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c index d98f907..cb63431 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c +++ b/c/src

[PATCH 06/23] lm3s69xx/.../bspreset.c: Eliminate warning for set not used variable

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c b/c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c index 9b8764e..6509f81 100644 --- a/c/src/lib/libbsp/arm/lm3s69xx/startup/bspreset.c +++ b/c

[PATCH 09/23] rtl22xx/.../bspreset.c: Eliminate warning for set not used variable

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c b/c/src/lib/libbsp/arm/rtl22xx/startup/bspreset.c index d3ee06b..deb58ac 100644 --- a/c/src/lib/libbsp/arm/rtl22xx/startup/b

[PATCH 01/23] raspberrypi: Use shared bspreset.c

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/csb337/startup/bspreset.c | 1 + c/src/lib/libbsp/arm/raspberrypi/Makefile.am | 2 +- .../lib/libbsp/arm/raspberrypi/startup/bspreset.c | 35 testsuites/sptests/spintr_err01/init.c | 65 +++--- 4 files changed, 34 inser

[PATCH 10/23] lm3s3749-testsuite.tcfg: Add tests which do not link with debug enabled

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/lm3s69xx/make/custom/lm3s3749-testsuite.tcfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c/src/lib/libbsp/arm/lm3s69xx/make/custom/lm3s3749-testsuite.tcfg b/c/src/lib/libbsp/arm/lm3s69xx/make/custom/lm3s3749-testsuite.tcfg index 5d20dda..bc92170 100644 --- a/c/

[PATCH 04/23] stm32f4/.../bspreset.c: Eliminate warning for set not used variable

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c b/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c index ea11726..ff46d4f 100644 --- a/c/src/lib/libbsp/arm/stm32f4/startup/bspreset.c +++ b/c/src

[PATCH 07/23] lpc176x/.../bspreset.c: Eliminate warning for set not used variable

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c b/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c index 8ebd2a1..69f556a 100644 --- a/c/src/lib/libbsp/arm/lpc176x/startup/bspreset.c +++ b/c/src

Upcoming Set of Patches

2014-09-03 Thread Joel Sherrill
Hi I am about to post 23 small patches which remove a lot of warnings. Most are correction of format specifiers, elimination of "set but not used" warnings, and using the expected type for a variable in "pattern code". Two BSPs had warnings when linking any executable and I addressed those. Hopef

[PATCH 03/23] gp32/.../bspreset.c: Eliminate warning for set not used variable

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/gp32/startup/bspreset.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c/src/lib/libbsp/arm/gp32/startup/bspreset.c b/c/src/lib/libbsp/arm/gp32/startup/bspreset.c index e98fb72..f88e848 100644 --- a/c/src/lib/libbsp/arm/gp32/startup/bspreset.c +++ b/c/src/lib/libbs

[PATCH 05/23] smdk2410/.../bspreset.c: Eliminate warning for set not used variable

2014-09-03 Thread Joel Sherrill
--- c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c b/c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c index 297bb4c..d6c583b 100644 --- a/c/src/lib/libbsp/arm/smdk2410/startup/bspreset.c +++ b

Re: nios2 fails to link spcache01

2014-09-03 Thread Hesham Moustafa
I came across this problem (as I currently implementing cache manager). First I tried to add my new cache.c implementation at this libcpu/or1k/Makefile.am line: "## shared/cache include_libcpu_HEADERS = ../shared/include/cache.h noinst_PROGRAMS += shared/cache.rel shared_cache_rel_SOURCES = shared

nios2 fails to link spcache01

2014-09-03 Thread Joel Sherrill
Hi Any suggestions on how to address this? nios2-rtems4.11-gcc -B../../../../../nios2_iss/lib/ -specs bsp_specs -qrtems -DHAVE_CONFIG_H -I. -I../../../../../../../rtems/c/src/../../testsuites/sptests/spcache01 -I.. -I../../../../../../../rtems/c/src/../../testsuites/sptests/../support/include

Re: CMSIS?

2014-09-03 Thread Joel Sherrill
I hate to reply to my own post but need to in this case. https://mbed.org/blog/entry/CMSIS-Components-BSD-Licensed/ Code is available and BSD licensed. Last comment gives link to blog making code available. We weren't the only ones with a problem with their license. On 9/3/2014 9:30 AM, Joel She

Re: CMSIS?

2014-09-03 Thread Joel Sherrill
On 9/3/2014 6:47 AM, Sebastian Huber wrote: > Hello, > > there are also BSD licensed CMSIS versions: > > http://comments.gmane.org/gmane.comp.lib.libopencm3/361 > > The original ARM license makes it pretty useless for us. > Interestingly, these are from ARM but are really BSD licensed. I am not

Re: BSPs which define NDEBUG in CFLAGS

2014-09-03 Thread Federico Casares
OK, perfect. Thanks On Wed, Sep 3, 2014 at 10:21 AM, Joel Sherrill wrote: > > > On September 3, 2014 6:41:45 AM CDT, Federico Casares < > federico.casa...@tallertechnologies.com> wrote: > >Hi Joel, > > > >We did the lpc1768* BSPs. If we remove the NDEBUG... which will be the > >procedure to di

Re: BSPs which define NDEBUG in CFLAGS

2014-09-03 Thread Joel Sherrill
On September 3, 2014 6:41:45 AM CDT, Federico Casares wrote: >Hi Joel, > >We did the lpc1768* BSPs. If we remove the NDEBUG... which will be the >procedure to disable ASSERTS for production builds? Ultimately you (end user) select the flags you want to deploy with. :) My goal is just ensure b

Re: BSPs which define NDEBUG in CFLAGS

2014-09-03 Thread Joel Sherrill
On September 3, 2014 6:50:18 AM CDT, Sebastian Huber wrote: >On 03/09/14 13:41, Federico Casares wrote: >> >> We did the lpc1768* BSPs. If we remove the NDEBUG... which will be >the >> procedure to disable ASSERTS for production builds? > >Someone needs to add the magic to deal with NDEBUG in o

Re: BSPs which define NDEBUG in CFLAGS

2014-09-03 Thread Sebastian Huber
On 03/09/14 13:41, Federico Casares wrote: We did the lpc1768* BSPs. If we remove the NDEBUG... which will be the procedure to disable ASSERTS for production builds? Someone needs to add the magic to deal with NDEBUG in our build system. -- Sebastian Huber, embedded brains GmbH Address : Dor

Re: CMSIS?

2014-09-03 Thread Sebastian Huber
Hello, there are also BSD licensed CMSIS versions: http://comments.gmane.org/gmane.comp.lib.libopencm3/361 The original ARM license makes it pretty useless for us. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax

Re: BSPs which define NDEBUG in CFLAGS

2014-09-03 Thread Federico Casares
Hi Joel, We did the lpc1768* BSPs. If we remove the NDEBUG... which will be the procedure to disable ASSERTS for production builds? regards. On Tue, Sep 2, 2014 at 6:57 PM, Joel Sherrill wrote: > Hi > > The following BSPs define NDEBUG in their CFLAGS and thus fail > to compile when RTEMS deb

Re: [rtems commit] or1k: Implement context validate and context volatile clobber functions.

2014-09-03 Thread Hesham Moustafa
On Wed, Sep 3, 2014 at 5:14 AM, Chris Johns wrote: > On 3/09/2014 12:21 am, Joel Sherrill wrote: >> >> cpukit/score/cpu/or1k/preinstall.am|6 +- > > > Did this patch happen before my fix to the preinstall went in ? > Yes. > I am seeing an issue with this one. > I will update t

Re: tms570 and networking

2014-09-03 Thread Pavel Pisa
Hello Joel, sorry for trouble. On Wednesday 03 of September 2014 00:41:18 Joel Sherrill wrote: > Hi > > The tms570 has what appears to be a partial set of Makefile.am > entries for a network driver but none is present so the BSP fails > to build when networking is enabled. It appears to be missin