]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - os/7.4.2_tms570/include/os/FreeRTOSConfig.h
Implement device specific configuration file
[pes-rpp/rpp-lib.git] / os / 7.4.2_tms570 / include / os / FreeRTOSConfig.h
index 3ba8542f10fd3fb13898dc859117c569ede90bc3..720991107e34b10cfed6860787d66b630f08436e 100644 (file)
@@ -20,6 +20,7 @@
  * Please change configCHECK_FOR_STACK_OVERFLOW to 0 when going to production
  * Check http://www.freertos.org/Stacks-and-stack-overflow-checking.html
  *----------------------------------------------------------*/
+#include "sys/port.h"
 
 
 #define configUSE_PREEMPTION                    1
@@ -29,7 +30,7 @@
 #define configUSE_TICK_HOOK                     0
 #define configUSE_TRACE_FACILITY                0
 #define configUSE_16_BIT_TICKS                  0
-#define configCPU_CLOCK_HZ                      ( ( unsigned portLONG ) 80000000 ) /* Timer clock. */
+#define configCPU_CLOCK_HZ                      ( ( unsigned portLONG ) RPP_RCLK_FREQ ) /* Timer clock. */
 #define configTICK_RATE_HZ                      ( ( portTickType ) 1000 )
 #define configMAX_PRIORITIES                    ( 5 )
 #define configMINIMAL_STACK_SIZE                ( ( unsigned portSHORT ) 128 )