Skip to content

CAN Tx queue uses more RAM than necessary #4

@jschall

Description

@jschall

sizeof(struct can_tx_frame_s) is currently around 32 bytes. Reducing this will save significant amounts of RAM. A few ways:

  • packed storage
  • 16-bit milliseconds for creation time and timeout.
  • 8-bit or 16-bit array index for the next pointer rather than a full 32-bit pointer
  • split into 2 types: one that carries a payload, and one that carries ID and metadata.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions