Changeset 54bfbe0 in rtems


Ignore:
Timestamp:
Mar 20, 2015, 3:43:46 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
0a9345ed
Parents:
735efe7
git-author:
Joel Sherrill <joel.sherrill@…> (03/20/15 15:43:46)
git-committer:
Joel Sherrill <joel.sherrill@…> (03/24/15 13:16:27)
Message:

dummy/default-configuration.c: Tune configuration down for small targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/dummy/default-configuration.c

    r735efe7 r54bfbe0  
    8787#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    8888#define CONFIGURE_UNIFIED_WORK_AREAS
    89 #define CONFIGURE_UNLIMITED_OBJECTS
    9089#define CONFIGURE_STACK_CHECKER_ENABLED
    91 #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 8
    92 #define CONFIGURE_MAXIMUM_DRIVERS 16
    93 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
     90
     91/* on smaller architectures lower the number or resources */
     92#if defined(__m32c__)
     93  #define CONFIGURE_MAXIMUM_TASKS 3
     94#else
     95  #define CONFIGURE_UNLIMITED_OBJECTS
     96  #define CONFIGURE_MAXIMUM_USER_EXTENSIONS 8
     97  #define CONFIGURE_MAXIMUM_DRIVERS 16
     98  #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 32
     99#endif
    94100
    95101/* Include basic device drivers needed to call delays */
Note: See TracChangeset for help on using the changeset viewer.