|
1 | 1 | /* |
2 | | - * FreeRTOS Kernel V11.0.1 |
3 | | - * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 2 | + * FreeRTOS Kernel V11.1.0 |
| 3 | + * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
4 | 4 | * |
5 | 5 | * SPDX-License-Identifier: MIT |
6 | 6 | * |
|
96 | 96 | #define configNUMBER_OF_CORES 1 |
97 | 97 | #endif |
98 | 98 |
|
| 99 | +#ifndef configUSE_MALLOC_FAILED_HOOK |
| 100 | + #define configUSE_MALLOC_FAILED_HOOK 0 |
| 101 | +#endif |
| 102 | + |
99 | 103 | /* Basic FreeRTOS definitions. */ |
100 | 104 | #include "projdefs.h" |
101 | 105 |
|
|
284 | 288 | #warning Co-routines have been removed from FreeRTOS-Kernel versions released after V10.5.1. You can view previous versions of the FreeRTOS Kernel at github.com/freertos/freertos-kernel/tree/V10.5.1. |
285 | 289 | #endif |
286 | 290 |
|
287 | | -#ifndef configUSE_DAEMON_TASK_STARTUP_HOOK |
288 | | - #define configUSE_DAEMON_TASK_STARTUP_HOOK 0 |
289 | | -#endif |
290 | | - |
291 | 291 | #ifndef configUSE_APPLICATION_TASK_TAG |
292 | 292 | #define configUSE_APPLICATION_TASK_TAG 0 |
293 | 293 | #endif |
|
308 | 308 | #define configUSE_TIMERS 0 |
309 | 309 | #endif |
310 | 310 |
|
| 311 | +#ifndef configUSE_EVENT_GROUPS |
| 312 | + #define configUSE_EVENT_GROUPS 1 |
| 313 | +#endif |
| 314 | + |
| 315 | +#ifndef configUSE_STREAM_BUFFERS |
| 316 | + #define configUSE_STREAM_BUFFERS 1 |
| 317 | +#endif |
| 318 | + |
| 319 | +#ifndef configUSE_DAEMON_TASK_STARTUP_HOOK |
| 320 | + #define configUSE_DAEMON_TASK_STARTUP_HOOK 0 |
| 321 | +#endif |
| 322 | + |
| 323 | +#if ( configUSE_DAEMON_TASK_STARTUP_HOOK != 0 ) |
| 324 | + #if ( configUSE_TIMERS == 0 ) |
| 325 | + #error configUSE_DAEMON_TASK_STARTUP_HOOK is set, but the daemon task is not created because configUSE_TIMERS is 0. |
| 326 | + #endif |
| 327 | +#endif |
| 328 | + |
311 | 329 | #ifndef configUSE_COUNTING_SEMAPHORES |
312 | 330 | #define configUSE_COUNTING_SEMAPHORES 0 |
313 | 331 | #endif |
|
474 | 492 | #define configUSE_CORE_AFFINITY 0 |
475 | 493 | #endif /* configUSE_CORE_AFFINITY */ |
476 | 494 |
|
| 495 | +#if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) ) |
| 496 | + #ifndef configTASK_DEFAULT_CORE_AFFINITY |
| 497 | + #define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY |
| 498 | + #endif |
| 499 | +#endif |
| 500 | + |
477 | 501 | #ifndef configUSE_PASSIVE_IDLE_HOOK |
478 | 502 | #define configUSE_PASSIVE_IDLE_HOOK 0 |
479 | 503 | #endif /* configUSE_PASSIVE_IDLE_HOOK */ |
|
948 | 972 | #endif |
949 | 973 |
|
950 | 974 | #ifndef traceSTREAM_BUFFER_CREATE_FAILED |
951 | | - #define traceSTREAM_BUFFER_CREATE_FAILED( xIsMessageBuffer ) |
| 975 | + #define traceSTREAM_BUFFER_CREATE_FAILED( xStreamBufferType ) |
952 | 976 | #endif |
953 | 977 |
|
954 | 978 | #ifndef traceSTREAM_BUFFER_CREATE_STATIC_FAILED |
955 | | - #define traceSTREAM_BUFFER_CREATE_STATIC_FAILED( xReturn, xIsMessageBuffer ) |
| 979 | + #define traceSTREAM_BUFFER_CREATE_STATIC_FAILED( xReturn, xStreamBufferType ) |
956 | 980 | #endif |
957 | 981 |
|
958 | 982 | #ifndef traceSTREAM_BUFFER_CREATE |
959 | | - #define traceSTREAM_BUFFER_CREATE( pxStreamBuffer, xIsMessageBuffer ) |
| 983 | + #define traceSTREAM_BUFFER_CREATE( pxStreamBuffer, xStreamBufferType ) |
960 | 984 | #endif |
961 | 985 |
|
962 | 986 | #ifndef traceSTREAM_BUFFER_DELETE |
|
967 | 991 | #define traceSTREAM_BUFFER_RESET( xStreamBuffer ) |
968 | 992 | #endif |
969 | 993 |
|
| 994 | +#ifndef traceSTREAM_BUFFER_RESET_FROM_ISR |
| 995 | + #define traceSTREAM_BUFFER_RESET_FROM_ISR( xStreamBuffer ) |
| 996 | +#endif |
| 997 | + |
970 | 998 | #ifndef traceBLOCKING_ON_STREAM_BUFFER_SEND |
971 | 999 | #define traceBLOCKING_ON_STREAM_BUFFER_SEND( xStreamBuffer ) |
972 | 1000 | #endif |
|
2364 | 2392 | #endif |
2365 | 2393 |
|
2366 | 2394 | #ifndef traceENTER_xStreamBufferGenericCreate |
2367 | | - #define traceENTER_xStreamBufferGenericCreate( xBufferSizeBytes, xTriggerLevelBytes, xIsMessageBuffer, pxSendCompletedCallback, pxReceiveCompletedCallback ) |
| 2395 | + #define traceENTER_xStreamBufferGenericCreate( xBufferSizeBytes, xTriggerLevelBytes, xStreamBufferType, pxSendCompletedCallback, pxReceiveCompletedCallback ) |
2368 | 2396 | #endif |
2369 | 2397 |
|
2370 | 2398 | #ifndef traceRETURN_xStreamBufferGenericCreate |
2371 | 2399 | #define traceRETURN_xStreamBufferGenericCreate( pvAllocatedMemory ) |
2372 | 2400 | #endif |
2373 | 2401 |
|
2374 | 2402 | #ifndef traceENTER_xStreamBufferGenericCreateStatic |
2375 | | - #define traceENTER_xStreamBufferGenericCreateStatic( xBufferSizeBytes, xTriggerLevelBytes, xIsMessageBuffer, pucStreamBufferStorageArea, pxStaticStreamBuffer, pxSendCompletedCallback, pxReceiveCompletedCallback ) |
| 2403 | + #define traceENTER_xStreamBufferGenericCreateStatic( xBufferSizeBytes, xTriggerLevelBytes, xStreamBufferType, pucStreamBufferStorageArea, pxStaticStreamBuffer, pxSendCompletedCallback, pxReceiveCompletedCallback ) |
2376 | 2404 | #endif |
2377 | 2405 |
|
2378 | 2406 | #ifndef traceRETURN_xStreamBufferGenericCreateStatic |
|
2403 | 2431 | #define traceRETURN_xStreamBufferReset( xReturn ) |
2404 | 2432 | #endif |
2405 | 2433 |
|
| 2434 | +#ifndef traceENTER_xStreamBufferResetFromISR |
| 2435 | + #define traceENTER_xStreamBufferResetFromISR( xStreamBuffer ) |
| 2436 | +#endif |
| 2437 | + |
| 2438 | +#ifndef traceRETURN_xStreamBufferResetFromISR |
| 2439 | + #define traceRETURN_xStreamBufferResetFromISR( xReturn ) |
| 2440 | +#endif |
| 2441 | + |
2406 | 2442 | #ifndef traceENTER_xStreamBufferSetTriggerLevel |
2407 | 2443 | #define traceENTER_xStreamBufferSetTriggerLevel( xStreamBuffer, xTriggerLevel ) |
2408 | 2444 | #endif |
|
2633 | 2669 | #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() |
2634 | 2670 | #endif |
2635 | 2671 |
|
2636 | | -#ifndef configUSE_MALLOC_FAILED_HOOK |
2637 | | - #define configUSE_MALLOC_FAILED_HOOK 0 |
2638 | | -#endif |
2639 | | - |
2640 | 2672 | #ifndef portPRIVILEGE_BIT |
2641 | 2673 | #define portPRIVILEGE_BIT ( ( UBaseType_t ) 0x00 ) |
2642 | 2674 | #endif |
|
2789 | 2821 |
|
2790 | 2822 | #ifndef configSTACK_DEPTH_TYPE |
2791 | 2823 |
|
2792 | | -/* Defaults to uint16_t for backward compatibility, but can be overridden |
2793 | | - * in FreeRTOSConfig.h if uint16_t is too restrictive. */ |
2794 | | - #define configSTACK_DEPTH_TYPE uint16_t |
| 2824 | +/* Defaults to StackType_t for backward compatibility, but can be overridden |
| 2825 | + * in FreeRTOSConfig.h if StackType_t is too restrictive. */ |
| 2826 | + #define configSTACK_DEPTH_TYPE StackType_t |
2795 | 2827 | #endif |
2796 | 2828 |
|
2797 | 2829 | #ifndef configRUN_TIME_COUNTER_TYPE |
@@ -3292,4 +3324,3 @@ typedef StaticStreamBuffer_t StaticMessageBuffer_t; |
3292 | 3324 | #include "FreeRTOSVariant.h" |
3293 | 3325 |
|
3294 | 3326 | #endif /* INC_ARDUINO_FREERTOS_H */ |
3295 | | - |
|
0 commit comments