Hello_via_task Ada example on Rapberry

Jan Sommer soja-misc at aries.uberspace.de
Sun Jul 12 16:31:57 UTC 2015


Am Sonntag, 12. Juli 2015, 10:26:56 schrieb Joel Sherrill:
> Just to make sure we are on the same page, what gcc version?

gcc 4.9.2

> 
> It sounds like the number of resources configured might be off. Can you try unlimited objects and unified workspace? They are CONFIGURE_ parameters.
> 

I added 
#define CONFIGURE_UNIFIED_WORK_AREAS
#define CONFIGURE_UNLIMITED_OBJECTS
to the rtems-init.c of the Ada examples I hope this does not conflict with the other defines like
#define CONFIGURE_MAXIMUM_TASKS                         20
#define CONFIGURE_MAXIMUM_SEMAPHORES          20

#define CONFIGURE_GNAT_RTEMS
#define CONFIGURE_MAXIMUM_ADA_TASKS      20

#if !defined(CONFIGURE_MAXIMUM_FAKE_ADA_TASKS)
  #define CONFIGURE_MAXIMUM_FAKE_ADA_TASKS 0
#endif

#if !defined(ADA_APPLICATION_NEEDS_EXTRA_MEMORY)
  #define ADA_APPLICATION_NEEDS_EXTRA_MEMORY 0
#endif

/* Account for any extra task stack size */
#define CONFIGURE_MEMORY_OVERHEAD \
  (ADA_APPLICATION_NEEDS_EXTRA_MEMORY + GNAT_MAIN_STACKSPACE)

Still the task hangs after it calls the delay.

Best regards,

  Jan




More information about the users mailing list