Skip to content

Conversation

JordanYates
Copy link
Contributor

Make the RPC server thread priority configurable, and drop the priority back by default. The previous priority of 0 was high enough to interfere with normal device operations.

MBEDTLS_MAC_CMAC_ENABLED no longer needs to be defined for the nRF drivers to compile.

Fix a string truncation warning with certain compiler options. We don't
care if the complete thread name is truncated, we only need the first
few characters to identify the thread, and we need a constant sized
storage array regardless.

Signed-off-by: Jordan Yates <[email protected]>
Disable the limit on queued TX packets so that packets are not
arbitrarily dropped under high system load.

Signed-off-by: Jordan Yates <[email protected]>
`MBEDTLS_MAC_CMAC_ENABLED` no longer needs to be defined for the nRF
drivers to compile.

Signed-off-by: Jordan Yates <[email protected]>
Make the RPC server thread priority configurable, and drop the priority
back by default. The previous priority of 0 was high enough to interfere
with normal device operations.

Signed-off-by: Jordan Yates <[email protected]>
Fix the truncation warning with pragmas. We don't require a trailing
NULL character in the RPC response, so potentially losing it in the
`strncpy` is fine.

Signed-off-by: Jordan Yates <[email protected]>
For nRF5340 based boards, the CPU frequency needs to be boosted from
64MHz to 128MHz for optimal throughput. This approximately doubles the
throughput.

Signed-off-by: Jordan Yates <[email protected]>
Optimize for speed in the zperf sample, since the throughput tends to
be CPU limited (at least for a nRF7002).

Signed-off-by: Jordan Yates <[email protected]>
Copy link

codecov bot commented Apr 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

Disable the QSPI low power mode to improve throughput.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates merged commit 38acff3 into main Apr 22, 2025
12 checks passed
@JordanYates JordanYates deleted the feature/misc branch April 22, 2025 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant