Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several updates to the
Cargo.toml
files and various Rust source files to improve dependency management and refactor the codebase. The most important changes involve switching dependencies to use Git repositories, refactoring sensor data handling, and adding real-time clock (RTC) integration for message timestamps.Dependency Management:
Cargo.toml
: Switchedstm32h7xx-hal
andchrono
dependencies to use Git repositories instead of specific versions. [1] [2]Code Refactoring:
boards/pressure/src/data_manager.rs
,boards/strain/src/data_manager.rs
,boards/temperature/src/data_manager.rs
: Refactored sensor data handling to useSbgData
enum variants instead ofSensorData
directly.boards/pressure/src/main.rs
,boards/strain/src/main.rs
,boards/temperature/src/main.rs
: Added RTC integration for generating timestamps in messages. [1] [2] [3] [4] [5] [6]Code Cleanup:
boards/pressure/src/main.rs
,boards/strain/src/main.rs
,boards/temperature/src/main.rs
: Removed unused imports to clean up the codebase.Identifier Updates:
boards/pressure/src/types.rs
,boards/strain/src/types.rs
: ChangedCOM_ID
fromSender
toNode
to reflect the new naming convention. [1] [2]