Commit aa37fd2c authored by Patricia Lopez Cueva's avatar Patricia Lopez Cueva
Browse files

Increased the number of semaphores and periods due to CoRA use cases needs

parent 3c15be57
...@@ -45,14 +45,14 @@ ...@@ -45,14 +45,14 @@
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_MAXIMUM_TASKS 20 #define CONFIGURE_MAXIMUM_TASKS 30
#define CONFIGURE_MAXIMUM_POSIX_THREADS __PO_HI_NB_TASKS + 10 #define CONFIGURE_MAXIMUM_POSIX_THREADS __PO_HI_NB_TASKS + 10
#define CONFIGURE_MAXIMUM_SEMAPHORES 20 // GRSPW1 IRQ layer needs one semaphore #define CONFIGURE_MAXIMUM_SEMAPHORES 40 // GRSPW1 IRQ layer needs one semaphore
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20 #define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 20
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
#define CONFIGURE_MAXIMUM_DRIVERS 32 #define CONFIGURE_MAXIMUM_DRIVERS 32
#define CONFIGURE_MAXIMUM_PERIODS 1 #define CONFIGURE_MAXIMUM_PERIODS 10
#define CONFIGURE_POSIX_INIT_THREAD_TABLE #define CONFIGURE_POSIX_INIT_THREAD_TABLE
...@@ -152,7 +152,7 @@ void *POSIX_Init (void); ...@@ -152,7 +152,7 @@ void *POSIX_Init (void);
/* /*
#define CONFIGURE_MAXIMUM_SEMAPHORES __PO_HI_NB_TASKS + (__PO_HI_NB_PORTS + 1) * 2 + __PO_HI_NB_PROTECTED + 1 #define CONFIGURE_MAXIMUM_SEMAPHORES __PO_HI_NB_TASKS + (__PO_HI_NB_PORTS + 1) * 2 + __PO_HI_NB_PROTECTED + 1
*/ */
#define CONFIGURE_MAXIMUM_SEMAPHORES 20 #define CONFIGURE_MAXIMUM_SEMAPHORES 40
#define CONFIGURE_MAXIMUM_TASKS __PO_HI_NB_TASKS + 5 #define CONFIGURE_MAXIMUM_TASKS __PO_HI_NB_TASKS + 5
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 20
#define CONFIGURE_MAXIMUM_PERIODS __PO_HI_NB_TASKS + 5 #define CONFIGURE_MAXIMUM_PERIODS __PO_HI_NB_TASKS + 5
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment