mTower
arch
cortex-m23
m2351
src
numaker_pfm_m2351
nonsecure
FreeRTOSConfig.h
1
2
#ifndef FREERTOS_CONFIG_H
3
#define FREERTOS_CONFIG_H
4
5
/*-----------------------------------------------------------
6
* Application specific definitions.
7
*
8
* These definitions should be adjusted for your particular hardware and
9
* application requirements.
10
*
11
* THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
12
* FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE.
13
*
14
* See http://www.freertos.org/a00110.html.
15
*----------------------------------------------------------*/
16
17
/* Prevent C code being included by the IAR assembler. */
18
#ifndef __IASMARM__
19
#include <stdint.h>
20
extern
uint32_t SystemCoreClock;
21
#endif
22
23
#define configUSE_PREEMPTION 1
24
#define configUSE_IDLE_HOOK 0
25
#define configUSE_TICK_HOOK 0
26
#define configCPU_CLOCK_HZ ( SystemCoreClock )
27
#define configTICK_RATE_HZ ( ( TickType_t ) 1000 )
28
#define configMAX_PRIORITIES ( 8 )
29
#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 128 )
30
#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 0x2000 ) )
31
#define configMAX_TASK_NAME_LEN ( 12 )
32
#define configUSE_TRACE_FACILITY 1
33
#define configUSE_16_BIT_TICKS 0
34
#define configIDLE_SHOULD_YIELD 1
35
#define configUSE_MUTEXES 1
36
#define configQUEUE_REGISTRY_SIZE 8
37
#define configCHECK_FOR_STACK_OVERFLOW 2
38
#define configUSE_RECURSIVE_MUTEXES 1
39
#define configUSE_MALLOC_FAILED_HOOK 1
40
#define configUSE_APPLICATION_TASK_TAG 0
41
#define configUSE_COUNTING_SEMAPHORES 1
42
#define configGENERATE_RUN_TIME_STATS 0
43
#define configUSE_QUEUE_SETS 1
44
45
/* Co-routine definitions. */
46
#define configUSE_CO_ROUTINES 0
47
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
48
49
/* Software timer definitions. */
50
#define configUSE_TIMERS 1
51
#define configTIMER_TASK_PRIORITY ( 2 )
52
#define configTIMER_QUEUE_LENGTH 5
53
#define configTIMER_TASK_STACK_DEPTH ( 80 )
54
55
#define configUSE_TRACE_FACILITY 1
56
#define configUSE_STATS_FORMATTING_FUNCTIONS 1
57
58
/* Set the following definitions to 1 to include the API function, or zero
59
to exclude the API function. */
60
#define INCLUDE_vTaskPrioritySet 1
61
#define INCLUDE_uxTaskPriorityGet 1
62
#define INCLUDE_vTaskDelete 1
63
#define INCLUDE_vTaskCleanUpResources 1
64
#define INCLUDE_vTaskSuspend 1
65
#define INCLUDE_vTaskDelayUntil 1
66
#define INCLUDE_vTaskDelay 1
67
#define INCLUDE_eTaskGetState 1
68
69
/* Normal assert() semantics without relying on the provision of an assert.h
70
header file. */
71
#define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
72
73
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
74
standard names - or at least those used in the unmodified vector table. */
75
#define xPortPendSVHandler PendSV_Handler
76
#define xPortSysTickHandler SysTick_Handler
77
78
/* Bump up the priority of recmuCONTROLLING_TASK_PRIORITY to prevent false
79
positive errors being reported considering the priority of other tasks in the
80
system. */
81
#define recmuCONTROLLING_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )
82
83
#endif
/* FREERTOS_CONFIG_H */
84
Generated by
1.8.13