33 lines
1012 B
C
33 lines
1012 B
C
#pragma once
|
|
|
|
|
|
#include <rtems/extension.h>
|
|
#include <rtems/bspIo.h>
|
|
void user_handle_fatal(Internal_errors_Source source, bool internal, Internal_errors_t error_code);
|
|
|
|
#define RTEMS_USE_UNLIMITED_OBJECTS_ALLOCATION 0
|
|
|
|
#define CONFIGURE_MICROSECONDS_PER_TICK 1000
|
|
|
|
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
|
|
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
|
|
|
|
#define CONFIGURE_MAXIMUM_TASKS 20
|
|
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES 30
|
|
#define CONFIGURE_MAXIMUM_SEMAPHORES 20
|
|
#define CONFIGURE_MAXIMUM_TIMERS 10
|
|
//! Required for Rate-Monotonic Scheduling (RMS)
|
|
#define CONFIGURE_MAXIMUM_PERIODS 15
|
|
#define CONFIGURE_INIT_TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE * 6)
|
|
//! Around 41 kB extra task stack for now.
|
|
#define CONFIGURE_EXTRA_TASK_STACKS (10 * RTEMS_MINIMUM_STACK_SIZE)
|
|
|
|
#define CONFIGURE_INITIAL_EXTENSIONS { NULL, NULL, NULL, NULL, NULL, NULL, NULL, user_handle_fatal, NULL }
|
|
|
|
#define CONFIGURE_INIT
|
|
|
|
#include <rtems.h>
|
|
#include <rtems/confdefs.h>
|