summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-03-31 07:03:22 +0000
committerBernard Xiong <[email protected]>2015-03-31 07:03:22 +0000
commit6c83ff6ecaa772d7e9e3e0340e51ab392310e196 (patch)
treeb8f0b909f4cf56c36b8da6557f45eae19fd4c79e /include/rtthread.h
parent81c4f431099980f0db697218a63b2954153cea6c (diff)
parent0da8d515acb23f702deaa6d6ee332a225d2bdb48 (diff)
Merge remote-tracking branch 'coding/master'
Diffstat (limited to 'include/rtthread.h')
-rw-r--r--include/rtthread.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/rtthread.h b/include/rtthread.h
index edd207bcb7..5309c31d5a 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -437,6 +437,11 @@ void rt_module_unload_sethook(void (*hook)(rt_module_t module));
void rt_module_init_object_container(struct rt_module *module);
rt_err_t rt_module_destroy(rt_module_t module);
+/*
+ * application module system initialization
+ */
+int rt_system_module_init(void);
+
/*@}*/
#endif
@@ -455,10 +460,10 @@ void rt_interrupt_leave(void);
*/
rt_uint8_t rt_interrupt_get_nest(void);
-/**
- * application module
- */
-int rt_system_module_init(void);
+#ifdef RT_USING_COMPONENTS_INIT
+void rt_components_init(void);
+void rt_components_board_init(void);
+#endif
/**
* @addtogroup KernelService