From 526b2358aa1950e35bc9b2ae8527ee2e06da1d86 Mon Sep 17 00:00:00 2001 From: Aaron Chan Date: Tue, 17 Jun 2025 20:00:32 -0700 Subject: [PATCH 01/33] Add cpu monitor tenant files --- include/f_core/os/tenants/c_cpu_monitor_tenant.h | 8 ++++++++ lib/f_core/os/tenants/c_cpu_monitor_tenant.cpp | 1 + 2 files changed, 9 insertions(+) create mode 100644 include/f_core/os/tenants/c_cpu_monitor_tenant.h create mode 100644 lib/f_core/os/tenants/c_cpu_monitor_tenant.cpp diff --git a/include/f_core/os/tenants/c_cpu_monitor_tenant.h b/include/f_core/os/tenants/c_cpu_monitor_tenant.h new file mode 100644 index 000000000..dd4b783d8 --- /dev/null +++ b/include/f_core/os/tenants/c_cpu_monitor_tenant.h @@ -0,0 +1,8 @@ +// +// Created by aaron on 6/17/25. +// + +#ifndef C_CPU_MONITOR_H +#define C_CPU_MONITOR_H + +#endif //C_CPU_MONITOR_H diff --git a/lib/f_core/os/tenants/c_cpu_monitor_tenant.cpp b/lib/f_core/os/tenants/c_cpu_monitor_tenant.cpp new file mode 100644 index 000000000..ccaaaee17 --- /dev/null +++ b/lib/f_core/os/tenants/c_cpu_monitor_tenant.cpp @@ -0,0 +1 @@ +#include "f_core/os/tenants/c_cpu_monitor_tenant.h" From 8a0bd0b79945593a9dc5f1832bba083091eeef1b Mon Sep 17 00:00:00 2001 From: Aaron Chan Date: Tue, 17 Jun 2025 20:00:47 -0700 Subject: [PATCH 02/33] Update cmake --- lib/f_core/os/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/f_core/os/CMakeLists.txt b/lib/f_core/os/CMakeLists.txt index 7ef6af7b3..4efe81815 100644 --- a/lib/f_core/os/CMakeLists.txt +++ b/lib/f_core/os/CMakeLists.txt @@ -2,6 +2,6 @@ # SPDX-License-Identifier: Apache-2.0 zephyr_library() -FILE(GLOB sources *.cpp) +FILE(GLOB sources *.cpp tenants/*.cpp) zephyr_library_sources(${sources}) From 107a928a5d5a63e8afa486f155eccbd055a486fa Mon Sep 17 00:00:00 2001 From: Aaron Chan Date: Tue, 17 Jun 2025 20:04:31 -0700 Subject: [PATCH 03/33] CPU monitor tenant header --- app/backplane/sensor_module/.idea/editor.xml | 5 +++ .../sensor_module/include/c_sensor_module.h | 1 + .../f_core/os/tenants/c_cpu_monitor_tenant.h | 31 +++++++++++++++---- 3 files changed, 31 insertions(+), 6 deletions(-) diff --git a/app/backplane/sensor_module/.idea/editor.xml b/app/backplane/sensor_module/.idea/editor.xml index e42167fe8..b4aaf98ac 100644 --- a/app/backplane/sensor_module/.idea/editor.xml +++ b/app/backplane/sensor_module/.idea/editor.xml @@ -256,5 +256,10 @@