-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
applications: sdp: no copy IPC #20116
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 2b451a88b3ee9a0bf374d32c2c5811b55d723976 more detailssdk-nrf:
Github labels
List of changed files detected by CI (3)
Outputs:ToolchainVersion: 342151af73 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR at this link. Note: This comment is automatically posted by the Documentation Publish GitHub Action. |
bdeae8e
to
5d6c142
Compare
f2fd5ad
to
eccb841
Compare
523a617
to
b291381
Compare
b291381
to
a7fe983
Compare
49831df
to
70129c7
Compare
7236e5b
to
7de3108
Compare
6400384
to
39ef739
Compare
Implemented option to pass data between cores through IPC by reference. Signed-off-by: Michal Frankiewicz <[email protected]>
Implemented option to pass data between cores through IPC by reference. Signed-off-by: Michal Frankiewicz <[email protected]>
39ef739
to
2b451a8
Compare
if (rc < 0) { | ||
LOG_ERR("Packet transfer error: %d", rc); | ||
#ifdef CONFIG_MSPI_NRFE_IPC_NO_COPY | ||
/* Check for alignlemt problems. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* Check for alignlemt problems. */ | |
/* Check for alignment problems. */ |
Also, please add explanation why this is needed.
uint32_t len = sizeof(nrfe_mspi_xfer_packet_msg_t) + packet->num_bytes; | ||
#endif | ||
uint8_t buffer[len]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This buffer should be word aligned.
Also, it really should not be a local variable length array, but that can be fixed separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments will be addressed in a separate PR.
Requires #20276