File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 1 tab == 4 spaces!
6868*/
6969
70-
7170#ifndef FREERTOS_CONFIG_H
7271#define FREERTOS_CONFIG_H
7372
8382 * See http://www.freertos.org/a00110.html.
8483 *----------------------------------------------------------*/
8584
86-
8785#include <stdint.h>
8886
8987extern uint32_t SystemCoreClock ;
@@ -195,7 +193,7 @@ extern uint32_t SystemCoreClock;
195193#define INCLUDE_vTaskSuspend 1
196194#define INCLUDE_xTimerPendFunctionCall 1
197195
198- /* Defines that map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
196+ /* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
199197#define xPortPendSVHandler PendSV_Handler
200198#define vPortSVCHandler SVC_Handler
201199
Original file line number Diff line number Diff line change 6767 1 tab == 4 spaces!
6868*/
6969
70-
7170#ifndef FREERTOS_CONFIG_H
7271#define FREERTOS_CONFIG_H
7372
8382 * See http://www.freertos.org/a00110.html.
8483 *----------------------------------------------------------*/
8584
86-
8785#include <stdint.h>
8886
8987extern uint32_t SystemCoreClock ;
@@ -195,7 +193,7 @@ extern uint32_t SystemCoreClock;
195193#define INCLUDE_vTaskSuspend 1
196194#define INCLUDE_xTimerPendFunctionCall 1
197195
198- /* Defines that map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
196+ /* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
199197#define xPortPendSVHandler PendSV_Handler
200198#define vPortSVCHandler SVC_Handler
201199
Original file line number Diff line number Diff line change 6767 1 tab == 4 spaces!
6868*/
6969
70-
7170#ifndef FREERTOS_CONFIG_H
7271#define FREERTOS_CONFIG_H
7372
8382 * See http://www.freertos.org/a00110.html.
8483 *----------------------------------------------------------*/
8584
86-
8785#include <stdint.h>
8886
8987extern uint32_t SystemCoreClock ;
@@ -200,10 +198,10 @@ extern uint32_t SystemCoreClock;
200198#define configINTERRUPT_CONTROLLER_CPU_INTERFACE_OFFSET 0x00000100UL
201199#define configUNIQUE_INTERRUPT_PRIORITIES 16
202200#define configMAX_API_CALL_INTERRUPT_PRIORITY 16
201+
203202extern void vSetupTickInterrupt (void );
204203extern void vClearTickInterrupt (void );
205204#define configSETUP_TICK_INTERRUPT () vSetupTickInterrupt()
206205#define configCLEAR_TICK_INTERRUPT () vClearTickInterrupt()
207- #define configMAX_TASK_NAME_LEN (10)
208206
209207#endif /* FREERTOS_CONFIG_H */
Original file line number Diff line number Diff line change 8383 *----------------------------------------------------------*/
8484
8585#include <stdint.h>
86+
8687extern uint32_t SystemCoreClock ;
8788
8889#define configCPU_CLOCK_HZ (SystemCoreClock)
@@ -150,10 +151,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
150151header file. */
151152#define configASSERT ( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
152153
153- /* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
154- standard names. */
155- #define vPortSVCHandler SVC_Handler
154+ /* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
156155#define xPortPendSVHandler PendSV_Handler
156+ #define vPortSVCHandler SVC_Handler
157157#define xPortSysTickHandler SysTick_Handler
158158
159159/* Include debug event definitions */
Original file line number Diff line number Diff line change 8383 *----------------------------------------------------------*/
8484
8585#include <stdint.h>
86+
8687extern uint32_t SystemCoreClock ;
8788
8889#define configCPU_CLOCK_HZ (SystemCoreClock)
@@ -150,10 +151,9 @@ See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
150151header file. */
151152#define configASSERT ( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
152153
153- /* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
154- standard names. */
155- #define vPortSVCHandler SVC_Handler
154+ /* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */
156155#define xPortPendSVHandler PendSV_Handler
156+ #define vPortSVCHandler SVC_Handler
157157#define xPortSysTickHandler SysTick_Handler
158158
159159/* Include debug event definitions */
You can’t perform that action at this time.
0 commit comments