summaryrefslogtreecommitdiff
path: root/examples/imx7_colibri_m4/low_power_demo/FreeRTOSConfig.h
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2017-03-02 17:29:43 -0800
committerStefan Agner <stefan.agner@toradex.com>2017-03-02 17:29:43 -0800
commitc8ea6f4a7541f848b4ca6720c9f5a8d3d1fc8958 (patch)
treecd9671e1bbe6882b13b5996046af649d8ace7cd0 /examples/imx7_colibri_m4/low_power_demo/FreeRTOSConfig.h
parent8133945bc624bfde2dc5f26fa7d6b55e82524a62 (diff)
initial low power mode implementation
Diffstat (limited to 'examples/imx7_colibri_m4/low_power_demo/FreeRTOSConfig.h')
-rw-r--r--examples/imx7_colibri_m4/low_power_demo/FreeRTOSConfig.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/imx7_colibri_m4/low_power_demo/FreeRTOSConfig.h b/examples/imx7_colibri_m4/low_power_demo/FreeRTOSConfig.h
index 45eccbb..2027d64 100644
--- a/examples/imx7_colibri_m4/low_power_demo/FreeRTOSConfig.h
+++ b/examples/imx7_colibri_m4/low_power_demo/FreeRTOSConfig.h
@@ -84,10 +84,12 @@
#include <stdint.h>
#endif
+extern unsigned long configCPU_CLOCK_HZ;
+
#define configUSE_PREEMPTION 1
#define configUSE_IDLE_HOOK 1
#define configUSE_TICK_HOOK 0
-#define configCPU_CLOCK_HZ (240000000ul)
+#define configCPU_CLOCK_HZ_DEFAULT (240000000ul)
#define configTICK_RATE_HZ ((TickType_t)1000)
#define configMAX_PRIORITIES (5)
#define configMINIMAL_STACK_SIZE ((unsigned short)130)
@@ -125,6 +127,7 @@ to exclude the API function. */
#define INCLUDE_vTaskSuspend 1
#define INCLUDE_vTaskDelayUntil 0
#define INCLUDE_vTaskDelay 1
+#define INCLUDE_xTaskGetSchedulerState 1
/* Cortex-M specific definitions. */
#ifdef __NVIC_PRIO_BITS