|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2013-2020 Arm Limited. All rights reserved. |
| 2 | + * Copyright (c) 2013-2021 Arm Limited. All rights reserved. |
3 | 3 | *
|
4 | 4 | * SPDX-License-Identifier: Apache-2.0
|
5 | 5 | *
|
|
17 | 17 | *
|
18 | 18 | * -----------------------------------------------------------------------------
|
19 | 19 | *
|
20 |
| - * $Revision: V5.5.1 |
| 20 | + * $Revision: V5.5.2 |
21 | 21 | *
|
22 | 22 | * Project: CMSIS-RTOS RTX
|
23 | 23 | * Title: RTX Configuration definitions
|
|
69 | 69 |
|
70 | 70 | // </e>
|
71 | 71 |
|
72 |
| -// <o>ISR FIFO Queue |
| 72 | +// <o>ISR FIFO Queue |
73 | 73 | // <4=> 4 entries <8=> 8 entries <12=> 12 entries <16=> 16 entries
|
74 | 74 | // <24=> 24 entries <32=> 32 entries <48=> 48 entries <64=> 64 entries
|
75 | 75 | // <96=> 96 entries <128=> 128 entries <196=> 196 entries <256=> 256 entries
|
|
143 | 143 | #endif
|
144 | 144 |
|
145 | 145 | // <q>Stack overrun checking
|
146 |
| -// <i> Enables stack overrun check at thread switch. |
| 146 | +// <i> Enables stack overrun check at thread switch (requires RTX source variant). |
147 | 147 | // <i> Enabling this option increases slightly the execution time of a thread switch.
|
148 | 148 | #ifndef OS_STACK_CHECK
|
149 |
| -#define OS_STACK_CHECK 1 |
| 149 | +#define OS_STACK_CHECK 0 |
150 | 150 | #endif
|
151 | 151 |
|
152 | 152 | // <q>Stack usage watermark
|
|
156 | 156 | #define OS_STACK_WATERMARK 0
|
157 | 157 | #endif
|
158 | 158 |
|
159 |
| -// <o>Processor mode for Thread execution |
160 |
| -// <0=> Unprivileged mode |
| 159 | +// <o>Processor mode for Thread execution |
| 160 | +// <0=> Unprivileged mode |
161 | 161 | // <1=> Privileged mode
|
162 | 162 | // <i> Default: Privileged mode
|
163 | 163 | #ifndef OS_PRIVILEGE_MODE
|
|
367 | 367 | // <i> Recording levels for RTX components.
|
368 | 368 | // <i> Only applicable if events for the respective component are generated.
|
369 | 369 |
|
370 |
| -// <h>Memory Management |
| 370 | +// <e.7>Memory Management |
371 | 371 | // <i> Recording level for Memory Management events.
|
372 | 372 | // <o.0>Error events
|
373 | 373 | // <o.1>API function call events
|
374 | 374 | // <o.2>Operation events
|
375 | 375 | // <o.3>Detailed operation events
|
376 |
| -// </h> |
377 |
| -#ifndef OS_EVR_MEMORY_LEVEL |
378 |
| -#define OS_EVR_MEMORY_LEVEL 0x01U |
| 376 | +// </e> |
| 377 | +#ifndef OS_EVR_MEMORY_LEVEL |
| 378 | +#define OS_EVR_MEMORY_LEVEL 0x81U |
379 | 379 | #endif
|
380 | 380 |
|
381 |
| -// <h>Kernel |
| 381 | +// <e.7>Kernel |
382 | 382 | // <i> Recording level for Kernel events.
|
383 | 383 | // <o.0>Error events
|
384 | 384 | // <o.1>API function call events
|
385 | 385 | // <o.2>Operation events
|
386 | 386 | // <o.3>Detailed operation events
|
387 |
| -// </h> |
388 |
| -#ifndef OS_EVR_KERNEL_LEVEL |
389 |
| -#define OS_EVR_KERNEL_LEVEL 0x01U |
| 387 | +// </e> |
| 388 | +#ifndef OS_EVR_KERNEL_LEVEL |
| 389 | +#define OS_EVR_KERNEL_LEVEL 0x81U |
390 | 390 | #endif
|
391 | 391 |
|
392 |
| -// <h>Thread |
| 392 | +// <e.7>Thread |
393 | 393 | // <i> Recording level for Thread events.
|
394 | 394 | // <o.0>Error events
|
395 | 395 | // <o.1>API function call events
|
396 | 396 | // <o.2>Operation events
|
397 | 397 | // <o.3>Detailed operation events
|
398 |
| -// </h> |
399 |
| -#ifndef OS_EVR_THREAD_LEVEL |
400 |
| -#define OS_EVR_THREAD_LEVEL 0x05U |
| 398 | +// </e> |
| 399 | +#ifndef OS_EVR_THREAD_LEVEL |
| 400 | +#define OS_EVR_THREAD_LEVEL 0x85U |
401 | 401 | #endif
|
402 | 402 |
|
403 |
| -// <h>Generic Wait |
| 403 | +// <e.7>Generic Wait |
404 | 404 | // <i> Recording level for Generic Wait events.
|
405 | 405 | // <o.0>Error events
|
406 | 406 | // <o.1>API function call events
|
407 | 407 | // <o.2>Operation events
|
408 | 408 | // <o.3>Detailed operation events
|
409 |
| -// </h> |
410 |
| -#ifndef OS_EVR_WAIT_LEVEL |
411 |
| -#define OS_EVR_WAIT_LEVEL 0x01U |
| 409 | +// </e> |
| 410 | +#ifndef OS_EVR_WAIT_LEVEL |
| 411 | +#define OS_EVR_WAIT_LEVEL 0x81U |
412 | 412 | #endif
|
413 | 413 |
|
414 |
| -// <h>Thread Flags |
| 414 | +// <e.7>Thread Flags |
415 | 415 | // <i> Recording level for Thread Flags events.
|
416 | 416 | // <o.0>Error events
|
417 | 417 | // <o.1>API function call events
|
418 | 418 | // <o.2>Operation events
|
419 | 419 | // <o.3>Detailed operation events
|
420 |
| -// </h> |
421 |
| -#ifndef OS_EVR_THFLAGS_LEVEL |
422 |
| -#define OS_EVR_THFLAGS_LEVEL 0x01U |
| 420 | +// </e> |
| 421 | +#ifndef OS_EVR_THFLAGS_LEVEL |
| 422 | +#define OS_EVR_THFLAGS_LEVEL 0x81U |
423 | 423 | #endif
|
424 | 424 |
|
425 |
| -// <h>Event Flags |
| 425 | +// <e.7>Event Flags |
426 | 426 | // <i> Recording level for Event Flags events.
|
427 | 427 | // <o.0>Error events
|
428 | 428 | // <o.1>API function call events
|
429 | 429 | // <o.2>Operation events
|
430 | 430 | // <o.3>Detailed operation events
|
431 |
| -// </h> |
432 |
| -#ifndef OS_EVR_EVFLAGS_LEVEL |
433 |
| -#define OS_EVR_EVFLAGS_LEVEL 0x01U |
| 431 | +// </e> |
| 432 | +#ifndef OS_EVR_EVFLAGS_LEVEL |
| 433 | +#define OS_EVR_EVFLAGS_LEVEL 0x81U |
434 | 434 | #endif
|
435 | 435 |
|
436 |
| -// <h>Timer |
| 436 | +// <e.7>Timer |
437 | 437 | // <i> Recording level for Timer events.
|
438 | 438 | // <o.0>Error events
|
439 | 439 | // <o.1>API function call events
|
440 | 440 | // <o.2>Operation events
|
441 | 441 | // <o.3>Detailed operation events
|
442 |
| -// </h> |
443 |
| -#ifndef OS_EVR_TIMER_LEVEL |
444 |
| -#define OS_EVR_TIMER_LEVEL 0x01U |
| 442 | +// </e> |
| 443 | +#ifndef OS_EVR_TIMER_LEVEL |
| 444 | +#define OS_EVR_TIMER_LEVEL 0x81U |
445 | 445 | #endif
|
446 | 446 |
|
447 |
| -// <h>Mutex |
| 447 | +// <e.7>Mutex |
448 | 448 | // <i> Recording level for Mutex events.
|
449 | 449 | // <o.0>Error events
|
450 | 450 | // <o.1>API function call events
|
451 | 451 | // <o.2>Operation events
|
452 | 452 | // <o.3>Detailed operation events
|
453 |
| -// </h> |
454 |
| -#ifndef OS_EVR_MUTEX_LEVEL |
455 |
| -#define OS_EVR_MUTEX_LEVEL 0x01U |
| 453 | +// </e> |
| 454 | +#ifndef OS_EVR_MUTEX_LEVEL |
| 455 | +#define OS_EVR_MUTEX_LEVEL 0x81U |
456 | 456 | #endif
|
457 | 457 |
|
458 |
| -// <h>Semaphore |
| 458 | +// <e.7>Semaphore |
459 | 459 | // <i> Recording level for Semaphore events.
|
460 | 460 | // <o.0>Error events
|
461 | 461 | // <o.1>API function call events
|
462 | 462 | // <o.2>Operation events
|
463 | 463 | // <o.3>Detailed operation events
|
464 |
| -// </h> |
465 |
| -#ifndef OS_EVR_SEMAPHORE_LEVEL |
466 |
| -#define OS_EVR_SEMAPHORE_LEVEL 0x01U |
| 464 | +// </e> |
| 465 | +#ifndef OS_EVR_SEMAPHORE_LEVEL |
| 466 | +#define OS_EVR_SEMAPHORE_LEVEL 0x81U |
467 | 467 | #endif
|
468 | 468 |
|
469 |
| -// <h>Memory Pool |
| 469 | +// <e.7>Memory Pool |
470 | 470 | // <i> Recording level for Memory Pool events.
|
471 | 471 | // <o.0>Error events
|
472 | 472 | // <o.1>API function call events
|
473 | 473 | // <o.2>Operation events
|
474 | 474 | // <o.3>Detailed operation events
|
475 |
| -// </h> |
476 |
| -#ifndef OS_EVR_MEMPOOL_LEVEL |
477 |
| -#define OS_EVR_MEMPOOL_LEVEL 0x01U |
| 475 | +// </e> |
| 476 | +#ifndef OS_EVR_MEMPOOL_LEVEL |
| 477 | +#define OS_EVR_MEMPOOL_LEVEL 0x81U |
478 | 478 | #endif
|
479 | 479 |
|
480 |
| -// <h>Message Queue |
| 480 | +// <e.7>Message Queue |
481 | 481 | // <i> Recording level for Message Queue events.
|
482 | 482 | // <o.0>Error events
|
483 | 483 | // <o.1>API function call events
|
484 | 484 | // <o.2>Operation events
|
485 | 485 | // <o.3>Detailed operation events
|
486 |
| -// </h> |
487 |
| -#ifndef OS_EVR_MSGQUEUE_LEVEL |
488 |
| -#define OS_EVR_MSGQUEUE_LEVEL 0x01U |
| 486 | +// </e> |
| 487 | +#ifndef OS_EVR_MSGQUEUE_LEVEL |
| 488 | +#define OS_EVR_MSGQUEUE_LEVEL 0x81U |
489 | 489 | #endif
|
490 | 490 |
|
491 | 491 | // </h>
|
|
0 commit comments