OpenEdv-开源电子网

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

求助,emwin升级5.40的问题

[复制链接]

2

主题

7

帖子

0

精华

新手上路

积分
31
金钱
31
注册时间
2017-12-30
在线时间
5 小时
发表于 2018-1-4 23:18:23 | 显示全部楼层 |阅读模式
1金钱
请问使用767开发板,在扩展例程的emwin工程中,想把emwin升级到5.40,是直接从st下载覆盖STEMWIN文件夹就可以吗?
我直接替换后,编译报空间不足故障,最基本的button工程,只是emwin升级到了5.40,我需要改哪里吗?
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching os_var.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching os_var.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching gui_core.o(.data).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching wm.o(.data).
..\OBJ\Template.axf: Error: L6407E: Sections of aggregate size 0x22ed00 bytes could not fit into .ANY selector(s).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 198 error messages.
"..\OBJ\Template.axf" - 198 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:05

最佳答案

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

我把conf目录也覆盖了,恢复conf目录后正常了,可以编译成功了。
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

2

主题

7

帖子

0

精华

新手上路

积分
31
金钱
31
注册时间
2017-12-30
在线时间
5 小时
 楼主| 发表于 2018-1-4 23:18:24 | 显示全部楼层
我把conf目录也覆盖了,恢复conf目录后正常了,可以编译成功了。
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165538
金钱
165538
注册时间
2010-12-1
在线时间
2117 小时
发表于 2018-1-5 01:01:14 | 显示全部楼层
帮顶
回复

使用道具 举报

88

主题

7377

帖子

5

精华

资深版主

Rank: 8Rank: 8

积分
14980
金钱
14980
注册时间
2013-11-13
在线时间
1823 小时
发表于 2018-1-5 09:54:26 | 显示全部楼层
内存不够,把内存管理所管理的内部ram内存池改小,直到能编译下去
回复

使用道具 举报

2

主题

7

帖子

0

精华

新手上路

积分
31
金钱
31
注册时间
2017-12-30
在线时间
5 小时
 楼主| 发表于 2018-1-5 10:59:32 | 显示全部楼层
我看了下.map,主要是malloc.c占了非常多的ram。     

Code (inc. data)   RO Data    RW Data    ZI Data      Debug   Object Name

       212          0          0          0          0       3374   24cxx.o
         0          0       8420          0          0       1082   bmbuttonround_80x35.o
         0          0       8420          0          0       1125   bmbuttonroundpressed_80x35.o
         0          0     122520          0          0       1053   bmknob_175x175.o
        60         16          0          0          0      12078   bsp.o
        52          0          0          0          0        448   cpu_a.o
       344         48          0         28         16      10699   cpu_core.o
       768         76          0          0          0       7025   ctiic.o
       260         36          0          8          0       4885   delay.o
         0          0      13524          0          0       8103   font23s_aa4.o
         0          0      12558          0          0       8283   font23sl_aa4.o
         0          0      25084          0          0       8123   font32s_aa4.o
         0          0      10994          0          0       8279   font32sl_aa4.o
       898         84        250          1          0       5236   gt5688.o
        44         12          0          0          0       2814   gui_x_touch_analog.o
       204         66          0         20          0       6535   gui_x_ucosiii.o
        32         10          0          0    2097152        735   guiconf.o
       128         18          0          0          0       1291   key.o
       166         34          0          0          0       7836   lcdconf_flexcolor_template.o
        76          8          0          0          0       1171   led.o
        70          0          0          0          0      13818   lib_mem.o
       990         96          0          8    2048200      10184   ltdc.o
       832        170          0          0       4272     532199   main.o
      1942        146       1357        308          0      13431   maintask.o
       116         18         36         36   22521600       4560   malloc.o
回复

使用道具 举报

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

本版积分规则



关闭

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

正点原子公众号

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

GMT+8, 2025-6-15 16:07

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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