野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 8079|回复: 2

[liteOS] huawei LIteOS 中移植emWin图像显示

[复制链接]
发表于 2017-3-21 09:59:09 | 显示全部楼层 |阅读模式
在SIM32F103是支持emWin图像显示的。实际也烧了个运用案例试了一下也是可以的。但是在移植了huawei LiteOS内核以后怎么样的编译不通过报错。
*** Using Compiler 'V5.06 update 4 (build 422)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'HuaweiLiteOS'
compiling main.c...
linking...
.\Objects\HuaweiLiteOS.axf: Error: L6406E: No space in execution regions with .ANY selector matching startup_stm32f10x_hd.o(STACK).
.\Objects\HuaweiLiteOS.axf: Error: L6407E: Sections of aggregate size 0x400 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 2 error messages.
".\Objects\HuaweiLiteOS.axf" - 2 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:04

/**********************************************END***********************************************************/
创建Touch_MainTask任务。
UINT32 creat_Touch_MainTask(void)
{
        UINT32 uwRet = LOS_OK;
        TSK_INIT_PARAM_S task_init_param;
        task_init_param.usTaskPrio = 0;
        task_init_param.pcName = "Touch_MainTask";
        task_init_param.pfnTaskEntry = (TSK_ENTRY_FUNC)Touch_MainTask;
        task_init_param.uwStackSize = LOSCFG_BASE_CORE_TSK_DEFAULT_STACK_SIZE ;//    SIZE(0x2D0)     // default stack
        task_init_param.uwResved = LOS_TASK_STATUS_DETACHED;
        uwRet = LOS_TaskCreate(&g_TestTskHandle,&task_init_param);
        if(uwRet !=LOS_OK)
        {
                return uwRet;
        }
        return uwRet;
}

huawei LiteOS内核的其他参数都没有修改过。
请问这个问题该如何解决的。。。

内存参数也都设置过了。。




rom

rom

优化

优化

堆栈size

堆栈size
回复

使用道具 举报

发表于 2017-3-21 14:01:09 | 显示全部楼层
空间不够,图标的文件注意要使用const修饰
回复 支持 反对

使用道具 举报

发表于 2017-3-22 09:15:40 | 显示全部楼层
回复 支持 反对

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-5-3 03:19 , Processed in 0.027266 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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