中级会员
 
- 积分
- 346
- 金钱
- 346
- 注册时间
- 2016-7-3
- 在线时间
- 88 小时
|
10金钱
我移植了原子哥的MALLOC文件和文件系统,只要调用和文件系统相关的函数就是报错 内存不够,好奇怪。比如:调用 f_mkfs("1:",FM_ANY,0,fatbuf,FF_MAX_SS); //格式化SPI FLASH,1:,盘就会爆出好几百个错误 都是NO SPACE 。是哪里需要设置吗? 报错如下:
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_hooks.o(i.App_TaskStatHook).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_hooks.o(i.App_TaskSwHook).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching app_hooks.o(i.App_TimeTickHook).
..\OBJ\Template.axf: Error: L6406E: No space in execution regions with .ANY selector matching libshutdown.o(.ARM.Collect$$libshutdown$$00000000).
..\OBJ\Template.axf: Error: L6407E: Sections of aggregate size 0x3cbcc 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 364 error messages.
"..\OBJ\Template.axf" - 364 Error(s), 0 Warning(s).
|
|