ESP-IDF 最小 Hello World 示例
esp_hello_world.cpp
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
extern "C" void app_main(void)
{
// 循环中的最小 ESP-IDF Hello World 示例
while (1) {
printf("Hello world!\n");
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
}If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow