Add rt_rtc_show_calendar();
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@405 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
b2fa3b4783
commit
c53033b881
|
@ -35,6 +35,7 @@ extern void rt_show_version(void);
|
||||||
extern void rt_system_heap_init(void*, void*);
|
extern void rt_system_heap_init(void*, void*);
|
||||||
extern void rt_hw_finsh_init(void);
|
extern void rt_hw_finsh_init(void);
|
||||||
extern void rt_application_init(void);
|
extern void rt_application_init(void);
|
||||||
|
extern void rt_rtc_show_calendar(void);
|
||||||
|
|
||||||
extern struct serial_device uart0;
|
extern struct serial_device uart0;
|
||||||
extern struct rt_device uart0_device;
|
extern struct rt_device uart0_device;
|
||||||
|
@ -98,7 +99,10 @@ void rtthread_startup(void)
|
||||||
|
|
||||||
/* show version */
|
/* show version */
|
||||||
rt_show_version();
|
rt_show_version();
|
||||||
|
|
||||||
|
/* show calendar */
|
||||||
|
rt_rtc_show_calendar();
|
||||||
|
|
||||||
/* init tick */
|
/* init tick */
|
||||||
rt_system_tick_init();
|
rt_system_tick_init();
|
||||||
|
|
||||||
|
@ -110,7 +114,7 @@ void rtthread_startup(void)
|
||||||
|
|
||||||
/* init heap memory system */
|
/* init heap memory system */
|
||||||
#ifdef __CC_ARM
|
#ifdef __CC_ARM
|
||||||
rt_system_heap_init((void*)&Image$$ER_ZI$$ZI$$Limit, (void*)0x07400000);
|
rt_system_heap_init((void*)&Image$$ER_ZI$$ZI$$Limit, (void*)0x34000000);
|
||||||
#else
|
#else
|
||||||
rt_system_heap_init(&__bss_end, (void*)0x34000000);
|
rt_system_heap_init(&__bss_end, (void*)0x34000000);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue