mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 09:37:21 +02:00
Remote configuration
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
#include "RemoteDebugging.h"
|
||||
#include "RemoteManagement.h"
|
||||
#if !defined(RMT_TEST) || (defined(RMT_TEST) && RMT_TEST == 0)
|
||||
// #include <cstdio>
|
||||
// #include <memory>
|
||||
@@ -9,6 +7,9 @@
|
||||
#include "ConfigManager.h"
|
||||
#include "LoopManager.h"
|
||||
#include "esp_log.h"
|
||||
#include "RemoteDebugging.h"
|
||||
#include "RemoteManagement.h"
|
||||
#include "RemoteConfig.h"
|
||||
|
||||
extern "C" [[noreturn]] void app_main(void) {
|
||||
ESP_LOGI("MEM", "Free internal RAM: %d",
|
||||
@@ -23,6 +24,7 @@ extern "C" [[noreturn]] void app_main(void) {
|
||||
|
||||
RemoteDebugging::register_calls(loop_manager->get_messaging_interface());
|
||||
RemoteManagement::register_calls(loop_manager->get_messaging_interface());
|
||||
RemoteConfig::register_calls(loop_manager->get_messaging_interface(), config_manager);
|
||||
RemoteManagement::mark_ota_success();
|
||||
|
||||
loop_manager->control_loop();
|
||||
|
||||
Reference in New Issue
Block a user