|
17 | 17 | * |
18 | 18 | * -------------------------------------------------------------------------- |
19 | 19 | * |
20 | | - * $Revision: V10.0.1 |
| 20 | + * $Revision: V10.1.1 |
21 | 21 | * |
22 | 22 | * Project: CMSIS-FreeRTOS |
23 | 23 | * Title: FreeRTOS configuration definitions |
|
45 | 45 | #include "RTE_Components.h" |
46 | 46 | #include CMSIS_device_header |
47 | 47 |
|
48 | | -#include "os_tick.h" |
49 | | - |
50 | 48 | //-------- <<< Use Configuration Wizard in Context Menu >>> -------------------- |
51 | 49 |
|
52 | 50 | // <o>Minimal stack size [words] <0-65535> |
|
131 | 129 | // <i> Default: 0 |
132 | 130 | #define configQUEUE_REGISTRY_SIZE 0 |
133 | 131 |
|
| 132 | +// <h>Event Recorder configuration |
| 133 | +// <i> Initialize and setup Event Recorder level filtering. |
| 134 | +// <i> Settings have no effect when Event Recorder is not present. |
| 135 | + |
| 136 | +// <q>Initialize Event Recorder |
| 137 | +// <i> Initialize Event Recorder before FreeRTOS kernel start. |
| 138 | +// <i> Default: 1 |
| 139 | +#define configEVR_INITIALIZE 1 |
| 140 | + |
| 141 | +// <e>Setup recording level filter |
| 142 | +// <i> Enable configuration of FreeRTOS events recording level |
| 143 | +// <i> Default: 1 |
| 144 | +#define configEVR_SETUP_LEVEL 1 |
| 145 | + |
| 146 | +// <o>Tasks functions |
| 147 | +// <i> Define event recording level bitmask for events generated from Tasks functions. |
| 148 | +// <i> Default: 0x05 |
| 149 | +// <0x00=>Off <0x01=>Errors <0x05=>Errors + Operation <0x0F=>All |
| 150 | +#define configEVR_LEVEL_TASKS 0x05 |
| 151 | + |
| 152 | +// <o>Queue functions |
| 153 | +// <i> Define event recording level bitmask for events generated from Queue functions. |
| 154 | +// <i> Default: 0x05 |
| 155 | +// <0x00=>Off <0x01=>Errors <0x05=>Errors + Operation <0x0F=>All |
| 156 | +#define configEVR_LEVEL_QUEUE 0x05 |
| 157 | + |
| 158 | +// <o>Timer functions |
| 159 | +// <i> Define event recording level bitmask for events generated from Timer functions. |
| 160 | +// <i> Default: 0x05 |
| 161 | +// <0x00=>Off <0x01=>Errors <0x05=>Errors + Operation <0x0F=>All |
| 162 | +#define configEVR_LEVEL_TIMERS 0x05 |
| 163 | + |
| 164 | +// <o>Event Groups functions |
| 165 | +// <i> Define event recording level bitmask for events generated from Event Groups functions. |
| 166 | +// <i> Default: 0x05 |
| 167 | +// <0x00=>Off <0x01=>Errors <0x05=>Errors + Operation <0x0F=>All |
| 168 | +#define configEVR_LEVEL_EVENTGROUPS 0x05 |
| 169 | + |
| 170 | +// <o>Heap functions |
| 171 | +// <i> Define event recording level bitmask for events generated from Heap functions. |
| 172 | +// <i> Default: 0x05 |
| 173 | +// <0x00=>Off <0x01=>Errors <0x05=>Errors + Operation <0x0F=>All |
| 174 | +#define configEVR_LEVEL_HEAP 0x05 |
| 175 | + |
| 176 | +// <o>Stream Buffer functions |
| 177 | +// <i> Define event recording level bitmask for events generated from Stream Buffer functions. |
| 178 | +// <i> Default: 0x05 |
| 179 | +// <0x00=>Off <0x01=>Errors <0x05=>Errors + Operation <0x0F=>All |
| 180 | +#define configEVR_LEVEL_STREAMBUFFER 0x05 |
| 181 | +// </e> |
| 182 | +// </h> |
| 183 | + |
134 | 184 | //------------- <<< end of configuration section >>> --------------------------- |
135 | 185 |
|
136 | 186 | /* Defines needed by FreeRTOS to implement CMSIS RTOS2 API. Do not change! */ |
|
165 | 215 | #define INCLUDE_xTimerPendFunctionCall 1 |
166 | 216 |
|
167 | 217 | /* Map the FreeRTOS port interrupt handlers to their CMSIS standard names. */ |
168 | | -#define xPortPendSVHandler PendSV_Handler |
169 | | -#define vPortSVCHandler SVC_Handler |
| 218 | +#define xPortPendSVHandler PendSV_Handler |
| 219 | +#define vPortSVCHandler SVC_Handler |
170 | 220 |
|
171 | 221 | /* Include debug event definitions */ |
172 | 222 | #include "freertos_evr.h" |
|
0 commit comments