summaryrefslogtreecommitdiff
path: root/include/rtthread.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-04-10 14:43:42 +0800
committerBernard Xiong <[email protected]>2015-04-10 14:43:42 +0800
commit3949ae258b8fb115d5e81bdf9d5c284ccd419ffe (patch)
treee1e32a9935deab57084e1a9f9cdae2e570559d60 /include/rtthread.h
parent2ff048f7f0170d618333edc4484cb6b09eaf17fd (diff)
parent1f95de43aa6f24d2684e40b1d9e1a60689f7651d (diff)
Merge pull request #456 from BernardXiong/master
[tools] Add package.json as building script.
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