Integration with RMT

This commit is contained in:
2025-07-12 22:45:57 -04:00
parent ab277d05a0
commit 74d4302075
21 changed files with 437 additions and 69 deletions

View File

@@ -1,3 +1,4 @@
idf_component_register(SRCS "ConfigManager.cpp"
PRIV_REQUIRES constants nvs_flash
INCLUDE_DIRS "include")
PRIV_REQUIRES constants nvs_flash
REQUIRES flatbuffers
INCLUDE_DIRS "include")

View File

@@ -26,6 +26,7 @@ void ConfigManager::init_config() {
nvs_close(config_handle);
}
// todo: we should probably cache some of these things
uint16_t ConfigManager::get_module_id() {
nvs_handle config_handle;
nvs_open(NVS_FLASH_NAMESPACE, NVS_READONLY, &config_handle);

View File

@@ -6,6 +6,7 @@
#define CONFIGMANAGER_H
#include "constants/config.h"
#include "flatbuffers_generated/RobotModule_generated.h"
class ConfigManager {
public: