This commit is contained in:
刘可亮
2024-06-04 19:00:30 +08:00
parent 990c72f5be
commit 0a13af6a1d
1668 changed files with 342810 additions and 37726 deletions

View File

@@ -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 */

View File

@@ -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);