add ESP-IDF project with Spider Runtime for ESP32

This commit is contained in:
2026-04-08 15:23:49 -06:00
parent 670b445ac6
commit 76225c7392
10 changed files with 2413 additions and 4 deletions

View File

@@ -0,0 +1,21 @@
#include <stdio.h>
#include "esp_log.h"
#include <spider/SpiderRuntime.hpp>
#include <spider/runtime/Runtime.hpp>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
static const char* TAG = "Spider";
extern "C" void app_main(void) {
ESP_LOGI(TAG, "Spider Runtime starting...");
spider::Runtime runtime(32 * 1024);
ESP_LOGI(TAG, "Spider Runtime initialized!");
ESP_LOGI(TAG, "RAM size: 32KB");
while(1) {
vTaskDelay(pdMS_TO_TICKS(1000));
}
}