**.\code.axf: Error: L6218E: Undefined symbol __aeabi_memcpy (referred from main.o). .\code.axf: Error: L6218E: Undefined symbol __main (referred from startup_cmsdk_cm0.o). .\code.axf: Error: L6218E: Undefined symbol __use_two_region_memory (referred from startup_cmsdk_cm0.o).** 就像这张图一样 ![在这里插入图片描述](https://img-blog.csdnimg.cn/7db6520047c9435dbf7e0b02a2158716.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA54-t6IqxaQ==,size_20,color_FFFFFF,t_70,g_se,x_16)
.\code.axf: Error: L6218E: Undefined symbol __aeabi_memcpy:取消勾选Dont Search Standard Libraries
在做cortex-m0内核移植的时候,这是报错,没找到相关的东西。与undefined symbol不是特别相关,但是网上的帖子给我的想法是**“编译”相关的错误****.\code.axf: Error: L6218E: Undefined symbol __aeabi_memcpy (referred from main.o)..\code.axf: Error: L6218E: Undefined symbol __main (referred from startup_cmsdk_cm0.o