mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 08:07:46 -04:00
added a reference to configUSE_POSIX_ERRNO
This commit is contained in:
parent
55eceb2203
commit
dd5f8a1e23
1 changed files with 102 additions and 99 deletions
|
@ -51,7 +51,7 @@
|
||||||
* The default value is set to 20MHz and matches the QEMU demo settings. Your
|
* The default value is set to 20MHz and matches the QEMU demo settings. Your
|
||||||
* application will certainly need a different value so set this correctly.
|
* application will certainly need a different value so set this correctly.
|
||||||
* This is very often, but not always, equal to the main system clock frequency. */
|
* This is very often, but not always, equal to the main system clock frequency. */
|
||||||
#define configCPU_CLOCK_HZ ( ( unsigned long ) 20000000 )
|
#define configCPU_CLOCK_HZ ((unsigned long)20000000)
|
||||||
|
|
||||||
/* configSYSTICK_CLOCK_HZ is an optional parameter for ARM Cortex-M ports only.
|
/* configSYSTICK_CLOCK_HZ is an optional parameter for ARM Cortex-M ports only.
|
||||||
*
|
*
|
||||||
|
@ -222,7 +222,7 @@
|
||||||
* task, so its priority is set like any other task. See
|
* task, so its priority is set like any other task. See
|
||||||
* https://www.freertos.org/RTOS-software-timer-service-daemon-task.html Only used
|
* https://www.freertos.org/RTOS-software-timer-service-daemon-task.html Only used
|
||||||
* if configUSE_TIMERS is set to 1. */
|
* if configUSE_TIMERS is set to 1. */
|
||||||
#define configTIMER_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )
|
#define configTIMER_TASK_PRIORITY (configMAX_PRIORITIES - 1)
|
||||||
|
|
||||||
/* configTIMER_TASK_STACK_DEPTH sets the size of the stack allocated to the
|
/* configTIMER_TASK_STACK_DEPTH sets the size of the stack allocated to the
|
||||||
* timer task (in words, not in bytes!). The timer task is a standard FreeRTOS
|
* timer task (in words, not in bytes!). The timer task is a standard FreeRTOS
|
||||||
|
@ -406,11 +406,11 @@
|
||||||
* number of the failing assert (for example, "vAssertCalled( __FILE__, __LINE__ )"
|
* number of the failing assert (for example, "vAssertCalled( __FILE__, __LINE__ )"
|
||||||
* or it can simple disable interrupts and sit in a loop to halt all execution
|
* or it can simple disable interrupts and sit in a loop to halt all execution
|
||||||
* on the failing line for viewing in a debugger. */
|
* on the failing line for viewing in a debugger. */
|
||||||
#define configASSERT( x ) \
|
#define configASSERT(x) \
|
||||||
if( ( x ) == 0 ) \
|
if ((x) == 0) \
|
||||||
{ \
|
{ \
|
||||||
taskDISABLE_INTERRUPTS(); \
|
taskDISABLE_INTERRUPTS(); \
|
||||||
for( ; ; ) \
|
for (;;) \
|
||||||
; \
|
; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -544,7 +544,6 @@
|
||||||
* tskNO_AFFINITY if left undefined. */
|
* tskNO_AFFINITY if left undefined. */
|
||||||
#define configTIMER_SERVICE_TASK_CORE_AFFINITY tskNO_AFFINITY
|
#define configTIMER_SERVICE_TASK_CORE_AFFINITY tskNO_AFFINITY
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* ARMv8-M secure side port related definitions. ******************************/
|
/* ARMv8-M secure side port related definitions. ******************************/
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
@ -624,6 +623,10 @@
|
||||||
#define configUSE_QUEUE_SETS 0
|
#define configUSE_QUEUE_SETS 0
|
||||||
#define configUSE_APPLICATION_TASK_TAG 0
|
#define configUSE_APPLICATION_TASK_TAG 0
|
||||||
|
|
||||||
|
/* USE_POSIX_ERRNO enables the task global FreeRTOS_errno variable which will
|
||||||
|
* containthe most recent error for that task. */
|
||||||
|
#define configUSE_POSIX_ERRNO 0
|
||||||
|
|
||||||
/* Set the following INCLUDE_* constants to 1 to incldue the named API function,
|
/* Set the following INCLUDE_* constants to 1 to incldue the named API function,
|
||||||
* or 0 to exclude the named API function. Most linkers will remove unused
|
* or 0 to exclude the named API function. Most linkers will remove unused
|
||||||
* functions even when the constant is 1. */
|
* functions even when the constant is 1. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue