From b5b01b2cebe760bc56fd6473b44ae996ac1d8e1d Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 13:52:02 +0200 Subject: [PATCH 1/9] cargo fmt and cargo clippy --- Cargo.lock | 12 +++++----- Cargo.toml | 1 + src/ccsds.rs | 4 ++-- src/config.rs | 10 ++++----- src/interface/udp.rs | 5 ++--- src/lib.rs | 1 - src/main.rs | 33 ++++++++++++++-------------- src/pus/mod.rs | 14 +++++++----- src/pus/stack.rs | 4 ++-- src/pus/test.rs | 14 +++++------- src/requests.rs | 6 +++-- src/tm_funnel.rs | 52 ++------------------------------------------ src/tmtc.rs | 8 +++---- 13 files changed, 58 insertions(+), 106 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4d5e3bb..8eede90 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -58,9 +58,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bumpalo" -version = "3.15.4" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ff69b9dd49fd426c69a0db9fc04dd934cdb6645ff000864d98f7e2af8830eaa" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bus" @@ -81,9 +81,9 @@ checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "cc" -version = "1.0.91" +version = "1.0.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fd97381a8cc6493395a5afc4c691c1084b3768db713b73aa215217aa245d153" +checksum = "2678b2e3449475e95b0aa6f9b506a28e61b3dc8996592b983695e8ebb58a8b41" [[package]] name = "cfg-if" @@ -119,9 +119,9 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" [[package]] name = "crc" -version = "3.2.0" +version = "3.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2b432c56615136f8dba245fed7ec3d5518c500a31108661067e61e72fe7e6bc" +checksum = "69e6e4d7b33a94f0991c26729976b10ebde1d34c3ee82408fb536164fa10d636" dependencies = [ "crc-catalog", ] diff --git a/Cargo.toml b/Cargo.toml index 17f5bc8..5ed661d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,7 @@ num_enum = "0.7" version = "0.2.0-rc.0" git = "https://egit.irs.uni-stuttgart.de/rust/sat-rs.git" branch = "main" +feature = ["test_util"] [dependencies.satrs-mib] version = "0.1.1" diff --git a/src/ccsds.rs b/src/ccsds.rs index e1417f4..0ba4776 100644 --- a/src/ccsds.rs +++ b/src/ccsds.rs @@ -1,9 +1,9 @@ +use ops_sat_rs::config::components::Apid; +use ops_sat_rs::config::APID_VALIDATOR; use satrs::pus::ReceivesEcssPusTc; use satrs::spacepackets::{CcsdsPacket, SpHeader}; use satrs::tmtc::{CcsdsPacketHandler, ReceivesCcsdsTc}; use satrs::ValidatorU16Id; -use ops_sat_rs::config::components::Apid; -use ops_sat_rs::config::APID_VALIDATOR; #[derive(Clone)] pub struct CcsdsReceiver< diff --git a/src/config.rs b/src/config.rs index 53a54df..cccd73c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1,10 +1,10 @@ use lazy_static::lazy_static; +use num_enum::{IntoPrimitive, TryFromPrimitive}; use satrs::spacepackets::{PacketId, PacketType}; +use satrs_mib::res_code::ResultU16Info; +use satrs_mib::resultcode; use std::{collections::HashSet, net::Ipv4Addr}; use strum::IntoEnumIterator; -use satrs_mib::resultcode; -use satrs_mib::res_code::ResultU16Info; -use num_enum::{IntoPrimitive, TryFromPrimitive}; pub const OBSW_SERVER_ADDR: Ipv4Addr = Ipv4Addr::UNSPECIFIED; pub const SERVER_PORT: u16 = 7301; @@ -41,8 +41,8 @@ pub enum GroupId { } pub mod tmtc_err { - use satrs::res_code::ResultU16; use super::*; + use satrs::res_code::ResultU16; #[resultcode] pub const INVALID_PUS_SERVICE: ResultU16 = ResultU16::new(GroupId::Tmtc as u8, 0); @@ -60,7 +60,7 @@ pub mod tmtc_err { pub const REQUEST_TIMEOUT: ResultU16 = ResultU16::new(GroupId::Tmtc as u8, 6); #[resultcode( - info = "Not enough data inside the TC application data field. Optionally includes: \ + info = "Not enough data inside the TC application data field. Optionally includes: \ 8 bytes of failure data containing 2 failure parameters, \ P1 (u32 big endian): Expected data length, P2: Found data length" )] diff --git a/src/interface/udp.rs b/src/interface/udp.rs index b2e3b62..5c45e9e 100644 --- a/src/interface/udp.rs +++ b/src/interface/udp.rs @@ -2,10 +2,9 @@ use std::net::{SocketAddr, UdpSocket}; use std::sync::mpsc; use log::{info, warn}; -use satrs::pus::{PusTmAsVec, PusTmInPool}; +use satrs::pus::PusTmAsVec; use satrs::{ hal::std::udp_server::{ReceiveResult, UdpTcServer}, - pool::{PoolProviderWithGuards, SharedStaticMemoryPool}, tmtc::CcsdsError, }; @@ -90,7 +89,7 @@ mod tests { }, tmtc::ReceivesTcCore, }; - use satrs_example::config::{components, OBSW_SERVER_ADDR}; + use ops_sat_rs::config::{components, OBSW_SERVER_ADDR}; use super::*; diff --git a/src/lib.rs b/src/lib.rs index ef68b47..d637744 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,3 @@ -use std::net::Ipv4Addr; use satrs::spacepackets::time::cds::CdsTime; use satrs::spacepackets::time::TimeWriter; diff --git a/src/main.rs b/src/main.rs index 60a36d5..2db5ca5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,6 +6,7 @@ use std::{ }; use log::info; +use ops_sat_rs::config::tasks::FREQ_MS_PUS_STACK; use ops_sat_rs::config::{ tasks::FREQ_MS_UDP_TMTC, OBSW_SERVER_ADDR, PACKET_ID_VALIDATOR, SERVER_PORT, }; @@ -13,29 +14,27 @@ use satrs::{ hal::std::{tcp_server::ServerConfig, udp_server::UdpTcServer}, tmtc::CcsdsDistributor, }; -use ops_sat_rs::config::tasks::FREQ_MS_PUS_STACK; -use crate::{ - ccsds::CcsdsReceiver, - logger::setup_logger, - interface::tcp::{SyncTcpTmSource, TcpTask}, - tmtc::PusTcSourceProviderDynamic, - interface::udp::{DynamicUdpTmHandler, UdpTmtcServer}, -}; -use crate::pus::{PusReceiver, PusTcMpscRouter}; use crate::pus::stack::PusStack; use crate::pus::test::create_test_service_dynamic; -use crate::requests::GenericRequestRouter; +use crate::pus::{PusReceiver, PusTcMpscRouter}; use crate::tm_funnel::TmFunnelDynamic; use crate::tmtc::TcSourceTaskDynamic; +use crate::{ + ccsds::CcsdsReceiver, + interface::tcp::{SyncTcpTmSource, TcpTask}, + interface::udp::{DynamicUdpTmHandler, UdpTmtcServer}, + logger::setup_logger, + tmtc::PusTcSourceProviderDynamic, +}; mod ccsds; -mod logger; -mod tmtc; -mod requests; -mod pus; -mod tm_funnel; mod interface; +mod logger; +mod pus; +mod requests; +mod tm_funnel; +mod tmtc; #[allow(dead_code)] fn main() { @@ -136,7 +135,7 @@ fn main() { tcp_ccsds_distributor, PACKET_ID_VALIDATOR.clone(), ) - .expect("tcp server creation failed"); + .expect("tcp server creation failed"); let mut tm_funnel = TmFunnelDynamic::new(sync_tm_tcp_source, tm_funnel_rx, tm_server_tx); @@ -193,4 +192,4 @@ fn main() { jh_pus_handler .join() .expect("Joining PUS handler thread failed"); -} \ No newline at end of file +} diff --git a/src/pus/mod.rs b/src/pus/mod.rs index d32629d..62deb27 100644 --- a/src/pus/mod.rs +++ b/src/pus/mod.rs @@ -1,8 +1,12 @@ -pub mod test; pub mod stack; +pub mod test; use crate::requests::GenericRequestRouter; +use crate::tmtc::MpscStoreAndSendError; use log::warn; +use ops_sat_rs::config::components::PUS_ROUTING_SERVICE; +use ops_sat_rs::config::{tmtc_err, CustomPusServiceId}; +use ops_sat_rs::TimeStampHelper; use satrs::pus::verification::{ self, FailParams, TcStateAccepted, TcStateStarted, VerificationReporter, VerificationReporterCfg, VerificationReportingProvider, VerificationToken, @@ -18,12 +22,8 @@ use satrs::request::{Apid, GenericMessage, MessageMetadata}; use satrs::spacepackets::ecss::tc::PusTcReader; use satrs::spacepackets::ecss::PusServiceId; use satrs::ComponentId; -use ops_sat_rs::config::{tmtc_err, CustomPusServiceId}; -use ops_sat_rs::TimeStampHelper; use std::fmt::Debug; use std::sync::mpsc::{self, Sender}; -use ops_sat_rs::config::components::PUS_ROUTING_SERVICE; -use crate::tmtc::MpscStoreAndSendError; // pub mod action; // pub mod event; @@ -34,6 +34,7 @@ use crate::tmtc::MpscStoreAndSendError; // pub mod test; #[derive(Debug, PartialEq, Eq, Copy, Clone)] +#[allow(dead_code)] pub enum HandlingStatus { Empty, HandledOne, @@ -185,6 +186,7 @@ pub trait TargetedPusService { /// 1. [Self::handle_one_tc] which tries to poll and handle one TC packet, covering steps 1-5. /// 2. [Self::check_one_reply] which tries to poll and handle one reply, covering step 6. /// 3. [Self::check_for_request_timeouts] which checks for request timeouts, covering step 7. +#[allow(dead_code)] pub struct PusTargetedRequestService< TcReceiver: EcssTcReceiverCore, TmSender: EcssTmSenderCore, @@ -207,6 +209,7 @@ pub struct PusTargetedRequestService< phantom: std::marker::PhantomData<(RequestType, ActiveRequestInfo, ReplyType)>, } +#[allow(dead_code)] impl< TcReceiver: EcssTcReceiverCore, TmSender: EcssTmSenderCore, @@ -437,6 +440,7 @@ where /// Generic timeout handling: Handle the verification failure with a dedicated return code /// and also log the error. +#[allow(dead_code)] pub fn generic_pus_request_timeout_handler( sender: &(impl EcssTmSenderCore + ?Sized), active_request: &(impl ActiveRequestProvider + Debug), diff --git a/src/pus/stack.rs b/src/pus/stack.rs index acb6000..f5aa1c1 100644 --- a/src/pus/stack.rs +++ b/src/pus/stack.rs @@ -1,11 +1,11 @@ // use crate::pus::mode::ModeServiceWrapper; +use crate::pus::test::TestCustomServiceWrapper; +use crate::pus::HandlingStatus; use derive_new::new; use satrs::{ pus::{EcssTcInMemConverter, EcssTmSenderCore}, spacepackets::time::{cds, TimeWriter}, }; -use crate::pus::HandlingStatus; -use crate::pus::test::TestCustomServiceWrapper; // use super::{ // action::ActionServiceWrapper, event::EventServiceWrapper, hk::HkServiceWrapper, diff --git a/src/pus/test.rs b/src/pus/test.rs index 9c8047f..ec63005 100644 --- a/src/pus/test.rs +++ b/src/pus/test.rs @@ -1,29 +1,25 @@ use crate::pus::create_verification_reporter; use log::{info, warn}; -use satrs::event_man::{EventMessage, EventMessageU32}; -use satrs::pool::SharedStaticMemoryPool; +use ops_sat_rs::config::components::PUS_TEST_SERVICE; +use ops_sat_rs::config::tmtc_err; +// use satrs::event_man::{EventMessage, EventMessageU32}; use satrs::pus::test::PusService17TestHandler; use satrs::pus::verification::{FailParams, VerificationReporter, VerificationReportingProvider}; -use satrs::pus::EcssTcInSharedStoreConverter; use satrs::pus::{ EcssTcAndToken, EcssTcInMemConverter, EcssTcInVecConverter, EcssTmSenderCore, MpscTcReceiver, - MpscTmAsVecSender, MpscTmInSharedPoolSenderBounded, PusPacketHandlerResult, PusServiceHelper, - PusTmAsVec, PusTmInPool, TmInSharedPoolSender, + MpscTmAsVecSender, PusPacketHandlerResult, PusServiceHelper, PusTmAsVec, }; use satrs::spacepackets::ecss::tc::PusTcReader; use satrs::spacepackets::ecss::PusPacket; use satrs::spacepackets::time::cds::CdsTime; use satrs::spacepackets::time::TimeWriter; use std::sync::mpsc; -use std::sync::mpsc::Sender; -use ops_sat_rs::config::components::PUS_TEST_SERVICE; -use ops_sat_rs::config::tmtc_err; pub fn create_test_service_dynamic( tm_funnel_tx: mpsc::Sender, // event_sender: mpsc::Sender, pus_test_rx: mpsc::Receiver, -) -> TestCustomServiceWrapper, EcssTcInVecConverter> { +) -> TestCustomServiceWrapper { let pus17_handler = PusService17TestHandler::new(PusServiceHelper::new( PUS_TEST_SERVICE.id(), pus_test_rx, diff --git a/src/requests.rs b/src/requests.rs index 2fc0824..90ed366 100644 --- a/src/requests.rs +++ b/src/requests.rs @@ -2,6 +2,8 @@ use std::collections::HashMap; use std::sync::mpsc; use log::warn; +use ops_sat_rs::config::components::PUS_ROUTING_SERVICE; +use ops_sat_rs::config::tmtc_err; use satrs::action::ActionRequest; use satrs::hk::HkRequest; use satrs::mode::ModeRequest; @@ -14,8 +16,6 @@ use satrs::request::{GenericMessage, MessageMetadata, UniqueApidTargetId}; use satrs::spacepackets::ecss::tc::PusTcReader; use satrs::spacepackets::ecss::PusPacket; use satrs::ComponentId; -use ops_sat_rs::config::components::PUS_ROUTING_SERVICE; -use ops_sat_rs::config::tmtc_err; #[derive(Clone, Debug)] #[non_exhaustive] @@ -41,6 +41,8 @@ impl Default for GenericRequestRouter { } } } + +#[allow(dead_code)] impl GenericRequestRouter { pub(crate) fn handle_error_generic( &self, diff --git a/src/tm_funnel.rs b/src/tm_funnel.rs index f81d6bf..20c9d91 100644 --- a/src/tm_funnel.rs +++ b/src/tm_funnel.rs @@ -4,16 +4,14 @@ use std::{ }; use log::info; -use satrs::pus::{PusTmAsVec, PusTmInPool}; +use satrs::pus::PusTmAsVec; use satrs::{ - pool::PoolProvider, seq_count::{CcsdsSimpleSeqCountProvider, SequenceCountProviderCore}, spacepackets::{ ecss::{tm::PusTmZeroCopyWriter, PusPacket}, time::cds::MIN_CDS_FIELD_LEN, CcsdsPacket, }, - tmtc::tm_helper::SharedTmPool, }; use crate::interface::tcp::SyncTcpTmSource; @@ -22,6 +20,7 @@ use crate::interface::tcp::SyncTcpTmSource; pub struct CcsdsSeqCounterMap { apid_seq_counter_map: HashMap, } + impl CcsdsSeqCounterMap { pub fn get_and_increment(&mut self, apid: u16) -> u16 { self.apid_seq_counter_map @@ -75,53 +74,6 @@ impl TmFunnelCommon { } } -pub struct TmFunnelStatic { - common: TmFunnelCommon, - shared_tm_store: SharedTmPool, - tm_funnel_rx: mpsc::Receiver, - tm_server_tx: mpsc::SyncSender, -} - -impl TmFunnelStatic { - pub fn new( - shared_tm_store: SharedTmPool, - sync_tm_tcp_source: SyncTcpTmSource, - tm_funnel_rx: mpsc::Receiver, - tm_server_tx: mpsc::SyncSender, - ) -> Self { - Self { - common: TmFunnelCommon::new(sync_tm_tcp_source), - shared_tm_store, - tm_funnel_rx, - tm_server_tx, - } - } - - pub fn operation(&mut self) { - if let Ok(pus_tm_in_pool) = self.tm_funnel_rx.recv() { - // Read the TM, set sequence counter and message counter, and finally update - // the CRC. - let shared_pool = self.shared_tm_store.clone_backing_pool(); - let mut pool_guard = shared_pool.write().expect("Locking TM pool failed"); - let mut tm_copy = Vec::new(); - pool_guard - .modify(&pus_tm_in_pool.store_addr, |buf| { - let zero_copy_writer = PusTmZeroCopyWriter::new(buf, MIN_CDS_FIELD_LEN) - .expect("Creating TM zero copy writer failed"); - self.common.apply_packet_processing(zero_copy_writer); - tm_copy = buf.to_vec() - }) - .expect("Reading TM from pool failed"); - self.tm_server_tx - .send(pus_tm_in_pool) - .expect("Sending TM to server failed"); - // We could also do this step in the update closure, but I'd rather avoid this, could - // lead to nested locking. - self.common.sync_tm_tcp_source.add_tm(&tm_copy); - } - } -} - pub struct TmFunnelDynamic { common: TmFunnelCommon, tm_funnel_rx: mpsc::Receiver, diff --git a/src/tmtc.rs b/src/tmtc.rs index b9f1809..85eb5e6 100644 --- a/src/tmtc.rs +++ b/src/tmtc.rs @@ -1,13 +1,13 @@ +use crate::pus::PusReceiver; +use satrs::pool::{StoreAddr, StoreError}; +use satrs::pus::{EcssTcAndToken, MpscTmAsVecSender}; +use satrs::spacepackets::ecss::PusPacket; use satrs::{ pus::ReceivesEcssPusTc, spacepackets::{ecss::tc::PusTcReader, SpHeader}, tmtc::ReceivesCcsdsTc, }; use std::sync::mpsc::{self, SendError, Sender, TryRecvError}; -use satrs::pool::{StoreAddr, StoreError}; -use satrs::pus::{EcssTcAndToken, MpscTmAsVecSender}; -use satrs::spacepackets::ecss::PusPacket; -use crate::pus::PusReceiver; use thiserror::Error; #[derive(Debug, Clone, PartialEq, Eq, Error)] From c415755d502073ab126a8e15fa0060564ecb5692 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 13:54:34 +0200 Subject: [PATCH 2/9] enable test feature --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5ed661d..3ea750e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ num_enum = "0.7" version = "0.2.0-rc.0" git = "https://egit.irs.uni-stuttgart.de/rust/sat-rs.git" branch = "main" -feature = ["test_util"] +features = ["test_util"] [dependencies.satrs-mib] version = "0.1.1" From 08432233cf7341c8bbdf697cc32896bceb988aa6 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 13:56:18 +0200 Subject: [PATCH 3/9] bbetter name for pyclient --- {ops-sat-rs-tmtc => pytmtc}/.gitignore | 0 {ops-sat-rs-tmtc => pytmtc}/common.py | 0 {ops-sat-rs-tmtc => pytmtc}/main.py | 0 {ops-sat-rs-tmtc => pytmtc}/pus_tc.py | 0 {ops-sat-rs-tmtc => pytmtc}/pus_tm.py | 0 {ops-sat-rs-tmtc => pytmtc}/requirements.txt | 0 {ops-sat-rs-tmtc => pytmtc}/tc_definitions.py | 0 {ops-sat-rs-tmtc => pytmtc}/tmtc_conf.json | 0 8 files changed, 0 insertions(+), 0 deletions(-) rename {ops-sat-rs-tmtc => pytmtc}/.gitignore (100%) rename {ops-sat-rs-tmtc => pytmtc}/common.py (100%) rename {ops-sat-rs-tmtc => pytmtc}/main.py (100%) mode change 100644 => 100755 rename {ops-sat-rs-tmtc => pytmtc}/pus_tc.py (100%) rename {ops-sat-rs-tmtc => pytmtc}/pus_tm.py (100%) rename {ops-sat-rs-tmtc => pytmtc}/requirements.txt (100%) rename {ops-sat-rs-tmtc => pytmtc}/tc_definitions.py (100%) rename {ops-sat-rs-tmtc => pytmtc}/tmtc_conf.json (100%) diff --git a/ops-sat-rs-tmtc/.gitignore b/pytmtc/.gitignore similarity index 100% rename from ops-sat-rs-tmtc/.gitignore rename to pytmtc/.gitignore diff --git a/ops-sat-rs-tmtc/common.py b/pytmtc/common.py similarity index 100% rename from ops-sat-rs-tmtc/common.py rename to pytmtc/common.py diff --git a/ops-sat-rs-tmtc/main.py b/pytmtc/main.py old mode 100644 new mode 100755 similarity index 100% rename from ops-sat-rs-tmtc/main.py rename to pytmtc/main.py diff --git a/ops-sat-rs-tmtc/pus_tc.py b/pytmtc/pus_tc.py similarity index 100% rename from ops-sat-rs-tmtc/pus_tc.py rename to pytmtc/pus_tc.py diff --git a/ops-sat-rs-tmtc/pus_tm.py b/pytmtc/pus_tm.py similarity index 100% rename from ops-sat-rs-tmtc/pus_tm.py rename to pytmtc/pus_tm.py diff --git a/ops-sat-rs-tmtc/requirements.txt b/pytmtc/requirements.txt similarity index 100% rename from ops-sat-rs-tmtc/requirements.txt rename to pytmtc/requirements.txt diff --git a/ops-sat-rs-tmtc/tc_definitions.py b/pytmtc/tc_definitions.py similarity index 100% rename from ops-sat-rs-tmtc/tc_definitions.py rename to pytmtc/tc_definitions.py diff --git a/ops-sat-rs-tmtc/tmtc_conf.json b/pytmtc/tmtc_conf.json similarity index 100% rename from ops-sat-rs-tmtc/tmtc_conf.json rename to pytmtc/tmtc_conf.json From a90f48f646b01328e6fea066af6a365b92145165 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 14:24:51 +0200 Subject: [PATCH 4/9] additional note on cross --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 511b99a..d729f00 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,10 @@ This is the primary repository for the ESA OPS-SAT experiment. ## Build +You might need to set the [`CROSS_CONTAINER_ENGINE`](https://github.com/cross-rs/cross/wiki/FAQ#explicitly-choose-the-container-engine) +and [`CROSS_ROOTLESS_CONTAINER_ENGINE`](https://github.com/cross-rs/cross/blob/main/docs/environment_variables.md#configuring-cross-with-environment-variables) +variables manually before calling cross. + ```sh cross build ``` From 805abb7b90cf530462daf5738cbbdec101a48638 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 14:25:51 +0200 Subject: [PATCH 5/9] small typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d729f00..2520fce 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This is the primary repository for the ESA OPS-SAT experiment. ## Pre-Requisites -- Containerization provider like [docker](https://www.docker.com/)or +- Containerization provider like [docker](https://www.docker.com/) or [podman](https://podman.io/) installed - [`cross`](https://github.com/cross-rs/cross) package installed From 3d916aa30705422edf853c6bae581aa52c0d7fc0 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 14:46:42 +0200 Subject: [PATCH 6/9] add link for SW integration process --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2520fce..aadd4c8 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ The [wiki](https://opssat1.esoc.esa.int/projects/experimenter-information/wiki) appears to be a useful source for documentation. - [OBSW documents](https://opssat1.esoc.esa.int/projects/experimenter-information/dmsf?folder_id=7) +- [Software Integration Process](https://opssat1.esoc.esa.int/dmsf/files/34/view) - [Cross-compiling SEPP](https://opssat1.esoc.esa.int/projects/experimenter-information/wiki/Cross-compiling_SEPP_application) - [TMTC infrastructure](https://opssat1.esoc.esa.int/projects/experimenter-information/wiki/Live_TM_TC_data) - [Submitting an Experiment](https://opssat1.esoc.esa.int/projects/experimenter-information/wiki/Building_and_submitting_your_application_to_ESOC) From ddf470f36719db6572870285eb2d4243a8b9d882 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 15:25:10 +0200 Subject: [PATCH 7/9] first test version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3ea750e..5a74807 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ops-sat-rs" -version = "0.1.0" +version = "0.0.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From 526739fd9c8a8514d4932c7d018baa45f87e5543 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 15:40:23 +0200 Subject: [PATCH 8/9] update cargo.lock file --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 8eede90..05ceabe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -371,7 +371,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "ops-sat-rs" -version = "0.1.0" +version = "0.0.1" dependencies = [ "chrono", "derive-new", From 2480ee6e063c7972a9ff17001afaaabebb07c55e Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 9 Apr 2024 15:59:22 +0200 Subject: [PATCH 9/9] README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index aadd4c8..c0b42a6 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,18 @@ You might need to set the [`CROSS_CONTAINER_ENGINE`](https://github.com/cross-rs and [`CROSS_ROOTLESS_CONTAINER_ENGINE`](https://github.com/cross-rs/cross/blob/main/docs/environment_variables.md#configuring-cross-with-environment-variables) variables manually before calling cross. +### Debug Build + ```sh cross build ``` +### Release Build + +```sh +cross build --release +``` + ## Documentation The [wiki](https://opssat1.esoc.esa.int/projects/experimenter-information/wiki)