Device: RM2 & RM3: Update settings

pull/73/head
Yasser Yassine 2025-02-25 22:45:08 +00:00 committed by Kyle Schwarz
parent 771d82826f
commit 759cb2436d
3 changed files with 10 additions and 0 deletions

View File

@ -27,6 +27,14 @@ typedef struct {
uint16_t pc_com_mode; uint16_t pc_com_mode;
TIMESYNC_ICSHARDWARE_SETTINGS timeSyncSettings; TIMESYNC_ICSHARDWARE_SETTINGS timeSyncSettings;
uint16_t hwComLatencyTestEn; 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; } radmoon2_settings_t;
#pragma pack(pop) #pragma pack(pop)

View File

@ -19,6 +19,7 @@ public:
static std::vector<Network> supportedNetworks = { static std::vector<Network> supportedNetworks = {
Network::NetID::Ethernet, Network::NetID::Ethernet,
Network::NetID::OP_Ethernet1, Network::NetID::OP_Ethernet1,
Network::NetID::MDIO1
}; };
return supportedNetworks; return supportedNetworks;
} }

View File

@ -27,6 +27,7 @@ typedef struct {
uint16_t enableLatencyTest : 1; uint16_t enableLatencyTest : 1;
uint16_t reserved : 15; uint16_t reserved : 15;
} flags; // 2 } flags; // 2
uint64_t network_enables_5;
} radmoon3_settings_t; } radmoon3_settings_t;
#pragma pack(pop) #pragma pack(pop)