Skip to content

boards: nordic: nrf7002dk: Add SPI nrfutil config #2694

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

Merged
merged 7 commits into from
Apr 1, 2025

Conversation

ArekBalysNordic
Copy link
Contributor

Reverted conflicted [nrf noup] commit, cherry-picked required commits from Upstream, and get back the reverted [nrf noup] with aligned changes.

@ArekBalysNordic ArekBalysNordic force-pushed the nrf7002dk_spi_config branch 2 times, most recently from 3799c3a to 6ba9335 Compare April 1, 2025 13:47
Fixes some oddities with CMake code

Signed-off-by: Jamie McCrae <[email protected]>
(cherry picked from commit 4fa91b5)
carlescufi and others added 5 commits April 1, 2025 15:52
…rnal memory

Both backends supported as runners for nRF ICs, nrfjprog and nrfutil,
support erasing external memory as part of the programming operation.
Before this patch, and when the firmware was detected to be partially or
fully placed in external flash by inspecting the .hex address range, the
runner would instruct the backend tool to fully erase the external
flash (but the nrfjprog runner would ignore that, always erasing only
the sectors required). Instead, correctly default to erasing only the
sectors that are required to program the new firmware image in both tools,
and erase it completely only when the --erase flag is provided by the user.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit f20168f)
…onfig param

This acts in a similar way to nrfjprog's --qspiini parameter introduced
in 7eb364b, but works slightly differently in nrfutil: it requires a
config file in JSON format instead of .ini, and it is passed along to
the `execute-batch` command instead of providing it together with the
`program` command.

Signed-off-by: Carles Cufi <[email protected]>
(cherry picked from commit 2effae5)
Adds a configuration file which is used with nrfutil to allow
programming the SPI flash on the device

Upstream PR #: 86985

Signed-off-by: Jamie McCrae <[email protected]>
Adds a configuration file which is used with nrfutil to allow
programming QSPI on the device

Upstream PR #: 86985

Signed-off-by: Jamie McCrae <[email protected]>
Non-secure variants for nRF7002 DK were removed from upstream
in commit 10d4973. Revert these
changes downstream, so that the NS variants are still available.

Signed-off-by: Andrzej Głąbek <[email protected]>
Copy link

sonarqubecloud bot commented Apr 1, 2025

@nordicjm nordicjm merged commit 9ec6585 into nrfconnect:main Apr 1, 2025
34 checks passed
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.

5 participants