summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2013-07-22 11:01:42 +0800
committerPeng Fan <van.freenix@gmail.com>2013-09-05 13:47:39 +0800
commit0b41f6ca89bb130b66f1acc0caffda9100f53f0f (patch)
tree944de1618f66431474fc83a7c0bb607f3716aa9e /init.c
parent0c4eed48fd7b9983ecf4a94c49cecb59de6c5556 (diff)
V850 Support
Signed-off-by: Peng Fan <van.freenix@gmail.com>
Diffstat (limited to 'init.c')
-rw-r--r--init.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.c b/init.c
index c50d448..f36109c 100644
--- a/init.c
+++ b/init.c
@@ -23,7 +23,16 @@
* Configure base RTEMS resources.
*/
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
+
+/*
+ * v850sim bsp only has 1M ram
+ */
+#if defined(__v850__)
+#define CONFIGURE_MEMORY_OVERHEAD 210
+#else
#define CONFIGURE_MEMORY_OVERHEAD 512
+#endif
+
#define CONFIGURE_MAXIMUM_TASKS rtems_resource_unlimited (10)
#define CONFIGURE_MAXIMUM_SEMAPHORES rtems_resource_unlimited (10)
#define CONFIGURE_MAXIMUM_MESSAGE_QUEUES rtems_resource_unlimited (5)
@@ -54,7 +63,9 @@
#define CONFIGURE_ATA_DRIVER_TASK_PRIORITY 14
#endif
+#if !defined(__v850__)
#define CONFIGURE_FILESYSTEM_ALL
+#endif
/**
* Tell confdefs.h to provide the configuration.