Shell in RTEMS

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Dec 12 08:06:09 UTC 2019


On 12/12/2019 08:19, Vishav.Vishav at dlr.de wrote:
> Hello,
> 
> I will check if I am compiling with NDEBUG. As far as failed assertion is concerned, I printed the return value of rtems_shell_init and it was 0 meaning RTEMS_SUCCESSFUL.

I think it is impossible to start a shell with your configuration. Maybe 
there is a bug in rtems_shell_init() so that RTEMS_SUCCESSFUL is 
returned in an error case. I would change the configuration to:

#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
#define CONFIGURE_UNIFIED_WORK_AREAS
#define CONFIGURE_UNLIMITED_OBJECTS
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT
#include <rtems/confdefs.h>

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the users mailing list