|
1 | 1 | /* |
2 | | - * Copyright (c) 2013-2019 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 |
|
46 | 46 |
|
47 | 47 | // <o>Global Dynamic Memory size [bytes] <0-1073741824:8> |
48 | 48 | // <i> Defines the combined global dynamic memory size. |
49 | | -// <i> Default: 4096 |
| 49 | +// <i> Default: 32768 |
50 | 50 | #ifndef OS_DYNAMIC_MEM_SIZE |
51 | | -#define OS_DYNAMIC_MEM_SIZE 4096 |
| 51 | +#define OS_DYNAMIC_MEM_SIZE 32768 |
52 | 52 | #endif |
53 | 53 |
|
54 | 54 | // <o>Kernel Tick Frequency [Hz] <1-1000000> |
|
126 | 126 |
|
127 | 127 | // <o>Default Thread Stack size [bytes] <96-1073741824:8> |
128 | 128 | // <i> Defines stack size for threads with zero stack size specified. |
129 | | -// <i> Default: 256 |
| 129 | +// <i> Default: 3072 |
130 | 130 | #ifndef OS_STACK_SIZE |
131 | | -#define OS_STACK_SIZE 1024 |
| 131 | +#define OS_STACK_SIZE 3072 |
132 | 132 | #endif |
133 | 133 |
|
134 | 134 | // <o>Idle Thread Stack size [bytes] <72-1073741824:8> |
135 | 135 | // <i> Defines stack size for Idle thread. |
136 | | -// <i> Default: 256 |
| 136 | +// <i> Default: 512 |
137 | 137 | #ifndef OS_IDLE_THREAD_STACK_SIZE |
138 | 138 | #define OS_IDLE_THREAD_STACK_SIZE 512 |
139 | 139 | #endif |
|
147 | 147 | #endif |
148 | 148 |
|
149 | 149 | // <q>Stack overrun checking |
150 | | -// <i> Enables stack overrun check at thread switch. |
| 150 | +// <i> Enables stack overrun check at thread switch (requires RTX source variant). |
151 | 151 | // <i> Enabling this option increases slightly the execution time of a thread switch. |
152 | 152 | #ifndef OS_STACK_CHECK |
153 | | -#define OS_STACK_CHECK 1 |
| 153 | +#define OS_STACK_CHECK 0 |
154 | 154 | #endif |
155 | 155 |
|
156 | 156 | // <q>Stack usage watermark |
|
202 | 202 | // <o>Timer Thread Stack size [bytes] <0-1073741824:8> |
203 | 203 | // <i> Defines stack size for Timer thread. |
204 | 204 | // <i> May be set to 0 when timers are not used. |
205 | | -// <i> Default: 256 |
| 205 | +// <i> Default: 512 |
206 | 206 | #ifndef OS_TIMER_THREAD_STACK_SIZE |
207 | | -#define OS_TIMER_THREAD_STACK_SIZE 256 |
| 207 | +#define OS_TIMER_THREAD_STACK_SIZE 512 |
208 | 208 | #endif |
209 | 209 |
|
210 | 210 | // <o>Timer Thread TrustZone Module Identifier |
|
371 | 371 | // <i> Recording levels for RTX components. |
372 | 372 | // <i> Only applicable if events for the respective component are generated. |
373 | 373 |
|
374 | | -// <h>Memory Management |
| 374 | +// <e.7>Memory Management |
375 | 375 | // <i> Recording level for Memory Management events. |
376 | 376 | // <o.0>Error events |
377 | 377 | // <o.1>API function call events |
378 | 378 | // <o.2>Operation events |
379 | 379 | // <o.3>Detailed operation events |
380 | | -// </h> |
| 380 | +// </e> |
381 | 381 | #ifndef OS_EVR_MEMORY_LEVEL |
382 | | -#define OS_EVR_MEMORY_LEVEL 0x01U |
| 382 | +#define OS_EVR_MEMORY_LEVEL 0x81U |
383 | 383 | #endif |
384 | 384 |
|
385 | | -// <h>Kernel |
| 385 | +// <e.7>Kernel |
386 | 386 | // <i> Recording level for Kernel events. |
387 | 387 | // <o.0>Error events |
388 | 388 | // <o.1>API function call events |
389 | 389 | // <o.2>Operation events |
390 | 390 | // <o.3>Detailed operation events |
391 | | -// </h> |
| 391 | +// </e> |
392 | 392 | #ifndef OS_EVR_KERNEL_LEVEL |
393 | | -#define OS_EVR_KERNEL_LEVEL 0x01U |
| 393 | +#define OS_EVR_KERNEL_LEVEL 0x81U |
394 | 394 | #endif |
395 | 395 |
|
396 | | -// <h>Thread |
| 396 | +// <e.7>Thread |
397 | 397 | // <i> Recording level for Thread events. |
398 | 398 | // <o.0>Error events |
399 | 399 | // <o.1>API function call events |
400 | 400 | // <o.2>Operation events |
401 | 401 | // <o.3>Detailed operation events |
402 | | -// </h> |
| 402 | +// </e> |
403 | 403 | #ifndef OS_EVR_THREAD_LEVEL |
404 | | -#define OS_EVR_THREAD_LEVEL 0x01U |
| 404 | +#define OS_EVR_THREAD_LEVEL 0x85U |
405 | 405 | #endif |
406 | 406 |
|
407 | | -// <h>Generic Wait |
| 407 | +// <e.7>Generic Wait |
408 | 408 | // <i> Recording level for Generic Wait events. |
409 | 409 | // <o.0>Error events |
410 | 410 | // <o.1>API function call events |
411 | 411 | // <o.2>Operation events |
412 | 412 | // <o.3>Detailed operation events |
413 | | -// </h> |
| 413 | +// </e> |
414 | 414 | #ifndef OS_EVR_WAIT_LEVEL |
415 | | -#define OS_EVR_WAIT_LEVEL 0x01U |
| 415 | +#define OS_EVR_WAIT_LEVEL 0x81U |
416 | 416 | #endif |
417 | 417 |
|
418 | | -// <h>Thread Flags |
| 418 | +// <e.7>Thread Flags |
419 | 419 | // <i> Recording level for Thread Flags events. |
420 | 420 | // <o.0>Error events |
421 | 421 | // <o.1>API function call events |
422 | 422 | // <o.2>Operation events |
423 | 423 | // <o.3>Detailed operation events |
424 | | -// </h> |
| 424 | +// </e> |
425 | 425 | #ifndef OS_EVR_THFLAGS_LEVEL |
426 | | -#define OS_EVR_THFLAGS_LEVEL 0x01U |
| 426 | +#define OS_EVR_THFLAGS_LEVEL 0x81U |
427 | 427 | #endif |
428 | 428 |
|
429 | | -// <h>Event Flags |
| 429 | +// <e.7>Event Flags |
430 | 430 | // <i> Recording level for Event Flags events. |
431 | 431 | // <o.0>Error events |
432 | 432 | // <o.1>API function call events |
433 | 433 | // <o.2>Operation events |
434 | 434 | // <o.3>Detailed operation events |
435 | | -// </h> |
| 435 | +// </e> |
436 | 436 | #ifndef OS_EVR_EVFLAGS_LEVEL |
437 | | -#define OS_EVR_EVFLAGS_LEVEL 0x01U |
| 437 | +#define OS_EVR_EVFLAGS_LEVEL 0x81U |
438 | 438 | #endif |
439 | 439 |
|
440 | | -// <h>Timer |
| 440 | +// <e.7>Timer |
441 | 441 | // <i> Recording level for Timer events. |
442 | 442 | // <o.0>Error events |
443 | 443 | // <o.1>API function call events |
444 | 444 | // <o.2>Operation events |
445 | 445 | // <o.3>Detailed operation events |
446 | | -// </h> |
| 446 | +// </e> |
447 | 447 | #ifndef OS_EVR_TIMER_LEVEL |
448 | | -#define OS_EVR_TIMER_LEVEL 0x01U |
| 448 | +#define OS_EVR_TIMER_LEVEL 0x81U |
449 | 449 | #endif |
450 | 450 |
|
451 | | -// <h>Mutex |
| 451 | +// <e.7>Mutex |
452 | 452 | // <i> Recording level for Mutex events. |
453 | 453 | // <o.0>Error events |
454 | 454 | // <o.1>API function call events |
455 | 455 | // <o.2>Operation events |
456 | 456 | // <o.3>Detailed operation events |
457 | | -// </h> |
| 457 | +// </e> |
458 | 458 | #ifndef OS_EVR_MUTEX_LEVEL |
459 | | -#define OS_EVR_MUTEX_LEVEL 0x01U |
| 459 | +#define OS_EVR_MUTEX_LEVEL 0x81U |
460 | 460 | #endif |
461 | 461 |
|
462 | | -// <h>Semaphore |
| 462 | +// <e.7>Semaphore |
463 | 463 | // <i> Recording level for Semaphore events. |
464 | 464 | // <o.0>Error events |
465 | 465 | // <o.1>API function call events |
466 | 466 | // <o.2>Operation events |
467 | 467 | // <o.3>Detailed operation events |
468 | | -// </h> |
| 468 | +// </e> |
469 | 469 | #ifndef OS_EVR_SEMAPHORE_LEVEL |
470 | | -#define OS_EVR_SEMAPHORE_LEVEL 0x01U |
| 470 | +#define OS_EVR_SEMAPHORE_LEVEL 0x81U |
471 | 471 | #endif |
472 | 472 |
|
473 | | -// <h>Memory Pool |
| 473 | +// <e.7>Memory Pool |
474 | 474 | // <i> Recording level for Memory Pool events. |
475 | 475 | // <o.0>Error events |
476 | 476 | // <o.1>API function call events |
477 | 477 | // <o.2>Operation events |
478 | 478 | // <o.3>Detailed operation events |
479 | | -// </h> |
| 479 | +// </e> |
480 | 480 | #ifndef OS_EVR_MEMPOOL_LEVEL |
481 | | -#define OS_EVR_MEMPOOL_LEVEL 0x01U |
| 481 | +#define OS_EVR_MEMPOOL_LEVEL 0x81U |
482 | 482 | #endif |
483 | 483 |
|
484 | | -// <h>Message Queue |
| 484 | +// <e.7>Message Queue |
485 | 485 | // <i> Recording level for Message Queue events. |
486 | 486 | // <o.0>Error events |
487 | 487 | // <o.1>API function call events |
488 | 488 | // <o.2>Operation events |
489 | 489 | // <o.3>Detailed operation events |
490 | | -// </h> |
| 490 | +// </e> |
491 | 491 | #ifndef OS_EVR_MSGQUEUE_LEVEL |
492 | | -#define OS_EVR_MSGQUEUE_LEVEL 0x01U |
| 492 | +#define OS_EVR_MSGQUEUE_LEVEL 0x81U |
493 | 493 | #endif |
494 | 494 |
|
495 | 495 | // </h> |
|
0 commit comments