13 Commits

Author SHA1 Message Date
m-RNA
01053752d9 refactor(Monitoring): abstract platform-specific ADC code and add ESP32-S2 support
- Move calibration functions to platform-specific files
- Add ADC_SAMPLER_SUPPORTED macro for unified platform detection
- Add ESP32-S2 support (UNTESTED)
- Remove explicit #if defined() macros from common code
2026-01-10 23:56:15 +08:00
Lorow
555e290d71 Reformat project using clang-format 2026-01-06 22:51:24 +01:00
m-RNA
97b910a38c Move the battery power calculation part to the BatteryMonitor class 2026-01-01 17:14:53 +08:00
m-RNA
a2cce45d78 Cleaned up code and added ESP32 support for AdcSampler-based BatteryMonitor and current monitoring 2026-01-01 15:56:53 +08:00
m-RNA
4bc682b4f2 Fix: Let ESP32 compile successfully 2026-01-01 15:56:53 +08:00
m-RNA
7118593f52 Add AdcSampler and BatteryMonitor source file support for esp32s3 target 2026-01-01 15:56:53 +08:00
m-RNA
2a3f99b10c Add battery monitoring to the monitoring manager, update relevant methods and log output 2026-01-01 15:56:53 +08:00
m-RNA
973afba994 Reconstruct the CurrentMonitor class, remove unused members and methods, and simplify ADC initialization logic 2026-01-01 15:56:53 +08:00
m-RNA
b739bd2775 Add BatteryMonitor class to support battery monitoring 2026-01-01 15:56:53 +08:00
m-RNA
813ebf9712 Add AdcSampler class to support ADC monitoring function 2026-01-01 15:56:53 +08:00
Lorow
c3ea42c4d0 Add initial version of the Build and release action 2025-12-14 21:03:36 +01:00
PhosphorosVR
e47735c720 Changes made based on pr feedback. 2025-09-23 01:46:53 +02:00
PhosphorosVR
83d7805e9e - Updated README to reflect changes in device mode terminology from "Auto" to "Setup".
- Changed configuration macros from CONFIG_GENERAL_DEFAULT_WIRED_MODE to CONFIG_GENERAL_INCLUDE_UVC_MODE across multiple files.
- Introduced new command for retrieving LED current in CommandManager.
- Added MonitoringManager and CurrentMonitor classes to handle LED current monitoring.
- Updated Kconfig to include options for LED current monitoring.
- Modified main application logic to integrate MonitoringManager and handle new device modes.
- Adjusted CMakeLists and source files to include new monitoring components.
2025-09-05 01:08:11 +02:00