ESP32 +VSCODE+IDF环境,学习Freertos,创建两个基础任务(打印信息+延时),打印信息的时候,为什么不是一条接一条,而是每隔一段时间打出一大段,是哪里不对还是设置到什么地方吗,另外下载的时候有“W (176) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.”这个提示,是什么意思跟怎么处理呢?
```c
static void Poll_task(void *arg)
{
while(1)
{
printf("Task_poll");
vTaskDelay( 100 / portTICK_PERIOD_MS);
}
}
static void Cnt_task(void *arg)
{
while(1)
{
printf("Task_cnt");
vTaskDelay( 100 / portTICK_PERIOD_MS);
}
}
void app_main()
{
xTaskCreate(Cnt_task, "Sys_Cnt_Task", 1024*2, NULL, configMAX_PRIORITIES-1, NULL);
xTaskCreate(Poll_task, "Sys_Poll_Task", 1024*2, NULL, configMAX_PRIORITIES-2, NULL);
}
```