HiveMind
freertos_platform_config.h
Go to the documentation of this file.
1 #ifndef __FREERTOS_PLATFORM_CONFIG_H_
2 #define __FREERTOS_PLATFORM_CONFIG_H_
3 
4 #include <stdint.h>
5 extern uint32_t SystemCoreClock;
6 
7 /*
8  * The CMSIS-RTOS V2 FreeRTOS wrapper is dependent on the heap implementation used
9  * by the application thus the correct define need to be enabled below (only used if heap 1 or 5)
10  */
11 #define USE_FreeRTOS_HEAP_3
12 
13 /* Clock config that is platform dependent */
14 #define configCPU_CLOCK_HZ (SystemCoreClock)
15 #define configTICK_RATE_HZ ((TickType_t)1000)
16 
17 /* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
18 standard names. */
19 #define vPortSVCHandler SVC_Handler
20 #define xPortPendSVHandler PendSV_Handler
21 #define xPortSysTickHandler SysTick_Handler
22 
23 #endif // __FREERTOS_PLATFORM_CONFIG_H_
SystemCoreClock
uint32_t SystemCoreClock