mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/enable_static_task_cleanup_riscv_smp' into 'master'
freertos-smp: Enabled static task cleanup for RISC-V targets with FreeRTOS SMP Closes IDF-6207 See merge request espressif/esp-idf!21035
This commit is contained in:
commit
69926e6915
@ -814,8 +814,19 @@ void vApplicationMinimalIdleHook( void )
|
|||||||
* Hook function called during prvDeleteTCB() to cleanup any
|
* Hook function called during prvDeleteTCB() to cleanup any
|
||||||
* user defined static memory areas in the TCB.
|
* user defined static memory areas in the TCB.
|
||||||
*/
|
*/
|
||||||
|
#if CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP
|
||||||
|
void __real_vPortCleanUpTCB( void *pxTCB );
|
||||||
|
|
||||||
|
void __wrap_vPortCleanUpTCB( void *pxTCB )
|
||||||
|
#else
|
||||||
void vPortCleanUpTCB ( void *pxTCB )
|
void vPortCleanUpTCB ( void *pxTCB )
|
||||||
|
#endif /* CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP */
|
||||||
{
|
{
|
||||||
|
#if ( CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP )
|
||||||
|
/* Call user defined vPortCleanUpTCB */
|
||||||
|
__real_vPortCleanUpTCB( pxTCB );
|
||||||
|
#endif /* CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP */
|
||||||
|
|
||||||
#if ( CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS )
|
#if ( CONFIG_FREERTOS_TLSP_DELETION_CALLBACKS )
|
||||||
/* Call TLS pointers deletion callbacks */
|
/* Call TLS pointers deletion callbacks */
|
||||||
vPortTLSPointersDelCb( pxTCB );
|
vPortTLSPointersDelCb( pxTCB );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user