Adds a minimal ESP-IDF project for ESP32-S3 at the repo root: top-level CMakeLists, a main component with a C++ app_main that logs a heartbeat, sdkconfig.defaults selecting esp32s3, and build notes in the README. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
19 lines
351 B
C++
19 lines
351 B
C++
#include <cstdio>
|
|
|
|
#include "esp_log.h"
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
|
|
static const char *TAG = "led_driver";
|
|
|
|
extern "C" void app_main(void)
|
|
{
|
|
ESP_LOGI(TAG, "LED driver (C++) starting");
|
|
|
|
int tick = 0;
|
|
while (true) {
|
|
ESP_LOGI(TAG, "alive: %d", tick++);
|
|
vTaskDelay(pdMS_TO_TICKS(1000));
|
|
}
|
|
}
|