mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 09:37:21 +02:00
22 lines
536 B
C++
22 lines
536 B
C++
#include <cstdio>
|
|
#include <memory>
|
|
|
|
#include "sdkconfig.h"
|
|
#include "freertos/FreeRTOS.h"
|
|
|
|
#include "WifiManager.h"
|
|
#include "mDNSDiscoveryService.h"
|
|
#include "TCPServer.h"
|
|
#include "ConfigManager.h"
|
|
#include "LoopManager.h"
|
|
#include "esp_log.h"
|
|
|
|
extern "C" [[noreturn]] void app_main(void) {
|
|
ESP_LOGI("MEM", "Free internal RAM: %d", heap_caps_get_free_size(MALLOC_CAP_8BIT));
|
|
ESP_LOGI("MEM", "Free PSRAM: %d", heap_caps_get_free_size(MALLOC_CAP_SPIRAM));
|
|
|
|
ConfigManager::init_config();
|
|
|
|
LoopManager::control_loop();
|
|
}
|