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

nrf54l15bsim: Add RRAM #72884

Merged
merged 4 commits into from
May 22, 2024
Merged

Conversation

aescolar
Copy link
Member

@aescolar aescolar commented May 16, 2024

Add support for the RRAM in the simulated nRF54L15:

  • manifest: Update nRF hw models to latest
  • drivers/flash/ nrf RRAM: Support simulated targets
  • boards nrf54l15bsim: Update docs with RRAMC, FICR and UICR mention
  • boards nrf54l15bsim: Enable RRAMC and add storage partition

Note: The RRAMC models are very simple, and too forgiving to be of much use for testing the RRAM driver itself.
The aim is to enable the Zephyr "flash" RRAM driver to run as in the real HW, so all functionality that depends on it can be used.

@aescolar aescolar requested review from anangl and de-nordic May 16, 2024 14:11
@zephyrbot
Copy link
Collaborator

zephyrbot commented May 16, 2024

The following west manifest projects have been modified in this Pull Request:

Name Old Revision New Revision Diff
nrf_hw_models zephyrproject-rtos/nrf_hw_models@5d63805 zephyrproject-rtos/nrf_hw_models@36b1271 (main) zephyrproject-rtos/nrf_hw_models@5d638052..36b12714

Note: This message is automatically posted and updated by the Manifest GitHub Action.

Update the HW models module to:
36b12714a5ed32450d907c89bb118f6280da3483

Including the following:
 * 36b1271 54L15: Added RRAMC, RRAM & UICR
 * b60af23 FICR 54L: Added first version

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
In simulated targets the RRAM is not allocated
starting at address 0x0, but on an area allocated
at runtime.
Let's support this, to enable running the
real RRAM driver for simulated targets.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
The RRAMC is now supported by the HW models.
Let's enable the RRAM controller, and
add a storage partition definition which
tests and samples can use by default.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This board HW models now include the RRAMC, FICR and UICR.
Let's update the docs accordingly.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
@aescolar aescolar marked this pull request as ready for review May 16, 2024 14:23
@zephyrbot zephyrbot added area: Flash platform: nRF BSIM Nordic Semiconductors, nRF BabbleSim platform: nRF Nordic nRFx labels May 16, 2024
@dleach02 dleach02 merged commit cb7f20f into zephyrproject-rtos:main May 22, 2024
30 checks passed
@aescolar aescolar deleted the nrf54l15bsim_part2 branch May 23, 2024 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants