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 missing

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 chr...@rtems.org 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

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 joel.sherr...@oarcorp.com wrote: Hi The following BSPs define NDEBUG in their CFLAGS and thus fail to

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 :

Re: BSPs which define NDEBUG in CFLAGS

2014-09-03 Thread Joel Sherrill
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 disable ASSERTS for production builds? Ultimately you (end user) select the flags you want to

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 joel.sherr...@oarcorp.com 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

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

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 =

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.

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

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

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

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

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

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

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

[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

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

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

[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

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