Create RPC component

This commit is contained in:
2025-05-16 00:05:07 -04:00
parent 74e8bc2ee3
commit 236b87f6b5
16 changed files with 1995 additions and 701 deletions

21
main/main.cpp Normal file
View File

@@ -0,0 +1,21 @@
#include <stdio.h>
#include <inttypes.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_chip_info.h"
#include "esp_flash.h"
extern "C" void app_main(void) {
printf("Hello world!\n");
for (int i = 10; i >= 0; i--) {
printf("Restarting in %d seconds...\n", i);
vTaskDelay(1000 / portTICK_PERIOD_MS);
}
printf("Restarting now\n");
fflush(stdout);
esp_restart();
}