找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 5486|回复: 2
打印 上一主题 下一主题
收起左侧

请问 MDK 编译 Error: L6200E:两个错误怎么修改

[复制链接]
跳转到指定楼层
楼主
*** Using Compiler 'V5.06 update 3 (build 300)', folder: 'D:\Program File\ARM\ARMCC\Bin'
Rebuild target 'Target 1'
assembling startup_stm32f10x_hd.s...
compiling delay.c...
compiling FreeRTOS.c...
compiling usart.c...
compiling sys.c...
compiling key.c...
compiling croutine.c...
compiling led.c...
compiling event_groups.c...
compiling list.c...
compiling queue.c...
compiling stream_buffer.c...
compiling timers.c...
compiling tasks.c...
compiling LCD.c...
compiling FreeRTOS.c...
compiling port.c...
compiling heap_4.c...
linking...
..\OBJ\FreeRTOS.axf: Error: L6200E: Symbol __ARM_use_no_argv multiply defined (by freertos_1.o and freertos.o).
..\OBJ\FreeRTOS.axf: Error: L6200E: Symbol main multiply defined (by freertos_1.o and freertos.o).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 2 error messages.
"..\OBJ\FreeRTOS.axf" - 2 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:02


移植FreeRTOS到STM32F103开发板,出现这两个错误,光标不得定位错误行。
请问怎么解决?谢谢


分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 分享淘帖 顶 踩
回复

使用道具 举报

沙发
ID:168996 发表于 2020-2-9 18:30 | 只看该作者
为什么有两个FreeRTOS.c?看错误信息应该是有2个模块重复定义了某1个或多个符号(函数等)
回复

使用道具 举报

板凳
ID:140644 发表于 2020-2-12 15:47 | 只看该作者
谢谢,重新移植了一个
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|51黑电子论坛 |51黑电子论坛6群 QQ 管理员QQ:125739409;技术交流QQ群281945664

Powered by 单片机教程网

快速回复 返回顶部 返回列表