2024-05-13 11:43:31 -07:00

27 lines
446 B
C++

/// © MiroZ 2024
#include <stdint.h>
#include <Arduino.h>
#include "bootloader_random.h"
#include <esp_log.h>
#include <SPI.h>
#include <errno.h>
#include "esp_task_wdt.h"
#include "App.h"
static const char * TAG = "main";
extern "C" void app_main(void)
{
bootloader_random_enable();
initArduino();
ESP_ERROR_CHECK(esp_task_wdt_init(15, false));
ESP_LOGI(TAG, "Starting app...");
App * app = new App();
app->init();
app->start();
}