Code snippet:

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"

void app_main(void)
{
 vTaskDelay(1000 / portTICK_PERIOD_MS);
}