Ticket #2897

2017-02-02 Thread Kirspel, Kevin
I have created a ticket to update TERMIOS to include support for LIBBSD. The changes will allow the TTY driver in LIBBSD to work with few modifications. I am almost done with a LIBBSD port for the USB serial driver stack. This port requires the use of LIBBSD's TTY kernel driver and the curren

Re: Build error on rtems master

2017-02-02 Thread Joel Sherrill
I have confirmed that as expected this breaks all BSPS. --joel On Thu, Feb 2, 2017 at 3:08 PM, Joel Sherrill wrote: > > > On Thu, Feb 2, 2017 at 1:52 PM, Gedare Bloom wrote: > >> Maybe the default-configuration.c should set max processors to 1? >> >> > I would prefer it not be set at all in no

[PATCH] Disable defining _CONFIGURE_SMP_APPLICATION if RTEMS_SMP is not defined

2017-02-02 Thread Kevin Kirspel
--- cpukit/sapi/include/confdefs.h | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 cpukit/sapi/include/confdefs.h diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h old mode 100644 new mode 100755 index c931fda..adccc72 --- a/cpukit/sapi/include/con

Re: libdebugger documentation

2017-02-02 Thread Joel Sherrill
On Thu, Feb 2, 2017 at 1:51 PM, Gedare Bloom wrote: > Is there documentation on how to use / extend the new gdb server / > libdebugger? > > Is there a wish list/TODO for it? Since it is new, it might be a source of projects. > -Gedare > ___ > devel ma

Re: Build error on rtems master

2017-02-02 Thread Joel Sherrill
On Thu, Feb 2, 2017 at 1:52 PM, Gedare Bloom wrote: > Maybe the default-configuration.c should set max processors to 1? > > I would prefer it not be set at all in non-SMP builds. > On Thu, Feb 2, 2017 at 2:51 PM, Joel Sherrill wrote: > > That sounds like a reasonable error and fix. Please send

Re: Build error on rtems master

2017-02-02 Thread Gedare Bloom
Maybe the default-configuration.c should set max processors to 1? On Thu, Feb 2, 2017 at 2:51 PM, Joel Sherrill wrote: > That sounds like a reasonable error and fix. Please send a patch > to the mailing list. > > I assume the build of all BSPs I just started is likely to fail if > I didn't enable

libdebugger documentation

2017-02-02 Thread Gedare Bloom
Is there documentation on how to use / extend the new gdb server / libdebugger? -Gedare ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: Build error on rtems master

2017-02-02 Thread Joel Sherrill
That sounds like a reasonable error and fix. Please send a patch to the mailing list. I assume the build of all BSPs I just started is likely to fail if I didn't enable SMP. :) --joel On Thu, Feb 2, 2017 at 1:07 PM, Kirspel, Kevin wrote: > I’m getting a build error with the latest master due t

Build error on rtems master

2017-02-02 Thread Kirspel, Kevin
I'm getting a build error with the latest master due to the changes removing CONFIGURE_SMP_APPLICATION. The default-configuration.c file sets CONFIGURE_SMP_MAXIMUM_PROCESSORS to 32 thus enabling the internal _CONFIGURE_SMP_APPLICATION define on targets without SMP. I had to add a #if defined(

Re: Using helper functions

2017-02-02 Thread Gedare Bloom
see rtems.git/testsuites/fstests for examples of some filesystem usage. On Thu, Feb 2, 2017 at 12:03 PM, punit vara wrote: > Hi > > Which file system API you are talking about ? Can you please send me > the file location ? > > I have used some of GPIO APIs for BBB board. Have a look at this examp

Re: Using helper functions

2017-02-02 Thread punit vara
Hi Which file system API you are talking about ? Can you please send me the file location ? I have used some of GPIO APIs for BBB board. Have a look at this example https://github.com/punitvara/rtems_gsoc16/blob/master/gpio/init.c Similarly you can create application for any APIs. P.S. Always

Re: [PATCH] c-user: Add self-contained objects chapter

2017-02-02 Thread Gedare Bloom
On Thu, Feb 2, 2017 at 10:30 AM, Sebastian Huber wrote: > > > On 02/02/17 16:26, Gedare Bloom wrote: >> >> On Wed, Feb 1, 2017 at 5:17 AM, Sebastian Huber >> wrote: >>> >>> Update #2843. >>> --- >>> c-user/index.rst | 1 + >>> c-user/self_contained_objects.rst | 337 >>>

Re: Regarding a beginner friendly bug

2017-02-02 Thread Gedare Bloom
On Thu, Feb 2, 2017 at 2:41 AM, Tanu Hari Dixit wrote: > Thank you for pointing these out to me. I had a question, though. Why > isn't the proposed patch applied in > https://devel.rtems.org/ticket/2353 ? > I made a comment there about the proposed patch. > Regards, > Tanu Hari Dixit. > > On Wed,

Re: [PATCH] c-user: Add self-contained objects chapter

2017-02-02 Thread Sebastian Huber
On 02/02/17 16:26, Gedare Bloom wrote: On Wed, Feb 1, 2017 at 5:17 AM, Sebastian Huber wrote: Update #2843. --- c-user/index.rst | 1 + c-user/self_contained_objects.rst | 337 ++ 2 files changed, 338 insertions(+) create mode 10064

Re: [PATCH] c-user: Add self-contained objects chapter

2017-02-02 Thread Gedare Bloom
On Wed, Feb 1, 2017 at 5:17 AM, Sebastian Huber wrote: > Update #2843. > --- > c-user/index.rst | 1 + > c-user/self_contained_objects.rst | 337 > ++ > 2 files changed, 338 insertions(+) > create mode 100644 c-user/self_contained_objects.r

GSoC 2017: Live tracing project status

2017-02-02 Thread vivek kukreja
Hello Chris, all, This is in response to Gedare's mail regarding project ideas for GSoC 2017. I am looking forward to applying under RTEMS as a student again this year. I am currently updating my previous code(for CTF integration and ethernet transport) with the mainline repo changes and preparing