mirror of
https://gitee.com/Vancouver2017/luban-lite-t3e-pro.git
synced 2025-12-16 19:38:56 +00:00
V1.0.5
This commit is contained in:
@@ -249,6 +249,7 @@ int rtthread_startup(void)
|
||||
rt_hw_board_init();
|
||||
|
||||
/* show RT-Thread version */
|
||||
rt_show_banner();
|
||||
rt_show_version();
|
||||
|
||||
/* timer system initialization */
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <rtthread.h>
|
||||
#include <rthw.h>
|
||||
#include <aic_core.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef RT_USING_MODULE
|
||||
#include <dlmodule.h>
|
||||
@@ -639,13 +640,22 @@ RTM_EXPORT(rt_strdup);
|
||||
/**
|
||||
* This function will show the version of rt-thread rtos
|
||||
*/
|
||||
void rt_show_version(void)
|
||||
void rt_show_banner(void)
|
||||
{
|
||||
rt_kprintf("%s", BANNER1);
|
||||
rt_kprintf("%s", BANNER2);
|
||||
rt_kprintf("%s", BANNER3);
|
||||
rt_kprintf("Welcome to ArtInChip Luban-Lite %d.%d [Built on %s %s]\n",
|
||||
LL_VERSION, LL_SUBVERSION, __DATE__, __TIME__);
|
||||
}
|
||||
RTM_EXPORT(rt_show_banner);
|
||||
|
||||
void rt_show_version(void)
|
||||
{
|
||||
char ver[] = PRJ_CHIP;
|
||||
|
||||
ver[0] = toupper(ver[0]);
|
||||
rt_kprintf("Welcome to ArtInChip Luban-Lite %d.%d.%d [%s Inside]\n",
|
||||
LL_VERSION, LL_SUBVERSION, LL_REVISION, ver);
|
||||
rt_kprintf("Built on %s %s\n", __DATE__, __TIME__);
|
||||
}
|
||||
RTM_EXPORT(rt_show_version);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user