|
118 | 118 | * human readable name. Includes the NULL terminator. */ |
119 | 119 | #define configMAX_TASK_NAME_LEN 16 |
120 | 120 |
|
121 | | -/* The tick count is held in a variable of type TickType_t. Set |
122 | | - * configUSE_16_BIT_TICKS to 1 to make TickType_t a 16-bit type. Set |
123 | | - * configUSE_16_BIT_TICKS to 0 to make TickType_t either a 32 or 64-bit type |
124 | | - * depending on the architecture. Using a 16-bit type can greatly improve |
125 | | - * efficiency on 8-bit and 16-bit microcontrollers, but at the cost of limiting the |
126 | | - * maximum specifiable block time to 0xffff. */ |
127 | | -#define configUSE_16_BIT_TICKS 0 |
| 121 | +/* Time is measured in 'ticks' - which is the number of times the tick interrupt |
| 122 | + * has executed since the RTOS kernel was started. |
| 123 | + * The tick count is held in a variable of type TickType_t. |
| 124 | + * |
| 125 | + * configTICK_TYPE_WIDTH_IN_BITS controls the type (and therefore bit-width) of TickType_t: |
| 126 | + * |
| 127 | + * Defining configTICK_TYPE_WIDTH_IN_BITS as TICK_TYPE_WIDTH_16_BITS causes |
| 128 | + * TickType_t to be defined (typedef'ed) as an unsigned 16-bit type. |
| 129 | + * |
| 130 | + * Defining configTICK_TYPE_WIDTH_IN_BITS as TICK_TYPE_WIDTH_32_BITS causes |
| 131 | + * TickType_t to be defined (typedef'ed) as an unsigned 32-bit type. |
| 132 | + * |
| 133 | + * Defining configTICK_TYPE_WIDTH_IN_BITS as TICK_TYPE_WIDTH_64_BITS causes |
| 134 | + * TickType_t to be defined (typedef'ed) as an unsigned 64-bit type. */ |
| 135 | +#define configTICK_TYPE_WIDTH_IN_BITS TICK_TYPE_WIDTH_64_BITS |
128 | 136 |
|
129 | 137 | /* Set configIDLE_SHOULD_YIELD to 1 to have the Idle task yield to an |
130 | 138 | * application task if there is an Idle priority (priority 0) application task that |
|
388 | 396 |
|
389 | 397 | /* secureconfigMAX_SECURE_CONTEXTS define the maximum number of tasks that can |
390 | 398 | * call into the secure side of an ARMv8-M chip. Not used by any other ports. */ |
391 | | -#define secureconfigMAX_SECURE_CONTEXTS 5 |
| 399 | +#define secureconfigMAX_SECURE_CONTEXTS 5 |
| 400 | + |
| 401 | +/* Defines the kernel provided implementation of |
| 402 | + * vApplicationGetIdleTaskMemory() and vApplicationGetTimerTaskMemory() |
| 403 | + * to provide the memory that is used by the Idle task and Timer task respectively. |
| 404 | + * The application can provide it's own implementation of |
| 405 | + * vApplicationGetIdleTaskMemory() and vApplicationGetTimerTaskMemory() by |
| 406 | + * setting configKERNEL_PROVIDED_STATIC_MEMORY to 0 or leaving it undefined. */ |
| 407 | +#define configKERNEL_PROVIDED_STATIC_MEMORY 1 |
392 | 408 |
|
393 | 409 | /******************************************************************************/ |
394 | 410 | /* Definitions that include or exclude functionality. *************************/ |
|
0 commit comments