some minor fixes and tweaks

This commit is contained in:
Robin Müller 2023-07-06 01:24:40 +02:00
parent 4485ed2669
commit 32cbbb1c19
Signed by: muellerr
GPG Key ID: A649FB78196E3849
3 changed files with 4 additions and 3 deletions

View File

@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `GenericUnsignedByteField<TYPE>` and helper typedefs `UnsignedU8`, `UnsignedU16`, `UnsignedU32` - `GenericUnsignedByteField<TYPE>` and helper typedefs `UnsignedU8`, `UnsignedU16`, `UnsignedU32`
and `UnsignedU64` as helper types implementing `UnsignedEnum` and `UnsignedU64` as helper types implementing `UnsignedEnum`
- `UnsignedByteField` as a type-erased helper. - `UnsignedByteField` as a type-erased helper.
- Initial CFDP support: Added PDU packet implementation.
- Added `SerializablePusPacket` as a generic abstraction for PUS packets which are - Added `SerializablePusPacket` as a generic abstraction for PUS packets which are
writable. writable.
- Added new `PusTmZeroCopyWriter` class which allows to set fields on a raw TM packet, - Added new `PusTmZeroCopyWriter` class which allows to set fields on a raw TM packet,
@ -26,7 +27,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## Changed ## Changed
- The `EcssEnumeration` now requires the `UnsignedEnum` trait and only adds the `pfc` method to it. - The `EcssEnumeration` now requires the `UnsignedEnum` trait and only adds the `pfc` method to it.
- Renamed `byte_width` usages to `len` (part of new `UnsignedEnum` trait) - Renamed `byte_width` usages to `size` (part of new `UnsignedEnum` trait)
- Moved `ecss::CRC_CCITT_FALSE` CRC constant to the root module. This CRC type is not just used by - Moved `ecss::CRC_CCITT_FALSE` CRC constant to the root module. This CRC type is not just used by
the PUS standard, but by the CCSDS Telecommand standard and the CFDP standard as well. the PUS standard, but by the CCSDS Telecommand standard and the CFDP standard as well.

View File

@ -36,7 +36,7 @@ version = "0.2"
default-features = false default-features = false
[dev-dependencies.postcard] [dev-dependencies.postcard]
version = "1.0" version = "1"
[features] [features]
default = ["std"] default = ["std"]

View File

@ -806,7 +806,7 @@ mod tests {
.expect("Creating zero copy writer failed"); .expect("Creating zero copy writer failed");
writer.set_destination_id(55); writer.set_destination_id(55);
writer.set_msg_count(100); writer.set_msg_count(100);
writer.set_seq_count_in_place(MAX_SEQ_COUNT); writer.set_seq_count(MAX_SEQ_COUNT);
writer.set_apid(MAX_APID); writer.set_apid(MAX_APID);
writer.finish(); writer.finish();
// This performs all necessary checks, including the CRC check. // This performs all necessary checks, including the CRC check.