Files
spider-micro-buildtools/esp32/idf_project/main/main.cpp

21 lines
507 B
C++

#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));
}
}