OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2419|回复: 3

网络初始化与初始化内存池冲突啦!

[复制链接]

72

主题

245

帖子

0

精华

高级会员

Rank: 4

积分
510
金钱
510
注册时间
2015-11-13
在线时间
131 小时
发表于 2018-1-30 15:40:08 | 显示全部楼层 |阅读模式
5金钱
        //网络初始化
        ETH_BSP_Config();   
        LwIP_Init();      
        TCP_Client_Init(TCP_LOCAL_PORT,TCP_Server_PORT,TCP_Server_IP);
         
        FM1288_Init();
       //内存池初始化
          my_mem_init(SRAMIN);               
           my_mem_init(SRAMCCM);               
          exfuns_init();                               
       f_mount(fs[0],"0:",1);        

       
只要屏蔽掉上面任意一个初始化就没问题   如果上面全都编译  就会出现下面这些错误,是哪里出问题了吗?

Build target 'RECORDER'
compiling main.c...
linking...
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching memp.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching ip_frag.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f40_41xxx.o(STACK).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching sdio_sdcard.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f40_41xxx.o(HEAP).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching etharp.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching libspace.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching exfuns.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching tcp.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching netconf.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching malloc.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching tcp_in.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching exfuns.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching system_stm32f4xx.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching tcp_in.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching sdio_sdcard.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching i2s.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f4xx_rcc.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching stm32f4x7_eth_1.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching inet.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching mem.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching ff.o(.bss).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching netconf.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching ip.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching netif.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching usart.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching ip_frag.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching tcp_client.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching delay.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching dhcp.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching raw.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching udp.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching diskio.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching ff.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching key.o(.data).
..\OBJ\Recorder.axf: Error: L6406E: No space in execution regions with .ANY selector matching etharp.o(.data).
..\OBJ\Recorder.axf: Error: L6407E: Sections of aggregate size 0x370c bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 0 warning and 39 error messages.
"..\OBJ\Recorder.axf" - 39 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:10

最佳答案

查看完整内容[请看2#楼]

RAM空间不够了,减少malloc.h的内存管理大小
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

27

主题

81

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
411
金钱
411
注册时间
2014-4-18
在线时间
94 小时
发表于 2018-1-30 15:40:09 | 显示全部楼层
RAM空间不够了,减少malloc.h的内存管理大小
回复

使用道具 举报

72

主题

245

帖子

0

精华

高级会员

Rank: 4

积分
510
金钱
510
注册时间
2015-11-13
在线时间
131 小时
 楼主| 发表于 2018-1-30 15:40:29 | 显示全部楼层
回复

使用道具 举报

72

主题

245

帖子

0

精华

高级会员

Rank: 4

积分
510
金钱
510
注册时间
2015-11-13
在线时间
131 小时
 楼主| 发表于 2018-1-31 08:59:16 | 显示全部楼层
Mfweb 发表于 2018-1-30 15:40
RAM空间不够了,减少malloc.h的内存管理大小

感谢大神指点
回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-8 14:20

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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