From 759cb2436d047d64ecbd379816e815e85d74fed0 Mon Sep 17 00:00:00 2001 From: Yasser Yassine Date: Tue, 25 Feb 2025 22:45:08 +0000 Subject: [PATCH] Device: RM2 & RM3: Update settings --- include/icsneo/device/tree/radmoon2/radmoon2settings.h | 8 ++++++++ include/icsneo/device/tree/radmoon3/radmoon3.h | 1 + include/icsneo/device/tree/radmoon3/radmoon3settings.h | 1 + 3 files changed, 10 insertions(+) diff --git a/include/icsneo/device/tree/radmoon2/radmoon2settings.h b/include/icsneo/device/tree/radmoon2/radmoon2settings.h index d5814d7..6648868 100644 --- a/include/icsneo/device/tree/radmoon2/radmoon2settings.h +++ b/include/icsneo/device/tree/radmoon2/radmoon2settings.h @@ -27,6 +27,14 @@ typedef struct { uint16_t pc_com_mode; TIMESYNC_ICSHARDWARE_SETTINGS timeSyncSettings; uint16_t hwComLatencyTestEn; + struct + { + uint16_t enableLatencyTest : 1; + uint16_t reserved : 15; + } flags; + RAD_GPTP_SETTINGS gPTP; + uint64_t network_enables_5; + } radmoon2_settings_t; #pragma pack(pop) diff --git a/include/icsneo/device/tree/radmoon3/radmoon3.h b/include/icsneo/device/tree/radmoon3/radmoon3.h index 60c242a..9cfff05 100644 --- a/include/icsneo/device/tree/radmoon3/radmoon3.h +++ b/include/icsneo/device/tree/radmoon3/radmoon3.h @@ -19,6 +19,7 @@ public: static std::vector supportedNetworks = { Network::NetID::Ethernet, Network::NetID::OP_Ethernet1, + Network::NetID::MDIO1 }; return supportedNetworks; } diff --git a/include/icsneo/device/tree/radmoon3/radmoon3settings.h b/include/icsneo/device/tree/radmoon3/radmoon3settings.h index 54c4f8b..9b7bc2d 100644 --- a/include/icsneo/device/tree/radmoon3/radmoon3settings.h +++ b/include/icsneo/device/tree/radmoon3/radmoon3settings.h @@ -27,6 +27,7 @@ typedef struct { uint16_t enableLatencyTest : 1; uint16_t reserved : 15; } flags; // 2 + uint64_t network_enables_5; } radmoon3_settings_t; #pragma pack(pop)