Creating FreeRTOS project step-by-step. LPC1769

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Creating FreeRTOS project step-by-step. LPC1769

1,921 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yanvasilij on Sun Nov 20 09:08:06 MST 2011
Hello! I'm trying to create FreeRTOS project for LPC1768, but I don't want base my projects on examples. I want to know, which files I should to include, which I should to change. Do you mind to explain haw to create step-by-step FreeRTOS project from the very outset?
0 项奖励
回复
5 回复数

1,736 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Mon Nov 21 00:05:15 MST 2011

Quote: yanvasilij
Undefined symbol vApplicationStackOverflowHook (referred from tasks.o). What should I do? Please help!


Either disable stack checking in FreeRTOSConfog.h (look for configCHECK_FOR_STACK_OVERFLOW), define this function:
#if (configCHECK_FOR_STACK_OVERFLOW > 0)
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
{
    volatile signed char *name;
    volatile xTaskHandle *pxT;

    name = pcTaskName;
    pxT  = pxTask;
    while(1);
}
#endif
or - even better - read the FreeRTOS user manual

Rob
0 项奖励
回复

1,736 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yanvasilij on Sun Nov 20 23:46:22 MST 2011
It may be out of place here, but haw to create the FreeRTOS project in keil? I've done all like in LPCXpresso IDE, but I always get an error: 2.axf: Error: L6218E: Undefined symbol vApplicationStackOverflowHook (referred from tasks.o). What should I do? Please help!
0 项奖励
回复

1,736 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Sun Nov 20 21:54:55 MST 2011
Of course :eek:

See: http://support.code-red-tech.com/CodeRedWiki/PostProcessApp
0 项奖励
回复

1,736 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by yanvasilij on Sun Nov 20 21:44:11 MST 2011
This is really handy! Thanks! Is it possible to create a hex file in latest IDE?
0 项奖励
回复

1,736 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Polux rsv on Sun Nov 20 14:59:59 MST 2011
With the latest IDE, create new project, select LPC1700 familly, you will discover a template for what you want. You only need Freertos on your disk, so the IDE could copy the needed files in your new project.

Angelo
0 项奖励
回复