Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bugfix/clobbering_freertos_base_priority' into 'master'
spi_flash: fix issue linked with raising of task priority while priority is already raised Closes IDFGH-5881 See merge request espressif/esp-idf!19037
- Loading branch information
Showing
6 changed files
with
292 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
components/freertos/esp_additions/include/freertos/idf_additions_inc.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
|
||
#ifndef FREERTOS_ADDITITIONS_INC_H_ | ||
#define FREERTOS_ADDITITIONS_INC_H_ | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
#include "sdkconfig.h" | ||
#include "freertos/FreeRTOS.h" | ||
|
||
#if ( INCLUDE_vTaskPrioritySet == 1 ) | ||
|
||
typedef struct { | ||
UBaseType_t uxPriority; | ||
#if ( configUSE_MUTEXES == 1 ) | ||
UBaseType_t uxBasePriority; | ||
#endif | ||
} prvTaskSavedPriority_t; | ||
|
||
#endif // ( INCLUDE_vTaskPrioritySet == 1) | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif //FREERTOS_ADDITITIONS_INC_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters