RCSN 发表于 2023-1-3 19:31

[先楫HPM6750EVK2测评一] 鸿蒙liteos移植到segger embedded studio平台

<p><span style="font-family:宋体;"><span style="font-size:20px;">&nbsp; 初次了解鸿蒙这个系统,感觉想包含的东西太多了,而且标准版长达80G,楼主下载的Mini版本下来也需要20多G。一个MCU平台,跑个rtos,实在也没必要用这么大的系统整体,纯粹浪费硬盘空间和时间。</span></span></p>

<p><span style="font-family:宋体;"><span style="font-size:20px;">&nbsp; 从Git看到鸿蒙,长达300多个代码仓库,其实真正用上的也就liteos-m,组件可自行根据仓库下载截减。</span></span></p>

<p><span style="font-family:宋体;"><span style="font-size:20px;">&nbsp; 先楫在IDE支持上,免费可使用segger embedded studio平台,也是hpm官方主推的IDE平台,楼主大概花了三天时间进行移植,中间缺少不少依赖的东西,鸿蒙本身内部耦合太重了,实在花费不少时间去移植整合。</span></span><span style="font-family:宋体;"><span style="font-size:20px;">移植过程中,遇到的问题也没记录(主要看着鸿蒙的代码,血压就会升高)</span></span></p>

<p><span style="font-family:宋体;"><span style="font-size:20px;">&nbsp; 楼主已经完成鸿蒙liteos-m的ses移植,可以进行线程调度,对接了鸿蒙自身的shell组件,满足基本的开发要求。后续再加入其他组件支持。</span></span></p>

<p><span style="font-family:宋体;"><span style="font-size:20px;">&nbsp; 仓库地址:https://gitee.com/RCSN/hpm6750evk2_liteos_demo</span></span></p>

<p><span style="font-family:宋体;"><span style="font-size:20px;">&nbsp; 运行效果如下:</span></span></p>

<p><span style="font-family:宋体;"><span style="font-size:20px;">线程切换:</span></span></p>

<p>&nbsp;</p>

<p></p>

<p><span style="font-size:20px;"><span style="font-family:宋体;">shell对接:&nbsp;</span></span></p>

<p> &nbsp;</p>

RCSN 发表于 2023-1-3 20:01

<p>https://gitee.com/RCSN/hpm6750evk2_liteos_demo&nbsp;&nbsp;仓库地址,欢迎star&nbsp;fork</p><br/>

lugl4313820 发表于 2023-1-3 20:27

更加脑出血的是编译更费资源跟空间,我就是因为编译openharmonyos换了电脑,加了内存,买了硬盘。没点实力,玩不起openharmony呀!

吾妻思萌 发表于 2023-1-8 21:16

<p>话说 鸿蒙是不是安卓的套皮啊</p>

startlearning 发表于 2024-11-22 17:30

吾妻思萌 发表于 2023-1-8 21:16
话说 鸿蒙是不是安卓的套皮啊

<p>你是用的哪个版本的segger? 我用segger编译报下面的错误</p>

<p>C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapsi2&#39;:</p>

<p>Rebuilding &#39;hpm6750evk2_liteos_m&#39; from solution &#39;hpm6750evk2_liteos_m&#39; in configuration &#39;Debug&#39;<br />
&nbsp; Compiling &#39;main.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_banner&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_clock_freq&#39;; did you mean &#39;board_init_clock&#39;? [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LosShellInit&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;los_context.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; Compiling &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; Compiling &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; initialization discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; &nbsp; return discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; Compiling &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; Compiling &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; Compiling &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; initialization of &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; Compiling &#39;show.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; may be used uninitialized [-Wmaybe-uninitialized]<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;LOS_Printf&#39;<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;PRINTK&#39;<br />
&nbsp; &nbsp; by argument 1 of type &#39;const time_t *&#39; {aka &#39;const long int *&#39;} to &#39;ctime&#39; declared here<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;time.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; declared here<br />
&nbsp; Compiling &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;EPERM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;securec.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;ENOENT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ECHILD&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EAGAIN&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMEM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EFAULT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EBUSY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EEXIST&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENODEV&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EINVAL&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSPC&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ESPIPE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EMLINK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDOM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ERANGE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDEADLK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSYS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMSG&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EILSEQ&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOBUFS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ETIMEDOUT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EALREADY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; Compiling &#39;los_init.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; Compiling &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; Compiling &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; Compiling &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; Compiling &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; Compiling &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; Compiling &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; Compiling &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; Compiling &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; Compiling &#39;los_task.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; Compiling &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; Compiling &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.h&#39;<br />
&nbsp; Compiling &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; &quot;__CONCAT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;__SEGGER_RTL.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;stdint.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;target_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook_types.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; Linking &#39;hpm6750evk2_liteos_m.elf&#39;<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapsi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapsi2+0x0): multiple definition of `__bswapsi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:11: first defined here<br />
&nbsp; &nbsp; disabling relaxation; it will not work with multiple definitions<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapdi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapdi2+0x0): multiple definition of `__bswapdi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:19: first defined here<br />
&nbsp; &nbsp; Build failed, exit status 0x1<br />
Build failed</p>

<p>Rebuilding &#39;hpm6750evk2_liteos_m&#39; from solution &#39;hpm6750evk2_liteos_m&#39; in configuration &#39;Debug&#39;<br />
&nbsp; Compiling &#39;main.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_banner&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_clock_freq&#39;; did you mean &#39;board_init_clock&#39;? [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LosShellInit&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;los_context.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; Compiling &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; Compiling &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; initialization discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; &nbsp; return discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; Compiling &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; Compiling &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; Compiling &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; initialization of &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; Compiling &#39;show.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; may be used uninitialized [-Wmaybe-uninitialized]<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;LOS_Printf&#39;<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;PRINTK&#39;<br />
&nbsp; &nbsp; by argument 1 of type &#39;const time_t *&#39; {aka &#39;const long int *&#39;} to &#39;ctime&#39; declared here<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;time.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; declared here<br />
&nbsp; Compiling &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;EPERM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;securec.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;ENOENT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ECHILD&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EAGAIN&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMEM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EFAULT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EBUSY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EEXIST&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENODEV&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EINVAL&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSPC&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ESPIPE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EMLINK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDOM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ERANGE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDEADLK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSYS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMSG&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EILSEQ&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOBUFS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ETIMEDOUT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EALREADY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; Compiling &#39;los_init.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; Compiling &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; Compiling &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; Compiling &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; Compiling &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; Compiling &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; Compiling &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; Compiling &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; Compiling &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; Compiling &#39;los_task.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; Compiling &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; Compiling &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.h&#39;<br />
&nbsp; Compiling &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; &quot;__CONCAT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;__SEGGER_RTL.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;stdint.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;target_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook_types.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; Linking &#39;hpm6750evk2_liteos_m.elf&#39;<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapsi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapsi2+0x0): multiple definition of `__bswapsi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:11: first defined here<br />
&nbsp; &nbsp; disabling relaxation; it will not work with multiple definitions<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapdi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapdi2+0x0): multiple definition of `__bswapdi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:19: first defined here<br />
&nbsp; &nbsp; Build failed, exit status 0x1<br />
Build failed</p>

<p>Rebuilding &#39;hpm6750evk2_liteos_m&#39; from solution &#39;hpm6750evk2_liteos_m&#39; in configuration &#39;Debug&#39;<br />
&nbsp; Compiling &#39;main.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_banner&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_clock_freq&#39;; did you mean &#39;board_init_clock&#39;? [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LosShellInit&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;los_context.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; Compiling &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; Compiling &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; initialization discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; &nbsp; return discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; Compiling &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; Compiling &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; Compiling &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; initialization of &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; Compiling &#39;show.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; may be used uninitialized [-Wmaybe-uninitialized]<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;LOS_Printf&#39;<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;PRINTK&#39;<br />
&nbsp; &nbsp; by argument 1 of type &#39;const time_t *&#39; {aka &#39;const long int *&#39;} to &#39;ctime&#39; declared here<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;time.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; declared here<br />
&nbsp; Compiling &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;EPERM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;securec.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;ENOENT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ECHILD&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EAGAIN&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMEM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EFAULT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EBUSY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EEXIST&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENODEV&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EINVAL&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSPC&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ESPIPE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EMLINK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDOM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ERANGE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDEADLK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSYS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMSG&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EILSEQ&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOBUFS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ETIMEDOUT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EALREADY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; Compiling &#39;los_init.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; Compiling &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; Compiling &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; Compiling &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; Compiling &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; Compiling &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; Compiling &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; Compiling &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; Compiling &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; Compiling &#39;los_task.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; Compiling &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; Compiling &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.h&#39;<br />
&nbsp; Compiling &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; &quot;__CONCAT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;__SEGGER_RTL.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;stdint.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;target_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook_types.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; Linking &#39;hpm6750evk2_liteos_m.elf&#39;<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapsi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapsi2+0x0): multiple definition of `__bswapsi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:11: first defined here<br />
&nbsp; &nbsp; disabling relaxation; it will not work with multiple definitions<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapdi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapdi2+0x0): multiple definition of `__bswapdi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:19: first defined here<br />
&nbsp; &nbsp; Build failed, exit status 0x1<br />
Build failed</p>

<p>Rebuilding &#39;hpm6750evk2_liteos_m&#39; from solution &#39;hpm6750evk2_liteos_m&#39; in configuration &#39;Debug&#39;<br />
&nbsp; Compiling &#39;main.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_banner&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_clock_freq&#39;; did you mean &#39;board_init_clock&#39;? [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LosShellInit&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;los_context.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; Compiling &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; Compiling &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; initialization discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; &nbsp; return discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; Compiling &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; Compiling &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; Compiling &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; initialization of &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; Compiling &#39;show.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; may be used uninitialized [-Wmaybe-uninitialized]<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;LOS_Printf&#39;<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;PRINTK&#39;<br />
&nbsp; &nbsp; by argument 1 of type &#39;const time_t *&#39; {aka &#39;const long int *&#39;} to &#39;ctime&#39; declared here<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;time.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; declared here<br />
&nbsp; Compiling &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;EPERM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;securec.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;ENOENT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ECHILD&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EAGAIN&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMEM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EFAULT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EBUSY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EEXIST&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENODEV&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EINVAL&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSPC&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ESPIPE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EMLINK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDOM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ERANGE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDEADLK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSYS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMSG&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EILSEQ&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOBUFS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ETIMEDOUT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EALREADY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; Compiling &#39;los_init.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; Compiling &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; Compiling &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; Compiling &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; Compiling &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; Compiling &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; Compiling &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; Compiling &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; Compiling &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; Compiling &#39;los_task.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; Compiling &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; Compiling &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.h&#39;<br />
&nbsp; Compiling &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; &quot;__CONCAT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;__SEGGER_RTL.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;stdint.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;target_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook_types.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; Linking &#39;hpm6750evk2_liteos_m.elf&#39;<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapsi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapsi2+0x0): multiple definition of `__bswapsi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:11: first defined here<br />
&nbsp; &nbsp; disabling relaxation; it will not work with multiple definitions<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapdi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapdi2+0x0): multiple definition of `__bswapdi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:19: first defined here<br />
&nbsp; &nbsp; Build failed, exit status 0x1<br />
Build failed</p>

<p>Rebuilding &#39;hpm6750evk2_liteos_m&#39; from solution &#39;hpm6750evk2_liteos_m&#39; in configuration &#39;Debug&#39;<br />
&nbsp; Compiling &#39;main.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;main.c&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_banner&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;board_print_clock_freq&#39;; did you mean &#39;board_init_clock&#39;? [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LosShellInit&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;los_context.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch_context.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_context.c&#39;<br />
&nbsp; Compiling &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.c&#39;<br />
&nbsp; Compiling &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.c&#39;<br />
&nbsp; &nbsp; initialization discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; &nbsp; return discards &#39;const&#39; qualifier from pointer target type [-Wdiscarded-qualifiers]<br />
&nbsp; Compiling &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;riscv_hal.c&#39;<br />
&nbsp; Compiling &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_backtrace.c&#39;<br />
&nbsp; Compiling &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shmsg.h&#39;<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; initialization of &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; &nbsp; unknown escape sequence: &#39;\H&#39;<br />
&nbsp; Compiling &#39;show.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;date_shell.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; may be used uninitialized [-Wmaybe-uninitialized]<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;LOS_Printf&#39;<br />
&nbsp; &nbsp; &nbsp; in expansion of macro &#39;PRINTK&#39;<br />
&nbsp; &nbsp; by argument 1 of type &#39;const time_t *&#39; {aka &#39;const long int *&#39;} to &#39;ctime&#39; declared here<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;time.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &#39;nowTime&#39; declared here<br />
&nbsp; Compiling &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;EPERM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;securec.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;fullpath.c&#39;<br />
&nbsp; &nbsp; &quot;ENOENT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ECHILD&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EAGAIN&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMEM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EFAULT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EBUSY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EEXIST&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENODEV&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EINVAL&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSPC&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ESPIPE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EMLINK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDOM&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ERANGE&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EDEADLK&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOSYS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOMSG&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EILSEQ&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ENOBUFS&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;ETIMEDOUT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &quot;EALREADY&quot; redefined<br />
&nbsp; &nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemAlloc&#39; [-Wimplicit-function-declaration]<br />
&nbsp; &nbsp; assignment to &#39;CHAR *&#39; {aka &#39;char *&#39;} from &#39;int&#39; makes pointer from integer without a cast [-Wint-conversion]<br />
&nbsp; &nbsp; implicit declaration of function &#39;LOS_MemFree&#39; [-Wimplicit-function-declaration]<br />
&nbsp; Compiling &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;mempt_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;_pthreadtypes.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shell.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; Compiling &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;show.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmdparse.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;shcmd.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;task_shellcmd.c&#39;<br />
&nbsp; Compiling &#39;los_init.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_arch.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_init.c&#39;<br />
&nbsp; Compiling &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_membox.h&#39;<br />
&nbsp; Compiling &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; Compiling &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_mux.c&#39;<br />
&nbsp; Compiling &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_queue.c&#39;<br />
&nbsp; Compiling &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.c&#39;<br />
&nbsp; Compiling &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sem.c&#39;<br />
&nbsp; Compiling &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sched.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_sortlink.c&#39;<br />
&nbsp; Compiling &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_memory.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_swtmr.c&#39;<br />
&nbsp; Compiling &#39;los_task.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_task.c&#39;<br />
&nbsp; Compiling &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_interrupt.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_timer.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_tick.c&#39;<br />
&nbsp; Compiling &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; &quot;LOSCFG_KERNEL_PRINTF&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_debug.h&#39;<br />
&nbsp; Compiling &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; &quot;__CONCAT&quot; redefined<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; &nbsp; this is the location of the previous definition<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;__SEGGER_RTL.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;stdint.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;target_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_config.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook_types.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.h&#39;<br />
&nbsp; &nbsp; &nbsp; Included From File &#39;los_hook.c&#39;<br />
&nbsp; Linking &#39;hpm6750evk2_liteos_m.elf&#39;<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapsi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapsi2+0x0): multiple definition of `__bswapsi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:11: first defined here<br />
&nbsp; &nbsp; disabling relaxation; it will not work with multiple definitions<br />
&nbsp; &nbsp; C:/Program Files/SEGGER/SEGGER Embedded Studio 8.16a/lib/libc_rv32imac_balanced.a(intops.o): in function `__bswapdi2&#39;:<br />
&nbsp; &nbsp; &nbsp; intops.c:(.text.libc.__bswapdi2+0x0): multiple definition of `__bswapdi2&#39;; Output/Debug/Obj/hpm6750evk2_liteos_m/hpm_swap.o:C:\Users\QD\Downloads\hpm6750evk2_liteos_demo-master\hpm_sdk\utils/hpm_swap.c:19: first defined here<br />
&nbsp; &nbsp; Build failed, exit status 0x1<br />
Build failed</p>

<p>&nbsp;</p>
页: [1]
查看完整版本: [先楫HPM6750EVK2测评一] 鸿蒙liteos移植到segger embedded studio平台