Skip to content

feat: store transmit messages in memory pool #13

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions