Content originally posted in LPCWare by arturn on Fri May 31 11:04:03 MST 2013
Hi!
I'm working with LPCXpresso v5.1.2 , in my workspace I have a project named FreeRTOS_Library, some aditional library projects and the main project named Main01.
I'm trying to use vApplicationIdleHook to set MCU in sleep mode, but vApplicationIdleHook It's never called..
I've set config_USE_IDLE_HOOK to 1 in FreeRTOSConfig.h Main01 project, but when I start to debug, a watch to config_USE_IDLE_HOOK shows 0 value..
In main.c from Main01 I include FreeRTOS.h , should I insert also FreeRTOSConfig.h ?
It's seems to compiler include only FreeRTOSConfig.h from FreeRTOS_Library and not from my project...
Can anyone help-me?
Thnks!