打印

stm32+freeRTOS+LwIP移植

[复制链接]
13092|21
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
hhbgk|  楼主 | 2011-9-5 11:08 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
编译出现如下错误,有人知道是怎么回事吗?
Building configuration: RTOSDemo - Debug
Updating build tree...
stm32f107.c  
Warning[Pe047]: incompatible redefinition of macro "SCS_BASE" (declared at line 529 of "T:\项目\FreeRTOS_Source\ T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\CORTEX_STM32F103_IAR\STM32F10xFWLib\CM3\core_cm3.h 269
FreeRTOS1.7\Demo\CORTEX_STM32F103_IAR\STM32F10xFWLib\inc\stm32f10x_map.h")
Linking
Error[Li005]: no definition for "tcp_tmr" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "etharp_tmr" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "dhcp_fine_tmr" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "dhcp_coarse_tmr" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "tcp_new" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "tcp_bind" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "tcp_listen_with_backlog" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\
Demo\CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "tcp_accept" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "ip_addr_any" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "tcp_arg" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "tcp_err" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "tcp_write" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "STM32F10x_STR" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "tcp_recved" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "pbuf_free" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "mem_free" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "tcp_close" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\helloworld.o]
Error[Li005]: no definition for "mem_malloc" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\mem.o]
Error[Li005]: no definition for "Set_MAC_Address" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "netif_add" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "netif_set_default" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "dhcp_start" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "netif_set_up" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "ethernet_input" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "ethernetif_init" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\netconf.o]
Error[Li005]: no definition for "EXTI_Init" [referenced from T:\项目\FreeRTOS_Source\FreeRTOS1.7\Demo\
CORTEX_STM32F103_IAR\Debug\Obj\stm32f107.o]
Error[Li005]: no definition for "xAreBlockingQueuesStillRunning" [referenced from T:\项目\FreeRTOS_Source\
FreeRTOS1.7\Demo\CORTEX_STM32F103_IAR\Debug\Obj\main.o]
Error[Li005]: no definition for "xAreBlockTimeTestTasksStillRunning" [referenced from T:\项目\FreeRTOS_Source\
FreeRTOS1.7\Demo\CORTEX_STM32F103_IAR\Debug\Obj\main.o]
Error[Li005]: no definition for "xArePollingQueuesStillRunning" [referenced from T:\项目\FreeRTOS_Source\
FreeRTOS1.7\Demo\CORTEX_STM32F103_IAR\Debug\Obj\main.o]
Error[Lp011]: section placement failed: unable to allocate space for sections/blocks with a total estimated minimum  
size of 0xe17a bytes in <[mem:0x20000000-mem:0x20004fff]> (total uncommitted space 0x5000)
Error while running Linker

Total number of errors: 30
Total number of warnings: 1
沙发
open_free| | 2011-9-5 13:25 | 只看该作者
根据提示一点点找吧。。:)

使用特权

评论回复
板凳
hhbgk|  楼主 | 2011-9-5 13:44 | 只看该作者
有没有人在stm3210x上移植freeRTOS+LwIP成功的啊

使用特权

评论回复
地板
open_free| | 2011-9-5 18:27 | 只看该作者
肯定能成功,你咋选这么有难度的。。。

使用特权

评论回复
5
dfsa| | 2011-9-5 19:53 | 只看该作者
有些难度

使用特权

评论回复
6
火箭球迷| | 2011-9-5 22:59 | 只看该作者
没有移植过

使用特权

评论回复
7
guet_new_man| | 2011-9-6 11:40 | 只看该作者
LZ好好努力啊 过段时间我可能也要这样搞一下,到时多多交流 。

使用特权

评论回复
8
hhbgk|  楼主 | 2011-9-6 20:54 | 只看该作者
肯定能成功,你咋选这么有难度的。。。
open_free 发表于 2011-9-5 18:27

请问你移植成功了吗?

使用特权

评论回复
9
hhbgk|  楼主 | 2011-9-6 20:55 | 只看该作者
有些难度
dfsa 发表于 2011-9-5 19:53

没人指点,只能靠自己啃了

使用特权

评论回复
10
hhbgk|  楼主 | 2011-9-6 20:56 | 只看该作者
上面的问题是解决了,现在是有新的问题啊,如下:
section placement failed: unable to allocate space for ctions/blocks  with a total estimated minimum size of 0x10cc2 bytes in  <[mem:0x20000000-mem:0x20004fff]> (total uncommitted space 0x5000)

使用特权

评论回复
11
hb_haitao2009| | 2011-9-7 16:55 | 只看该作者
有移植,但是会崩溃:'(

使用特权

评论回复
12
mrxiaocui| | 2012-3-29 16:10 | 只看该作者
你好 现在你的freerto+lwip调通了吗 能不能发给我个例程 谢谢 386845497@qq.com

使用特权

评论回复
13
mrxiaocui| | 2012-3-29 16:10 | 只看该作者
你好 现在你的freerto+lwip调通了吗 能不能发给我个例程 谢谢 386845497@qq.com

使用特权

评论回复
14
winloop| | 2012-3-30 09:37 | 只看该作者
你太坏了,人家正求助呢,你这跟人家要例程

使用特权

评论回复
15
yinyangdianzi| | 2012-3-30 09:55 | 只看该作者
tmall

使用特权

评论回复
16
a43770| | 2012-12-6 16:09 | 只看该作者
头文件没有包含进去

使用特权

评论回复
17
song19881218| | 2012-12-6 16:16 | 只看该作者
ST官网有这方面的例程,可以去下载一下

使用特权

评论回复
18
song19881218| | 2012-12-6 16:18 | 只看该作者
这个可以取借鉴一下

stm32f2x7_eth_lwip.zip

3.34 MB

使用特权

评论回复
19
wjjontheway| | 2014-4-18 09:07 | 只看该作者
谢谢song19881218的分享啊。

使用特权

评论回复
20
alber5099| | 2014-10-31 08:45 | 只看该作者
謝謝,我正在做這個

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

0

主题

11

帖子

1

粉丝