mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-25 02:57:33 +08:00
feat(freertos): API compatible with esp-idf
This commit is contained in:
@ -238,6 +238,10 @@ uint32_t xPortGetTickRateHz(void);
|
|||||||
|
|
||||||
void _xt_enter_first_task(void);
|
void _xt_enter_first_task(void);
|
||||||
|
|
||||||
|
/* API compatible with esp-idf */
|
||||||
|
#define xTaskCreatePinnedToCore(pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pvCreatedTask, tskNO_AFFINITY) \
|
||||||
|
xTaskCreate(pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pvCreatedTask)
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user