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

nrf53_bsim: Get IPC shared memory buffer size from DT #64320

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

aescolar
Copy link
Member

Before we were defining the buffer in the runner context which is simpler and less error prone, but it had a hardcoded size decoupled from DT as it could not be based on DT information.
Instead, let's allocate the buffer in the application core image. This allows us to size it based on the device tree configuration.
Note that this then requires the application core image to be present during link time of the final executable when the IPC subsystem is used.

@aescolar aescolar marked this pull request as ready for review October 24, 2023 14:14
@zephyrbot zephyrbot added the platform: nRF BSIM Nordic Semiconductors, nRF BabbleSim label Oct 24, 2023
kruithofa
kruithofa previously approved these changes Oct 24, 2023
boards/posix/nrf_bsim/Kconfig.defconfig Outdated Show resolved Hide resolved
Before we were defining the buffer in the runner context
which is simpler and less error prone, but it had a hardcoded
size decoupled from DT as it could not be based on DT
information.
Instead, let's allocate the buffer in the application core
image. This allows us to size it based on the device tree
configuration.
Note that this then requires the application core image
to be present during link time of the final executable
when the IPC subsystem is used.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
@jhedberg jhedberg merged commit 3f1eed1 into zephyrproject-rtos:main Oct 25, 2023
16 checks passed
@aescolar aescolar deleted the ipc_backend branch October 25, 2023 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: nRF BSIM Nordic Semiconductors, nRF BabbleSim
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants