RTEMS Shell Problem

Alan Cudmore alan.cudmore at gmail.com
Tue Jun 11 14:55:06 UTC 2019


That should work. I am currently using the shell on various LEON3 boards
using rcc-1.3-rc6.
My RTEMS config has this note:
/* POSIX Keys are needed for the Shell */
#define CONFIGURE_MAXIMUM_POSIX_KEYS                   32
#define CONFIGURE_MAXIMUM_POSIX_KEY_VALUE_PAIRS        64

( my values are probably overkill here.. )

Alan


On Mon, Jun 10, 2019 at 7:40 PM Chris Johns <chrisj at rtems.org> wrote:

> On 11/6/19 5:42 am, Richard.Glossop at L3T.com wrote:
> > I’m trying to launch the shell on a LEON3 platform using rcc-1.3-rc6
> > I’m getting a pthread_setspecific(shell_current_env_key) error on the
> console
> > which I believe is causing the shell thread
> >
> > to exit.  I can see this code in shell.c
> > In the RTEMS config I have:
> >
> > #define CONFIGURE_APPLICATION_NEEDS_LIBBLOCK
> > #define CONFIGURE_SHELL_COMMANDS_INIT
> > #define CONFIGURE_SHELL_COMMANDS_ALL
>
> Does adding ...
>
> #define CONFIGURE_MAXIMUM_POSIX_KEYS (5)
>
> help?
>
> > #include <rtems/shellconfig.h>
>
> I see what you have is what he shell guide has so it may need to be
> updated to
> include this settings.
>
> Chris
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190611/f0149571/attachment-0002.html>


More information about the users mailing list