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

modules: hal_nordic: Add RRAM to NRFX_NVMC #69913

Closed
wants to merge 1 commit into from

Conversation

de-nordic
Copy link
Collaborator

Add missing dependency on nodric,rram-controller compatible.

Add missing dependency on nodric,rram-controller compatible.

Signed-off-by: Dominik Ermel <[email protected]>
@zephyrbot zephyrbot added Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. platform: nRF Nordic nRFx labels Mar 7, 2024
de-nordic added a commit to de-nordic/sdk-zephyr that referenced this pull request Mar 7, 2024
Add missing dependency on nodric,rram-controller compatible.

Upstream PR: zephyrproject-rtos/zephyr#69913

Signed-off-by: Dominik Ermel <[email protected]>
@@ -144,6 +144,7 @@ config NRFX_NVMC
depends on $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF51_FLASH_CONTROLLER)) \
|| $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF52_FLASH_CONTROLLER)) \
|| $(dt_has_compat,$(DT_COMPAT_NORDIC_NRF53_FLASH_CONTROLLER)) \
|| $(dt_has_compat,$(DT_COMPAT_NORDIC_RRAM_CONTROLLER)) \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is wrong. Devices with the RRAM controller should use the RRAMC driver (nrfx_rramc.c), not the NVMC one (nrfx_nvmc.c), so a new option for that driver should be added instead. Or am I missing something?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFIK settings of this option adds nrf_nvmc.c nrfx driver to the build.

@hubertmis hubertmis removed their request for review March 27, 2024 16:03
@de-nordic de-nordic closed this Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: nRF Nordic nRFx Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants