mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
dummy/default-configuration.c: Tune configuration down for small targets
This commit is contained in:
1 parent
735efe7e6d
commit
54bfbe05bc
1 file changed
+10
-4
@@ -86,11 +86,17 @@ static void Init( rtems_task_argument arg )
|
||||
/* This is enough to get a basic main() up. */
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
#define CONFIGURE_UNIFIED_WORK_AREAS
|
||||
#define CONFIGURE_UNLIMITED_OBJECTS
|
||||
#define CONFIGURE_STACK_CHECKER_ENABLED
|
||||
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 8
|
||||
#define CONFIGURE_MAXIMUM_DRIVERS 16
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
|
||||
|
||||
/* on smaller architectures lower the number or resources */
|
||||
#if defined(__m32c__)
|
||||
#define CONFIGURE_MAXIMUM_TASKS 3
|
||||
#else
|
||||
#define CONFIGURE_UNLIMITED_OBJECTS
|
||||
#define CONFIGURE_MAXIMUM_USER_EXTENSIONS 8
|
||||
#define CONFIGURE_MAXIMUM_DRIVERS 16
|
||||
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
|
||||
#endif
|
||||
|
||||
/* Include basic device drivers needed to call delays */
|
||||
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
||||
|
||||
Reference in new issue
Block a user