mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-25 05:25:06 +08:00
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:
@@ -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 */
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user