Merge branch 'feature/add_some_esp_idf_api_for_code_reuse' into 'master'

API compatible with esp-idf

See merge request sdk/ESP8266_RTOS_SDK!545
This commit is contained in:
Dong Heng
2018-10-11 14:00:24 +08:00

View File

@ -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