mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 09:37:00 +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);
|
||||
|
||||
/* API compatible with esp-idf */
|
||||
#define xTaskCreatePinnedToCore(pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pvCreatedTask, tskNO_AFFINITY) \
|
||||
xTaskCreate(pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pvCreatedTask)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user