diff options
| author | Bernard.Xiong <[email protected]> | 2015-03-22 09:06:48 +0800 |
|---|---|---|
| committer | Bernard.Xiong <[email protected]> | 2015-03-22 09:06:48 +0800 |
| commit | 62a0172d11e559272128bf52b56ef806ba28ae24 (patch) | |
| tree | dbed34a3f0b1f4cd96d12c83e8fb10ddd782a1e0 /include/rtthread.h | |
| parent | e2cfb1f796adf8e8be10b19af43ffe1caee0cd15 (diff) | |
[Kernel] Fix the system initialization link issue
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 13 |
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 |
