rtems: Allow site local override of the default tick period
Add to configure/CONFIG_SITE.local: OP_SYS_CFLAGS += -DCONFIGURE_MICROSECONDS_PER_TICK=1000
This commit is contained in:

committed by
Andrew Johnson

parent
9866815dab
commit
c5f5e4e508
@ -26,7 +26,14 @@ extern void *POSIX_Init(void *argument);
|
|||||||
#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE (64*1024)
|
#define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE (64*1024)
|
||||||
|
|
||||||
#define CONFIGURE_MAXIMUM_PERIODS 5
|
#define CONFIGURE_MAXIMUM_PERIODS 5
|
||||||
|
/*
|
||||||
|
* Override in configure/CONFIG_SITE.local with:
|
||||||
|
*
|
||||||
|
* OP_SYS_CFLAGS += -DCONFIGURE_MICROSECONDS_PER_TICK=1000
|
||||||
|
*/
|
||||||
|
#ifndef CONFIGURE_MICROSECONDS_PER_TICK
|
||||||
#define CONFIGURE_MICROSECONDS_PER_TICK 10000
|
#define CONFIGURE_MICROSECONDS_PER_TICK 10000
|
||||||
|
#endif
|
||||||
#define CONFIGURE_MALLOC_STATISTICS 1
|
#define CONFIGURE_MALLOC_STATISTICS 1
|
||||||
/* MINIMUM_STACK_SIZE == 8K */
|
/* MINIMUM_STACK_SIZE == 8K */
|
||||||
#define CONFIGURE_EXTRA_TASK_STACKS (4000 * RTEMS_MINIMUM_STACK_SIZE)
|
#define CONFIGURE_EXTRA_TASK_STACKS (4000 * RTEMS_MINIMUM_STACK_SIZE)
|
||||||
|
Reference in New Issue
Block a user