Skip to content

[nrf fromlist] tests/flash_map: Allow custom maps to opt out from some scenarios #2908

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

de-nordic
Copy link
Contributor

@de-nordic de-nordic commented May 23, 2025

The commit modifies the Flash Map test, providing Kconfigs that
allow to opt out from testing disabled partitions and testing
DTS node access.

Upstream PR #: 90678

Comment on lines 26 to 29
/* Partition Manager does not have concept of disabled devices
* and so does not generate entries for them, into flash map.
*/
#if USE_PARTITION_MANAGER == 0
Copy link
Contributor

Choose a reason for hiding this comment

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

this is very yucky, I really don't think we should be adding noups for things like this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How do you propose fixing this? Make this part optional in upstream?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I was able to weasel out of this with Kconfigs that automatically get disabled for us due to usage of custom flash map.

@de-nordic de-nordic force-pushed the pm-flash-map-fixes branch 2 times, most recently from 4f831a6 to 8209ab1 Compare May 27, 2025 14:07
@de-nordic de-nordic changed the title [nrf noup] tests/flash_map: Amend for Partition Manager [nrf fromlist] tests/flash_map: Allow custom maps to opt out from some scenarios May 27, 2025
@de-nordic de-nordic requested review from nordicjm, a team and rghaddab May 28, 2025 09:08
…e scenarios

The commit modifies the Flash Map test, providing Kconfigs that
allow to opt out from testing disabled partitions and testing
DTS node access.

Upstream PR #: 90678

Signed-off-by: Dominik Ermel <[email protected]>
@de-nordic de-nordic force-pushed the pm-flash-map-fixes branch from 8209ab1 to bcf942d Compare May 30, 2025 18:26
Copy link

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.

3 participants