Merge branch 'feature/add_esp_get_time_int64' into 'master'

Add API to get microseconds

See merge request sdk/ESP8266_RTOS_SDK!826
This commit is contained in:
Dong Heng
2019-03-12 14:25:05 +08:00
7 changed files with 139 additions and 70 deletions

View File

@@ -166,5 +166,7 @@ uint32_t esp_get_time(void);
#endif /* CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS */
#define traceINCREASE_TICK_COUNT(_ticks) esp_increase_tick_cnt(_ticks)
#endif /* FREERTOS_CONFIG_H */

View File

@@ -201,6 +201,8 @@ uint32_t xPortGetTickRateHz(void);
void _xt_enter_first_task(void);
void esp_increase_tick_cnt(const TickType_t ticks);
/* API compatible with esp-idf */
#define xTaskCreatePinnedToCore(pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pvCreatedTask, tskNO_AFFINITY) \
xTaskCreate(pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pvCreatedTask)