Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: store transmit messages in memory pool #13

Open
4 tasks
t-bre opened this issue Feb 11, 2023 · 0 comments
Open
4 tasks

feat: store transmit messages in memory pool #13

t-bre opened this issue Feb 11, 2023 · 0 comments
Labels
feature New feature or request

Comments

@t-bre
Copy link
Member

t-bre commented Feb 11, 2023

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.
@t-bre t-bre added the feature New feature or request label Feb 11, 2023
@t-bre t-bre added this to the STAG 9 milestone Feb 11, 2023
@Avdieienko Avdieienko removed this from the STAG 9 milestone Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants