Skip to content

feat: store transmit messages in memory pool #13

@t-bre

Description

@t-bre

Description

Received messages are currently stored in a block pool, whereas transmit messages are copied around (into queue, out of queue, to CAN FIFO). Transmit messages could also be put into the block pool to reduce copying.

Requirements

  • Add rtcan_msg_alloc() function to allocate memory for a message.
  • Replace existing message creations with rtcan_msg_alloc().
  • Pass pointers to created message through transmit queue.
  • Free messages after transmission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    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