|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Full system integration test for hf-core. More...
#include "TestFramework.h"#include "esp32_bus_setup.hpp"#include "esp32_test_config.hpp"#include "handlers/as5047u/As5047uHandler.h"#include "handlers/bno08x/Bno08xHandler.h"#include "handlers/pca9685/Pca9685Handler.h"#include "handlers/pcal95555/Pcal95555Handler.h"#include "handlers/ntc/NtcTemperatureHandler.h"#include "handlers/tmc9660/Tmc9660Handler.h"#include "handlers/logger/Logger.h"#include "RtosMutex.h"#include <memory>#include <atomic>#include "esp_log.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"Classes | |
| struct | HandlerTaskArgs |
Functions | |
| static bool | test_i2c_bus_scan () noexcept |
| static bool | test_i2c_multi_device_init () noexcept |
| static bool | test_logger_singleton_across_handlers () noexcept |
| static void | i2c_handler_task (void *arg) |
| static bool | test_concurrent_i2c_access () noexcept |
| static bool | test_mutex_protected_handler () noexcept |
| void | app_main (void) |
Variables | |
| static const char * | TAG = "Integration_Test" |
| static TestResults | g_test_results |
| static constexpr bool | ENABLE_BUS_SCAN_TESTS = true |
| static constexpr bool | ENABLE_I2C_MULTI_DEVICE_TESTS = true |
| static constexpr bool | ENABLE_LOGGER_INTEGRATION_TESTS = true |
| static constexpr bool | ENABLE_CONCURRENT_HANDLER_TESTS = true |
| static constexpr bool | ENABLE_RTOS_INTEGRATION_TESTS = true |
Full system integration test for hf-core.
Tests multi-handler concurrent operation on shared I2C/SPI buses, RTOS threading with handlers, Logger integration, and end-to-end data flow from hardware through handlers to application layer.
| void app_main | ( | void | ) |
|
static |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticnoexcept |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
static |
|
static |