mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
freertos: Synchronize tasks.c functions (minor changes) to v10.4.3
This commit synchronizes multiple functions in tasks.c with upstream v10.4.3 that contain minor differences. The following functions have had their parameter names or code formatting updated: - xTaskCreateStaticPinnedToCore() - xTaskCreatePinnedToCore() - prvInitialiseNewTask() - prvTaskIsTaskSuspended() - vTaskStartScheduler() - xTaskResumeAll() - xTaskCheckForTimeOut() - uxTaskResetEventItemValue() The following functions have had their missing "xAlreadyYielded" restored - xTaskDelayUntil() - vTaskDelay() The following functions have had their critical section/interrupt disdable usage update - vTaskSuspendAll() - xTaskGetTickCountFromISR() - xTaskGetApplicationTaskTagFromISR()
This commit is contained in:
@@ -14,6 +14,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define portBYTE_ALIGNMENT 16
|
||||
#define portTICK_TYPE_IS_ATOMIC 1
|
||||
|
||||
/* Type definitions. */
|
||||
#define portCHAR uint8_t
|
||||
|
@@ -108,6 +108,7 @@ typedef uint32_t TickType_t;
|
||||
#define portSTACK_GROWTH (-1)
|
||||
#define portTICK_PERIOD_MS ((TickType_t) (1000 / configTICK_RATE_HZ))
|
||||
#define portBYTE_ALIGNMENT 16
|
||||
#define portTICK_TYPE_IS_ATOMIC 1
|
||||
#define portNOP() __asm volatile (" nop ")
|
||||
|
||||
|
||||
|
@@ -140,6 +140,7 @@ typedef uint32_t TickType_t;
|
||||
#define portSTACK_GROWTH ( -1 )
|
||||
#define portTICK_PERIOD_MS ( ( TickType_t ) 1000 / configTICK_RATE_HZ )
|
||||
#define portBYTE_ALIGNMENT 4
|
||||
#define portTICK_TYPE_IS_ATOMIC 1
|
||||
#define portNOP() XT_NOP()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user