Skip to content

[13.0] CRC cleanup. #16174

@cederom

Description

@cederom

Is your feature request related to a problem? Please describe.

  • Current CRC implementation in NuttX in some areas is not compatible with other platforms (i.e. Linux).
  • There various CRC16 and CRC32 algorithms out there, while there is no one common standard.
  • CRC changes impacts various storage, transmission, etc, and may impact self-compatibility.

Describe the solution you'd like

  • We need to provide implementations for other commonly used CRC.
  • We need explicit implementation of various CRC with clearly distinguishable function name or parameters.
  • In order to maintain backward-compatibility any change in defaults may happen in next major release (13.0).
  • Core crc defaults should stay untouched.
  • Where necessary and possible some components crc implementation may change in order to improve compatibility with other platforms.
  • User code may choose what CRC implementation to use, but core components should not allow KConfig like CRC algo selection as this will impact NuttX self-compatibility.

Describe alternatives you've considered

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Task.

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions